From ec36b69a01c879b7e47059b7629cea5659f1f86a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 28 Jan 2015 16:42:30 +0100 Subject: [PATCH] clutter-gst: update to 2.0.14. --- srcpkgs/clutter-gst/template | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/srcpkgs/clutter-gst/template b/srcpkgs/clutter-gst/template index 55ec4864b57..6b4f1b74106 100644 --- a/srcpkgs/clutter-gst/template +++ b/srcpkgs/clutter-gst/template @@ -1,10 +1,11 @@ # Template file for 'clutter-gst' pkgname=clutter-gst -version=2.0.12 +version=2.0.14 revision=1 +build_options="gir" build_style=gnu-configure -configure_args="--disable-debug" -hostmakedepends="pkg-config intltool gobject-introspection" +configure_args="--disable-debug $(vopt_enable gir introspection)" +hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)" makedepends="clutter-devel>=1.18 gst-plugins-bad1-devel>=1:1.2.0" depends="gst-plugins-base1>=1:1.2 gst-plugins-bad1>=1:1.2" short_desc="GStreamer bindings for the Clutter Toolkit" @@ -12,16 +13,22 @@ maintainer="Juan RP " homepage="http://www.gtk.org/" license="GPL-2" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=c2f1453692b0c3ff6a500113bc1d2c95d2bde11caca0809610a6d1424bbbffb5 +checksum=5d7d8c1a31748e9039b7ba9dae9f412ec065715008adffdfde332dd34e7d0535 + +if [ -z "$CROSS_BUILD" ]; then + build_options_default="gir" +fi clutter-gst-devel_package() { - depends="clutter-devel>=1.18 gst-plugins-bad1-devel>=1:1.2.0 ${sourcepkg}>=${version}_${revision}" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig - vmove usr/share/gir-1.0 vmove usr/share/gtk-doc vmove "usr/lib/*.so" + if [ "$build_option_gir" ]; then + vmove usr/share/gir-1.0 + fi } }