[arch-commits] Commit in libsecret/repos (3 files)

Jan Steffens heftig at archlinux.org
Sat Oct 10 20:46:07 UTC 2020


    Date: Saturday, October 10, 2020 @ 20:46:07
  Author: heftig
Revision: 397938

archrelease: copy trunk to testing-x86_64

Added:
  libsecret/repos/testing-x86_64/
  libsecret/repos/testing-x86_64/PKGBUILD
    (from rev 397937, libsecret/trunk/PKGBUILD)
  libsecret/repos/testing-x86_64/fix-test.diff
    (from rev 397937, libsecret/trunk/fix-test.diff)

---------------+
 PKGBUILD      |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 fix-test.diff |   12 ++++++++++++
 2 files changed, 60 insertions(+)

Copied: libsecret/repos/testing-x86_64/PKGBUILD (from rev 397937, libsecret/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-10-10 20:46:07 UTC (rev 397938)
@@ -0,0 +1,48 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libsecret
+pkgver=0.20.4
+pkgrel=1
+pkgdesc="Library for storing and retrieving passwords and other secrets"
+url="https://wiki.gnome.org/Projects/Libsecret"
+arch=(x86_64)
+license=(LGPL)
+depends=(glib2 libgcrypt)
+checkdepends=(python-dbus dbus-glib python-gobject gjs)
+makedepends=(docbook-xsl gobject-introspection vala git gtk-doc meson valgrind)
+optdepends=('org.freedesktop.secrets: secret storage backend')
+provides=(libsecret-1.so)
+_commit=3fe635e64efd4b8dbc9ec3548b0bc8034c7665c4  # tags/0.20.4^0
+source=("git+https://gitlab.gnome.org/GNOME/libsecret.git#commit=$_commit"
+        fix-test.diff)
+sha256sums=('SKIP'
+            '760e40ffcd3383149d62f803a900b3af1a838fb084a8403e45d0764696dd2ffe')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  # Fix compiliation of test-vala-unstable
+  # https://gitlab.gnome.org/GNOME/libsecret/-/issues/54
+  git apply -3 ../fix-test.diff
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  dbus-run-session meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set sw=2 et:

Copied: libsecret/repos/testing-x86_64/fix-test.diff (from rev 397937, libsecret/trunk/fix-test.diff)
===================================================================
--- testing-x86_64/fix-test.diff	                        (rev 0)
+++ testing-x86_64/fix-test.diff	2020-10-10 20:46:07 UTC (rev 397938)
@@ -0,0 +1,12 @@
+diff --git i/libsecret/meson.build w/libsecret/meson.build
+index 0c448b9..c0138d2 100644
+--- i/libsecret/meson.build
++++ w/libsecret/meson.build
+@@ -185,6 +185,7 @@ pkg.generate(description: 'GObject bindings for Secret Service API (Unstable)',
+ test_cflags = [
+   libsecret_cflags,
+   '-DSRCDIR="@0@"'.format(meson.source_root()),
++  '-DSECRET_WITH_UNSTABLE',
+ ]
+ 
+ mock_service_lib = library('mock-service',



More information about the arch-commits mailing list