From a802d0d62af83e8886e755c5b033bdd1b7293fa0 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Thu, 22 Mar 2012 12:31:12 +0100
Subject: [PATCH] mash: rebuild against newer clutter.

---
 srcpkgs/mash/depends             | 2 +-
 srcpkgs/mash/mash-devel.template | 5 ++++-
 srcpkgs/mash/mash.rshlibs        | 9 ++-------
 srcpkgs/mash/template            | 1 +
 4 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/mash/depends b/srcpkgs/mash/depends
index 205c57214a..89b441ca17 100644
--- a/srcpkgs/mash/depends
+++ b/srcpkgs/mash/depends
@@ -1,2 +1,2 @@
-abi_depends=">=0.1.0"
+abi_depends=">=0.1.0_1"
 api_depends="${api_depends}"
diff --git a/srcpkgs/mash/mash-devel.template b/srcpkgs/mash/mash-devel.template
index ef98cc2850..147986f743 100644
--- a/srcpkgs/mash/mash-devel.template
+++ b/srcpkgs/mash/mash-devel.template
@@ -6,7 +6,10 @@ long_desc="${long_desc}
  This package contains files for development, headers, static libs, etc."
 
 Add_dependency run clutter-devel
-Add_dependency run mash
+Add_dependency run mash ">=${version}"
+
+revision=1
+noarch=yes
 
 do_install() {
 	vmove usr/include usr
diff --git a/srcpkgs/mash/mash.rshlibs b/srcpkgs/mash/mash.rshlibs
index b8cca3aa77..f9e5821851 100644
--- a/srcpkgs/mash/mash.rshlibs
+++ b/srcpkgs/mash/mash.rshlibs
@@ -1,14 +1,10 @@
-libclutter-glx-1.0.so.0
 libcairo-gobject.so.2
 libatk-1.0.so.0
 libpangocairo-1.0.so.0
 libcogl-pango.so.0
 libjson-glib-1.0.so.0
-libGL.so.1
-libpangoft2-1.0.so.0
 libXi.so.6
 libcairo.so.2
-libcogl.so.5
 libgdk_pixbuf-2.0.so.0
 libdrm.so.2
 libX11.so.6
@@ -17,14 +13,13 @@ libXdamage.so.1
 libXcomposite.so.1
 libgio-2.0.so.0
 libpango-1.0.so.0
-libfreetype.so.6
-libfontconfig.so.1
 libgobject-2.0.so.0
 libgmodule-2.0.so.0
-libgthread-2.0.so.0
 librt.so.1
 libglib-2.0.so.0
 libXfixes.so.3
 libm.so.6
 libpthread.so.0
 libc.so.6
+libclutter-1.0.so.0
+libcogl.so.9
diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index e07947c586..d64cbe08e6 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -1,6 +1,7 @@
 # Template file for 'mash'
 pkgname=mash
 version=0.1.0
+revision=1
 distfiles="http://www.clutter-project.org/sources/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 build_style=gnu-configure
 configure_args="--enable-introspection --disable-static"