void-packages/srcpkgs/libsecret/template

33 lines
1.0 KiB
Bash

# Template file for 'libsecret'
pkgname=libsecret
version=0.21.4
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=163d08d783be6d4ab9a979ceb5a4fecbc1d9660d3c34168c581301cd53912b20
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
}
}