aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-keyring/APKBUILD
blob: ab355a82c844b9990a30d1db7319156b0260433b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-keyring
pkgver=3.36.0
pkgrel=1
pkgdesc="GNOME keyring"
url="https://wiki.gnome.org//Projects/GnomeKeyring"
arch="all"
license="GPL-2.0-only LGPL-2.0-only"
makedepends="gtk+3.0-dev gcr-dev libcap-ng-dev linux-pam-dev
	intltool gobject-introspection-dev gtk-doc libxslt
	openssh-client libgcrypt-dev"
checkdepends="python3 dbus-x11 xvfb-run"
provides="dbus:org.freedesktop.Secrets"
# Highest priority of the bunch since it has the least deps
provider_priority=100
options="!check" # Failing tests on the builders :/
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/gnome-keyring/${pkgver%.*}/gnome-keyring-$pkgver.tar.xz
	https://gitlab.gnome.org/GNOME/gnome-keyring/-/commit/ebc7bc9efacc17049e54da8d96a4a29943621113.patch
	"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--with-pam-dir=/lib/security
	make
}

check() {
	xvfb-run make check -j1
}

package() {
	export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
	make DESTDIR="$pkgdir" install
}

sha512sums="e5aed36ad109cbd2dcb534843f8565829366acc955cadc6e9bbe87ebbb6a8a907211aa3a42f7f26148ac69726af2f9238965707d1259319435bd20aa8c4859ed  gnome-keyring-3.36.0.tar.xz
a2d8608474edf693f6dda891dd8901ac6901d11a1a954d6b8771dc5931a76ad2c40bee0d38a39877b03ce11ad2e20ade8488a7480cce955fcfd4d3ba69274ce2  ebc7bc9efacc17049e54da8d96a4a29943621113.patch"