[arch-commits] Commit in gcr/repos/extra-x86_64 (10-gcr.conf PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Mar 8 00:37:35 UTC 2020


    Date: Sunday, March 8, 2020 @ 00:37:34
  Author: heftig
Revision: 376930

archrelease: copy trunk to extra-x86_64

Added:
  gcr/repos/extra-x86_64/PKGBUILD
    (from rev 376929, gcr/trunk/PKGBUILD)
Deleted:
  gcr/repos/extra-x86_64/10-gcr.conf
  gcr/repos/extra-x86_64/PKGBUILD

-------------+
 10-gcr.conf |    3 -
 PKGBUILD    |  108 ++++++++++++++++++++++++++--------------------------------
 2 files changed, 49 insertions(+), 62 deletions(-)

Deleted: 10-gcr.conf
===================================================================
--- 10-gcr.conf	2020-03-08 00:37:18 UTC (rev 376929)
+++ 10-gcr.conf	2020-03-08 00:37:34 UTC (rev 376930)
@@ -1,3 +0,0 @@
- at users - memlock 1024
-
-# vim:set ft=limits:

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-08 00:37:18 UTC (rev 376929)
+++ PKGBUILD	2020-03-08 00:37:34 UTC (rev 376930)
@@ -1,59 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=gcr
-pkgver=3.34.0
-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=(gtk3 libgcrypt p11-kit)
-makedepends=(gobject-introspection python vala libxslt git gtk-doc)
-_commit=33972369eecfd880f23392f58ae484ab6b2ef62a  # tags/3.34.0^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
-  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:

Copied: gcr/repos/extra-x86_64/PKGBUILD (from rev 376929, gcr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-08 00:37:34 UTC (rev 376930)
@@ -0,0 +1,49 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gcr
+pkgver=3.35.91+13+g9986760
+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=(gtk3 libgcrypt p11-kit)
+makedepends=(gobject-introspection vala libxslt git gtk-doc meson)
+provides=(libgck-1.so libgcr-{base,ui}-3.so)
+_commit=99867606a94963c3d3743c943674801435c0f7e1  # master
+backup=(etc/security/limits.d/10-gcr.conf)
+source=("git+https://gitlab.gnome.org/GNOME/gcr.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  # Secure memory tests fail
+  dbus-run-session meson test -C build --print-errorlogs || :
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+
+  # 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 -Dm644 /dev/stdin "$pkgdir/etc/security/limits.d/10-gcr.conf" <<END
+ at users - memlock 1024
+END
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list