diff --git a/srcpkgs/gdk-pixbuf/template b/srcpkgs/gdk-pixbuf/template index e381944cb5..d956b31a7e 100644 --- a/srcpkgs/gdk-pixbuf/template +++ b/srcpkgs/gdk-pixbuf/template @@ -1,10 +1,12 @@ # Template build file for 'gdk-pixbuf'. pkgname=gdk-pixbuf -version=2.31.1 +version=2.31.2 revision=1 build_style=gnu-configure -configure_args="--without-libjasper --with-included-loaders=png --with-x11 gio_can_sniff=yes" -hostmakedepends="libtool perl pkg-config glib-devel" +configure_args="$(vopt_enable gir introspection) --without-libjasper + --with-included-loaders=png --with-x11 gio_can_sniff=yes" +hostmakedepends="automake libtool perl pkg-config gettext-devel + glib-devel $(vopt_if gir gobject-introspection)" makedepends="libglib-devel libpng-devel>=1.6 libjpeg-turbo-devel tiff-devel libX11-devel" triggers="gtk-pixbuf-loaders" short_desc="An Image loading library for The GTK+ toolkit (v2)" @@ -12,7 +14,7 @@ maintainer="Juan RP " homepage="http://www.gtk.org/" license="GPL-2" distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz" -checksum=25a75e3c61dac11e6ff6416ad846951ccafac6486b1c6a1bfb0b213b99db52cd +checksum=9e467ed09894c802499fb2399cd9a89ed21c81700ce8f27f970a833efb1e47aa # Package build options build_options="gir" @@ -22,15 +24,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 - pre_configure() { - libtoolize -f + autoreconf -fi } gdk-pixbuf-xlib_package() { @@ -40,7 +35,6 @@ gdk-pixbuf-xlib_package() { vmove usr/lib/libgdk_pixbuf_xlib*.so.* } } - gdk-pixbuf-devel_package() { depends="libglib-devel libpng-devel>=1.6 ${sourcepkg}-xlib>=${version}_${revision} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"