libgnome-keyring: enable gir

This commit is contained in:
maxice8 2019-02-07 21:46:21 -02:00
parent b6f3151558
commit 2852a101d2
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,26 +1,28 @@
# Template file for 'libgnome-keyring' # Template file for 'libgnome-keyring'
pkgname=libgnome-keyring pkgname=libgnome-keyring
version=3.12.0 version=3.12.0
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
build_helper="gir"
configure_args="$(vopt_enable gir introspection)" configure_args="$(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)" hostmakedepends="pkg-config intltool"
makedepends="dbus-devel libglib-devel libgcrypt-devel" makedepends="dbus-devel libglib-devel libgcrypt-devel"
checkdepends="glib-devel" checkdepends="glib-devel"
short_desc="GNOME keyring client library" short_desc="GNOME keyring client library"
maintainer="Juan RP <xtraeme@voidlinux.org>" maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.0-or-later" license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="http://www.gnome.org" homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=c4c178fbb05f72acc484d22ddb0568f7532c409b0a13e06513ff54b91e947783 checksum=c4c178fbb05f72acc484d22ddb0568f7532c409b0a13e06513ff54b91e947783
# Package build options # Package build options
build_options="gir" build_options="gir"
# Disable gir for cross builds. case "$XBPS_TARGET_MACHINE" in
if [ -z "$CROSS_BUILD" ]; then x86_64-musl) build_options_default+=" gir" ;;
build_options_default="gir" *-musl) ;;
fi *) build_options_default+=" gir" ;;
esac
libgnome-keyring-devel_package() { libgnome-keyring-devel_package() {
depends="libglib-devel ${sourcepkg}>=${version}_${revision}" depends="libglib-devel ${sourcepkg}>=${version}_${revision}"