libsecret: needs (may need) automake

Also remove gir build option and always enable introspection and vala.
This commit is contained in:
Jürgen Buchmüller 2020-12-29 09:49:26 +01:00
parent aef16d1c02
commit 126e4d1404
1 changed files with 6 additions and 12 deletions

View File

@ -4,10 +4,10 @@ version=0.20.4
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="$(vopt_enable gir introspection) --disable-static
--with-libgcrypt-prefix=${XBPS_CROSS_BASE}/usr $(vopt_enable gir vala)"
hostmakedepends="glib-devel gtk-doc pkg-config libxslt $(vopt_if gir vala)"
makedepends="glib-devel libgcrypt-devel $(vopt_if gir vala)"
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"
@ -15,10 +15,6 @@ homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=325a4c54db320c406711bf2b55e5cb5b6c29823426aa82596a907595abb39d28
# Package build options
build_options="gir"
build_options_default="gir"
# doesn't work in build chroot
do_check() {
:
@ -32,9 +28,7 @@ libsecret-devel_package() {
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
vmove usr/share/vala
fi
vmove usr/share/gir-1.0
vmove usr/share/vala
}
}