void-packages/srcpkgs/libsecret/template

33 lines
1.0 KiB
Bash

# Template file for 'libsecret'
pkgname=libsecret
version=0.21.3
revision=1
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}/libsecret/${version%.*}/libsecret-${version}.tar.xz"
checksum=9a3e2571f1048035d80238f52c8760125884a43baf8a580fedb7250c1ad0a9e7
make_check_pre="dbus-run-session"
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
}
}