From ddab11262d437e1cbea1ada35e5be6fc38553d9b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 23 Dec 2009 20:45:51 +0100 Subject: [PATCH] Added clutter-1.0.8 build template. --HG-- extra : convert_revision : 6cb2dfd96e434ec9fcb39a71d945bdcfd2fecdac --- srcpkgs/clutter-devel | 1 + srcpkgs/clutter/clutter-devel.template | 26 +++++++++++++++++++++ srcpkgs/clutter/depends | 2 ++ srcpkgs/clutter/template | 32 ++++++++++++++++++++++++++ 4 files changed, 61 insertions(+) create mode 120000 srcpkgs/clutter-devel create mode 100644 srcpkgs/clutter/clutter-devel.template create mode 100644 srcpkgs/clutter/depends create mode 100644 srcpkgs/clutter/template diff --git a/srcpkgs/clutter-devel b/srcpkgs/clutter-devel new file mode 120000 index 0000000000..5a89e25ad7 --- /dev/null +++ b/srcpkgs/clutter-devel @@ -0,0 +1 @@ +clutter \ No newline at end of file diff --git a/srcpkgs/clutter/clutter-devel.template b/srcpkgs/clutter/clutter-devel.template new file mode 100644 index 0000000000..695cbedb05 --- /dev/null +++ b/srcpkgs/clutter/clutter-devel.template @@ -0,0 +1,26 @@ +# Template file for 'clutter-devel'. +# +short_desc="${short_desc} (development files)" +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 MesaLib-devel +Add_dependency run libX11-devel +Add_dependency run libXdamage-devel +Add_dependency run libXfixes-devel +Add_dependency run libXcomposite-devel +Add_dependency run libXi-devel +Add_dependency run clutter + +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/depends b/srcpkgs/clutter/depends new file mode 100644 index 0000000000..9ee6dd9885 --- /dev/null +++ b/srcpkgs/clutter/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.0.8" +api_depends="${abi_depends}" diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template new file mode 100644 index 0000000000..4306f1014f --- /dev/null +++ b/srcpkgs/clutter/template @@ -0,0 +1,32 @@ +# Template file for 'clutter' +pkgname=clutter +version=1.0.8 +distfiles="http://www.clutter-project.org/sources/clutter/1.0/$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=54fa3b64b7e0539d07a09eb751c5d945a4cedc8d2beb355a51ea7f04ae637501 +long_desc=" + Clutter is an open source software library for creating fast, visually + rich and animated graphical user interfaces." + +subpackages="$pkgname-devel" +Add_dependency run glibc +Add_dependency run gtk+ +Add_dependency run MesaLib +Add_dependency run libX11 +Add_dependency run libXdamage +Add_dependency run libXfixes +Add_dependency run libXcomposite +Add_dependency run libXi +Add_dependency build pkg-config +Add_dependency build gtk+-devel +Add_dependency build gobject-introspection-devel +Add_dependency build MesaLib-devel +Add_dependency build libX11-devel +Add_dependency build libXdamage-devel +Add_dependency build libXfixes-devel +Add_dependency build libXcomposite-devel +Add_dependency build libXi-devel