diff --git a/srcpkgs/gtksourceview/template b/srcpkgs/gtksourceview/template index 3f69f7d1041..fae663a7acc 100644 --- a/srcpkgs/gtksourceview/template +++ b/srcpkgs/gtksourceview/template @@ -1,17 +1,17 @@ # Template file for 'gtksourceview' pkgname=gtksourceview -version=3.14.3 +version=3.14.4 revision=1 build_style=gnu-configure -configure_args="--disable-static" -hostmakedepends="pkg-config intltool gtk+3-devel glib-devel" +configure_args="--disable-static $(vopt_enable gir introspection)" +hostmakedepends="pkg-config intltool gtk+3-devel glib-devel $(vopt_if gir gobject-introspection)" makedepends="gtk+3-devel libxml2-devel" short_desc="Text widget that extends GTK+3 GtkTextView widget" maintainer="Juan RP " homepage="http://www.gnome.org" license="GPL-2" distfiles="${GNOME_SITE}/$pkgname/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=7bbe8b603ed7346669911fa074fe69388a4c89c1b15317befc3aa212b3d01a7b +checksum=1c9d6155705d50ae5cd1cd61167cc4824e413896f10d30ee158a83e8961a4d8b # Package build options build_options="gir" @@ -21,15 +21,8 @@ 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 - gtksourceview-devel_package() { - depends="gtk+3-devel libxml2-devel ${sourcepkg}>=${version}_${revision}" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include