36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Template file for 'libsecret'
|
|
pkgname=libsecret
|
|
version=0.20.5
|
|
revision=2
|
|
build_style=meson
|
|
build_helper="gir"
|
|
hostmakedepends="glib-devel pkg-config libxslt vala gi-docgen docbook-xsl
|
|
gettext"
|
|
makedepends="glib-devel libgcrypt-devel vala"
|
|
checkdepends="python3-dbus python3-gobject dbus"
|
|
short_desc="GObject based library for accessing the Secret Service API"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://wiki.gnome.org/Projects/Libsecret"
|
|
changelog="https://gitlab.gnome.org/GNOME/libsecret/-/raw/master/NEWS"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=3fb3ce340fcd7db54d87c893e69bfc2b1f6e4d4b279065ffe66dac9f0fd12b4d
|
|
|
|
do_check() {
|
|
dbus-run-session ninja -C build test
|
|
}
|
|
|
|
libsecret-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision}
|
|
libglib-devel libgcrypt-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/doc
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
}
|
|
}
|