void-packages/srcpkgs/libsecret/template
Jürgen Buchmüller 126e4d1404 libsecret: needs (may need) automake
Also remove gir build option and always enable introspection and vala.
2020-12-29 09:50:03 +01:00

34 lines
1 KiB
Bash

# Template file for 'libsecret'
pkgname=libsecret
version=0.20.4
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--enable-introspection --enable-vala --disable-static
--with-libgcrypt-prefix=${XBPS_CROSS_BASE}/usr"
hostmakedepends="automake glib-devel gtk-doc pkg-config libxslt vala"
makedepends="glib-devel libgcrypt-devel vala"
short_desc="GObject based library for accessing the Secret Service API"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=325a4c54db320c406711bf2b55e5cb5b6c29823426aa82596a907595abb39d28
# doesn't work in build chroot
do_check() {
:
}
libsecret-devel_package() {
depends="libglib-devel ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
vmove usr/share/gir-1.0
vmove usr/share/vala
}
}