Browse Source

git subrepo clone gitea@gitea.artixlinux.org:packagesG/gcr.git

subrepo:
  subdir:   "gcr"
  merged:   "0bcc4e2"
upstream:
  origin:   "gitea@gitea.artixlinux.org:packagesG/gcr.git"
  branch:   "master"
  commit:   "0bcc4e2"
git-subrepo:
  version:  "0.4.0"
  origin:   "???"
  commit:   "???"
master
artoo 3 years ago
parent
commit
71486adf5c
Signed by: artoo
GPG Key ID: 3292CD0BB0DB310B
  1. 5
      gcr/.artixlinux/agent.yaml
  2. 33
      gcr/.gitignore
  3. 12
      gcr/.gitrepo
  4. 3
      gcr/Jenkinsfile
  5. 2
      gcr/README.md
  6. 3
      gcr/repos/extra-x86_64/10-gcr.conf
  7. 62
      gcr/repos/extra-x86_64/PKGBUILD
  8. 3
      gcr/trunk/10-gcr.conf
  9. 62
      gcr/trunk/PKGBUILD

5
gcr/.artixlinux/agent.yaml

@ -0,0 +1,5 @@
%YAML 1.2
---
label: master

33
gcr/.gitignore vendored

@ -0,0 +1,33 @@
# ---> ArchLinuxPackages
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
# ---> Archives
*.7z
*.rar
*.gz
*.bzip
*.bz2
*.xz
*.lzma
*.cab
# ---> systemd
*.service
*.socket
*.timer
# ---> snap
*.snap

12
gcr/.gitrepo

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = gitea@gitea.artixlinux.org:packagesG/gcr.git
branch = master
commit = 0bcc4e206e28edd1b60c30e66829a5461738ab38
parent = 0826c6c1efb9f67665aa9720f793804c4b8acda2
method = merge
cmdver = 0.4.0

3
gcr/Jenkinsfile vendored

@ -0,0 +1,3 @@
@Library('artix-ci') import org.artixlinux.RepoPackage
PackagePipeline(new RepoPackage(this))

2
gcr/README.md

@ -0,0 +1,2 @@
# gcr

3
gcr/repos/extra-x86_64/10-gcr.conf

@ -0,0 +1,3 @@
@users - memlock 1024
# vim:set ft=limits:

62
gcr/repos/extra-x86_64/PKGBUILD

@ -0,0 +1,62 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgname=gcr
pkgver=3.28.1
pkgrel=1
pkgdesc="A library for bits of crypto UI and parsing"
url="https://gitlab.gnome.org/GNOME/gcr"
arch=(x86_64)
license=(GPL2)
depends=(dconf gtk3 libgcrypt p11-kit)
makedepends=(intltool gobject-introspection python vala libxslt git gtk-doc)
checkdepends=(python2)
_commit=3197d9e3711a946fca2efcb9059c7d5968254b90 # tags/3.28.1^0
source=("git+https://gitlab.gnome.org/GNOME/gcr.git#commit=$_commit"
10-gcr.conf)
sha256sums=('SKIP'
'5f2eda7175ae9f23ee0e09d2beceb24fd2f6daafd7bddfcc1c1f5a3734eb60fc')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
sed -i '1s/python$/&2/' build/tap-{driver,gtester}
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $pkgname
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib \
--enable-gtk-doc \
--disable-static \
--disable-update-mime \
--disable-schemas-compile
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd $pkgname
# Secure memory tests fail
dbus-run-session make -k check || :
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
# gcr wants to lock some memory to prevent swapping out private keys
# https://bugs.archlinux.org/task/32616
# https://bugzilla.gnome.org/show_bug.cgi?id=688161
install -Dt "$pkgdir/etc/security/limits.d" -m644 ../10-gcr.conf
}
# vim:set ts=2 sw=2 et:

3
gcr/trunk/10-gcr.conf

@ -0,0 +1,3 @@
@users - memlock 1024
# vim:set ft=limits:

62
gcr/trunk/PKGBUILD

@ -0,0 +1,62 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgname=gcr
pkgver=3.28.1
pkgrel=1
pkgdesc="A library for bits of crypto UI and parsing"
url="https://gitlab.gnome.org/GNOME/gcr"
arch=(x86_64)
license=(GPL2)
depends=(dconf gtk3 libgcrypt p11-kit)
makedepends=(intltool gobject-introspection python vala libxslt git gtk-doc)
checkdepends=(python2)
_commit=3197d9e3711a946fca2efcb9059c7d5968254b90 # tags/3.28.1^0
source=("git+https://gitlab.gnome.org/GNOME/gcr.git#commit=$_commit"
10-gcr.conf)
sha256sums=('SKIP'
'5f2eda7175ae9f23ee0e09d2beceb24fd2f6daafd7bddfcc1c1f5a3734eb60fc')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
sed -i '1s/python$/&2/' build/tap-{driver,gtester}
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $pkgname
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib \
--enable-gtk-doc \
--disable-static \
--disable-update-mime \
--disable-schemas-compile
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd $pkgname
# Secure memory tests fail
dbus-run-session make -k check || :
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
# gcr wants to lock some memory to prevent swapping out private keys
# https://bugs.archlinux.org/task/32616
# https://bugzilla.gnome.org/show_bug.cgi?id=688161
install -Dt "$pkgdir/etc/security/limits.d" -m644 ../10-gcr.conf
}
# vim:set ts=2 sw=2 et:
Loading…
Cancel
Save