aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsecret/APKBUILD
blob: 23aacf67cf8ff86aa08ecf6974ce6c70c150e92e (plain) (blame)
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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libsecret
pkgver=0.20.4
pkgrel=0
pkgdesc="Library for storing and retrieving passwords and other secrets"
url="https://wiki.gnome.org/Projects/Libsecret"
arch="all"
license="LGPL-2.0-or-later"
makedepends="glib-dev intltool libxslt-dev docbook-xsl libgcrypt-dev
	gobject-introspection-dev vala meson"
checkdepends="py3-dbus py3-gobject3 xvfb-run dbus-x11"
options="!check" # gjs is in community now
subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/libsecret/${pkgver%.*}/libsecret-$pkgver.tar.xz"

build() {
	abuild-meson \
		--default-library=both \
		-Dgtk_doc=false \
		output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	xvfb-run meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}


sha512sums="599482796af001703c25d181a710c5a3207f44d4d0036ef2001cc541bde9ef453172b71df9bb214d27d1fbd2f28c1b5a5efdbd5faca3561188c07dccdc7d7c15  libsecret-0.20.4.tar.xz"