diff --git a/srcpkgs/libchamplain/template b/srcpkgs/libchamplain/template index b70c75bc4f5..2036657853f 100644 --- a/srcpkgs/libchamplain/template +++ b/srcpkgs/libchamplain/template @@ -1,17 +1,17 @@ # Template file for 'libchamplain' pkgname=libchamplain -version=0.12.8 +version=0.12.9 revision=1 build_style=gnu-configure -configure_args="--disable-static" -hostmakedepends="pkg-config intltool" +configure_args="$(vopt_enable gir introspection) --disable-static" +hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)" makedepends="libsoup-gnome-devel gtk+3-devel clutter-gtk-devel>=1.5.2 sqlite-devel" short_desc="Library aimed to provide a Clutter widget to display rasterized maps" maintainer="Juan RP " homepage="http://projects.gnome.org/libchamplain/" license="LGPL-2.1" distfiles="${GNOME_SITE}/$pkgname/0.12/$pkgname-$version.tar.xz" -checksum=cc826fb92f7e362ba781a7301f3e269e4cb837bb9c6684670c5cd2e170435912 +checksum=b25ce832334976c07bf9564bf7f31e628881c69cf871a256cf4530cb277917e3 # 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 - libchamplain-devel_package() { depends="libsoup-gnome-devel gtk+3-devel clutter-gtk-devel>=1.5.2 json-glib-devel sqlite-devel