diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template index 59609ad133a..94472d0626f 100644 --- a/srcpkgs/gupnp-dlna/template +++ b/srcpkgs/gupnp-dlna/template @@ -1,17 +1,17 @@ # Template file for 'gupnp-dlna' pkgname=gupnp-dlna -version=0.10.2 -revision=3 +version=0.10.3 +revision=1 build_style=gnu-configure -configure_args="--disable-static" -hostmakedepends="pkg-config" +configure_args="--disable-static $(vopt_enable gir introspection)" +hostmakedepends="pkg-config $(vopt_if gir gobject-introspection)" makedepends="gst-plugins-base1-devel vala-devel" short_desc="GUPnP DLNA" maintainer="Juan RP " license="LGPL-2.1" homepage="http://gupnp.org/" distfiles="${GNOME_SITE}/$pkgname/0.10/$pkgname-$version.tar.xz" -checksum=158a22dc9c11645817596322e2516701f0d49e40f1892ddc8832afd26221c5c3 +checksum=dcbe5f5f721c76781f3d3bb1bfcdf9818df0905203d4e5759aecb9cb127872d5 # 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 - gupnp-dlna-devel_package() { depends="gst-plugins-base1-devel ${sourcepkg}>=${version}" short_desc+=" - development files"