diff --git a/srcpkgs/libsecret/template b/srcpkgs/libsecret/template index 30c2ebae979..76c9757ed24 100644 --- a/srcpkgs/libsecret/template +++ b/srcpkgs/libsecret/template @@ -1,17 +1,17 @@ # Template file for 'libsecret' pkgname=libsecret -version=0.18 -revision=2 +version=0.18.2 +revision=1 build_style=gnu-configure -configure_args="--disable-static --with-libgcrypt-prefix=${XBPS_CROSS_BASE}/usr" -hostmakedepends="pkg-config intltool gnome-doc-utils glib-devel libxslt" +configure_args="$(vopt_enable gir introspection) --disable-static --with-libgcrypt-prefix=${XBPS_CROSS_BASE}/usr" +hostmakedepends="pkg-config intltool gnome-doc-utils glib-devel libxslt $(vopt_if gir gobject-introspection)" makedepends="vala-devel libgcrypt-devel" short_desc="GObject based library for accessing the Secret Service API" maintainer="Juan RP " license="GPL-2, LGPL-2.1" homepage="http://www.gnome.org" -distfiles="${GNOME_SITE}/$pkgname/0.18/$pkgname-${version}.tar.xz" -checksum=0c73aa762dbd1e38ba7b03de350e23ce818cb810b0784375e95ef61e004b02e3 +distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-${version}.tar.xz" +checksum=12fd288b012e1b2b1b54d586cd4c6507885715534644b4534b7ef7d7079ba443 # Package build options build_options="gir" @@ -21,13 +21,6 @@ if [ -z "$CROSS_BUILD" ]; then build_options_default="gir" fi -if [ "$build_option_gir" ]; then - configure_args+=" --enable-introspection" - makedepends+=" gobject-introspection" -else - configure_args+=" --disable-introspection" -fi - libsecret-devel_package() { depends="libglib-devel ${sourcepkg}-${version}_${revision}" short_desc+=" - development files"