From 7971051a776f6104a765dab334cfa1a408034dd0 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 25 Apr 2010 16:24:01 +0200 Subject: [PATCH] clutter: update to 1.2.4. --HG-- extra : convert_revision : 17a0bb0a421e2cd975c095c99160303675361dca --- srcpkgs/clutter/clutter-devel.template | 4 +--- srcpkgs/clutter/gir-clutter.template | 17 +++++++++++++++++ srcpkgs/clutter/template | 15 +++++++++++---- srcpkgs/gir-clutter | 1 + 4 files changed, 30 insertions(+), 7 deletions(-) create mode 100644 srcpkgs/clutter/gir-clutter.template create mode 120000 srcpkgs/gir-clutter diff --git a/srcpkgs/clutter/clutter-devel.template b/srcpkgs/clutter/clutter-devel.template index 695cbedb05..c367ea57d9 100644 --- a/srcpkgs/clutter/clutter-devel.template +++ b/srcpkgs/clutter/clutter-devel.template @@ -6,7 +6,7 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." Add_dependency run gtk+-devel -Add_dependency run gobject-introspection-devel +Add_dependency run gobject-introspection Add_dependency run MesaLib-devel Add_dependency run libX11-devel Add_dependency run libXdamage-devel @@ -20,7 +20,5 @@ do_install() mkdir -p ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/gir* ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr } diff --git a/srcpkgs/clutter/gir-clutter.template b/srcpkgs/clutter/gir-clutter.template new file mode 100644 index 0000000000..8e563de0b2 --- /dev/null +++ b/srcpkgs/clutter/gir-clutter.template @@ -0,0 +1,17 @@ +# Template file for 'gir-clutter'. +# +short_desc="Clutter introspection data" +long_desc="${long_desc} + + This package contains the GObject-introspection data of Clutter in + binary typelib format." + +Add_dependency run gir-freedesktop +Add_dependency run glib +Add_dependency run clutter + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template index ac305169f0..21d43245b4 100644 --- a/srcpkgs/clutter/template +++ b/srcpkgs/clutter/template @@ -1,18 +1,19 @@ # Template file for 'clutter' pkgname=clutter -version=1.2.0 +version=1.2.4 distfiles="http://www.clutter-project.org/sources/clutter/1.2/$pkgname-$version.tar.bz2" build_style=gnu_configure configure_args="--with-x --with-flavour=glx --with-imagebackend=gdk-pixbuf --enable-xinput" short_desc="OpenGL based interactive canvas library" maintainer="Juan RP " -checksum=009058e3b0985d34b94527440ad0f4444dba66c1c5f2ca036fa2b846fd32c3c8 +checksum=14528674af19eca4f6638c6e1e0ac07e40d047a6a31bac2f8cbb6ee0349ccb65 long_desc=" Clutter is an open source software library for creating fast, visually rich and animated graphical user interfaces." -subpackages="$pkgname-devel" +subpackages="gir-$pkgname $pkgname-devel" + Add_dependency run glibc Add_dependency run glib Add_dependency run pango @@ -30,7 +31,6 @@ Add_dependency build pango-devel Add_dependency build cairo-devel Add_dependency build glib-devel Add_dependency build gtk+-devel -Add_dependency build gobject-introspection-devel Add_dependency build MesaLib-devel Add_dependency build libX11-devel Add_dependency build libXext-devel @@ -38,3 +38,10 @@ Add_dependency build libXdamage-devel Add_dependency build libXfixes-devel Add_dependency build libXcomposite-devel Add_dependency build libXi-devel +Add_dependency build gobject-introspection + +pre_configure() +{ + # Use cmp(1) from diffutils. + export PATH="/usr/bin:$PATH" +} diff --git a/srcpkgs/gir-clutter b/srcpkgs/gir-clutter new file mode 120000 index 0000000000..5a89e25ad7 --- /dev/null +++ b/srcpkgs/gir-clutter @@ -0,0 +1 @@ +clutter \ No newline at end of file