2019-03-06 03:07:52 +00:00
|
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - remove makedepend on valgrind
|
|
|
|
# - patch to fix building without valgrind
|
|
|
|
|
|
|
|
pkgname=libsecret
|
2019-09-07 22:53:57 +00:00
|
|
|
pkgver=0.19.1
|
2019-11-19 02:30:06 +00:00
|
|
|
pkgrel=2
|
2019-03-06 03:07:52 +00:00
|
|
|
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)
|
|
|
|
optdepends=('gnome-keyring: key storage service, or use any other service implementing org.freedesktop.secrets')
|
2019-09-07 22:53:57 +00:00
|
|
|
_commit=f576dfbe50f9aed22802ad0db0356d081f467d7a # tags/0.19.1^0
|
2019-03-06 03:07:52 +00:00
|
|
|
source=("git+https://gitlab.gnome.org/GNOME/libsecret.git#commit=$_commit"
|
|
|
|
'0001-Fix-for-building-without-valgrind.patch')
|
|
|
|
sha256sums=('SKIP'
|
|
|
|
'0dfdbe7bbccc388f7d76ac951c344aeec01f30e07fb64c3274d1b907c6b06ee8')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd $pkgname
|
|
|
|
git describe --tags | sed 's/-/+/g'
|
|
|
|
}
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname
|
|
|
|
patch -p1 -i ../0001-Fix-for-building-without-valgrind.patch
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
arch-meson $pkgname build
|
|
|
|
ninja -C build
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2019-09-07 22:53:57 +00:00
|
|
|
dbus-run-session meson test -C build --print-errorlogs
|
2019-03-06 03:07:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
DESTDIR="$pkgdir" meson install -C build
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set sw=2 et:
|