void-packages/srcpkgs/libsecret/template

33 lines
1.0 KiB
Bash

# Template file for 'libsecret'
pkgname=libsecret
version=0.21.2
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=e4a341496a0815e64c8d3b8fabab33d7bae7efdeab77b843669731d5b181dcee
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
}
}