diff --git a/srcpkgs/gstreamer1/template b/srcpkgs/gstreamer1/template index 7a9116751e8..b289aec2439 100644 --- a/srcpkgs/gstreamer1/template +++ b/srcpkgs/gstreamer1/template @@ -1,19 +1,19 @@ # Template file for 'gstreamer1'. pkgname=gstreamer1 -version=1:1.2.4 -revision=2 +version=1:1.4.1 +revision=1 wrksrc="gstreamer-${version#*:}" build_style=gnu-configure configure_args="--disable-valgrind --enable-docbook - --with-package-origin=http://www.voidlinux.eu" + --with-package-origin=http://www.voidlinux.eu $(vopt_enable gir introspection)" hostmakedepends="pkg-config flex python docbook-xsl" -makedepends="libxml2-devel libglib-devel" +makedepends="libxml2-devel libglib-devel $(vopt_if gir gobject-introspection)" short_desc="Core GStreamer libraries and elements (1.x)" maintainer="Juan RP " homepage="http://gstreamer.freedesktop.org/" license="LGPL-2.1" distfiles="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${version#*:}.tar.xz" -checksum=1e7ca67a7870a82c9ed51d51d0008cdbc550c41d64cc3ff3f9a1c2fc311b4929 +checksum=5638f75003282135815c0077d491da11e9a884ad91d4ba6ab3cc78bae0fb452e # Package build options build_options="gir" @@ -28,13 +28,6 @@ else } fi -if [ "$build_option_gir" ]; then - configure_args+=" --enable-introspection" - makedepends+=" gobject-introspection" -else - configure_args+=" --disable-introspection" -fi - gstreamer1-devel_package() { depends="libxml2-devel libglib-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"