diff --git a/srcpkgs/totem-pl-parser/template b/srcpkgs/totem-pl-parser/template index 608ce738ae5..50731335ecb 100644 --- a/srcpkgs/totem-pl-parser/template +++ b/srcpkgs/totem-pl-parser/template @@ -1,12 +1,13 @@ # Template file for 'totem-pl-parser' pkgname=totem-pl-parser -version=3.10.1 -revision=2 +version=3.10.2 +revision=1 build_style=gnu-configure # XXX needs libquvi>=0.9 configure_args="--disable-static --enable-libarchive --enable-libgcrypt - --with-libgcrypt-prefix=${XBPS_CROSS_BASE}/usr" -hostmakedepends="pkg-config intltool glib-devel" + $(vopt_enable gir introspection)" +hostmakedepends="pkg-config intltool glib-devel + $(vopt_if gir gobject-introspection)" makedepends="libsoup-gnome-devel>=2.44 gmime-devel libarchive-devel>=3.1.2 libgcrypt-devel" depends="libsoup-gnome>=2.44" short_desc="Totem playlist parser library" @@ -14,7 +15,7 @@ maintainer="Juan RP " homepage="http://www.gnome.org" license="GPL-2" distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz" -checksum=13d20222e7230eff1b22acc2b6b54d3c910590782a3ac39b859857407fb5e413 +checksum=38be09bddc46ddecd2b5ed7c82144ef52aafe879a5ec3d8b192b4b64ba995469 # Package build options build_options="gir" @@ -23,16 +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 - totem-pl-parser-devel_package() { - depends="libglib-devel libxml2-devel gmime-devel libquvi-devel - libgcrypt-devel ${sourcepkg}>=${version}_${revision}" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include