2020-01-06 09:01:41 +00:00
|
|
|
# Contributor: Luca Weiss <luca@z3ntu.xyz>
|
2018-09-02 23:29:38 +00:00
|
|
|
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
|
|
|
pkgname=libsignon-glib
|
|
|
|
pkgver=2.1
|
2020-01-06 09:01:41 +00:00
|
|
|
pkgrel=1
|
2018-09-02 23:29:38 +00:00
|
|
|
_spec_commit="67487954653006ebd0743188342df65342dc8f9b"
|
|
|
|
pkgdesc="GLib library to interface with the Signon Daemon"
|
|
|
|
url="https://gitlab.com/accounts-sso/libsignon-glib"
|
|
|
|
arch="x86_64"
|
2020-01-06 09:01:41 +00:00
|
|
|
license="LGPL-2.1-only"
|
2018-09-02 23:29:38 +00:00
|
|
|
makedepends="meson glib-dev check-dev gobject-introspection-dev vala py3-gobject3 gtk-doc"
|
|
|
|
subpackages="$pkgname-dev"
|
2020-01-06 09:01:41 +00:00
|
|
|
source="https://gitlab.com/accounts-sso/libsignon-glib/-/archive/VERSION_$pkgver/libsignon-glib-VERSION_$pkgver.tar.gz
|
2018-09-02 23:29:38 +00:00
|
|
|
https://gitlab.com/accounts-sso/signon-dbus-specification/-/archive/$_spec_commit/signon-dbus-specification-$_spec_commit.tar.gz"
|
|
|
|
builddir="$srcdir/$pkgname-VERSION_$pkgver"
|
2020-01-06 09:01:41 +00:00
|
|
|
options="!check" # Tests hang
|
2018-09-02 23:29:38 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
default_prepare
|
2020-01-06 09:01:41 +00:00
|
|
|
|
2018-09-02 23:29:38 +00:00
|
|
|
cp "$srcdir"/signon-dbus-specification-$_spec_commit/* "$builddir"/libsignon-glib/interfaces/
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
meson \
|
|
|
|
--prefix=/usr \
|
2020-01-06 09:01:41 +00:00
|
|
|
--sysconfdir=/etc \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--localstatedir=/var \
|
2018-09-02 23:29:38 +00:00
|
|
|
--buildtype=release \
|
2020-01-06 09:01:41 +00:00
|
|
|
. output
|
|
|
|
ninja -C output
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
ninja test -C output
|
2018-09-02 23:29:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-01-06 09:01:41 +00:00
|
|
|
DESTDIR="$pkgdir" ninja -C output install
|
2018-09-02 23:29:38 +00:00
|
|
|
}
|
|
|
|
sha512sums="45d8e26263a16b98517cda0fff8e46fb1ffcc4bb833a6364454f120eb9819b48ee04bdb338bf5e9f0b0fe344af5940f35ed56f0765ca3605dead5b3755657dcf libsignon-glib-VERSION_2.1.tar.gz
|
|
|
|
8b65019e2793dd58b2b60f8893ab999513a6aa2374f5d1053341fcdec6e2debb4d729abbbef17c8a2cb0b905893f06118649f17698bb91dc4e2681b2fe99e4b3 signon-dbus-specification-67487954653006ebd0743188342df65342dc8f9b.tar.gz"
|