mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 08:26:49 +02:00
34 lines
1 KiB
Text
34 lines
1 KiB
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libsecret
|
|
pkgver=0.21.7
|
|
pkgrel=0
|
|
pkgdesc="Library for storing and retrieving passwords and other secrets"
|
|
url="https://gnome.pages.gitlab.gnome.org/libsecret"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="glib-dev libxslt-dev docbook-xsl libgcrypt-dev
|
|
gobject-introspection-dev vala meson dbus"
|
|
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://gitlab.gnome.org/GNOME/libsecret/-/archive/$pkgver/libsecret-$pkgver.tar.bz2"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
--default-library=both \
|
|
-Dgtk_doc=false \
|
|
output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
xvfb-run meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
b1769d01edacf7d52c4cd66746b24bf426ca1dbd8ef13009f8f5b4b502c1e9123ccfc6801f9880313af222d072b6a0cd8a3b3bb4d281da30fe9e1bf0a2af8267 libsecret-0.21.7.tar.bz2
|
|
"
|