diff --git a/srcpkgs/gsettings-desktop-schemas/template b/srcpkgs/gsettings-desktop-schemas/template index 167b89fa92..505f493356 100644 --- a/srcpkgs/gsettings-desktop-schemas/template +++ b/srcpkgs/gsettings-desktop-schemas/template @@ -1,16 +1,17 @@ # Template file for 'gsettings-desktop-schemas' pkgname=gsettings-desktop-schemas -version=3.16.1 +version=3.18.0 revision=1 build_style=gnu-configure -hostmakedepends="pkg-config intltool glib-devel" +configure_args="$(vopt_enable gir introspection)" +hostmakedepends="pkg-config intltool glib-devel $(vopt_if git gobject-introspection)" makedepends="libglib-devel" short_desc="Collection of GSettings schemas" maintainer="Juan RP " license="GPL-2" homepage="http://www.gnome.org" distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz" -checksum=74fe9fdad510c8a6666febeceb7ebafc581ef990b3afcc8c1e8b5d90b24b3461 +checksum=ba27337226a96d83f385c0ad192fdfe561c7e7882c61bb326c571be24e41eceb # Package build options build_options="gir" @@ -20,13 +21,6 @@ if [ -z "$CROSS_BUILD" ]; then build_options_default="gir" fi -if [ "$build_option_gir" ]; then - configure_args+=" --enable-introspection" - hostmakedepends+=" gobject-introspection" -else - configure_args+=" --disable-introspection" -fi - gsettings-desktop-schemas-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"