summaryrefslogtreecommitdiffstats
path: root/testing/mutter/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-28 23:44:23 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-28 23:44:23 -0600
commita295dde10166617650db160259681d6f2be7eeaa (patch)
treeb4546840765adda6d3677f1437b7d5ae36e83d1e /testing/mutter/APKBUILD
parent10e5d0573d248bfaaa5cbee1a44a960300fec205 (diff)
downloadaports-a295dde10166617650db160259681d6f2be7eeaa.tar.bz2
aports-a295dde10166617650db160259681d6f2be7eeaa.tar.xz
testing/mutter: new aport
Diffstat (limited to 'testing/mutter/APKBUILD')
-rw-r--r--testing/mutter/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/mutter/APKBUILD b/testing/mutter/APKBUILD
new file mode 100644
index 000000000..22a76877c
--- /dev/null
+++ b/testing/mutter/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=mutter
+pkgver=2.31.5
+pkgrel=0
+pkgdesc="clutter-based window manager for GNOME"
+url="http://www.gnome.org/"
+arch="all"
+license="GPL"
+depends="zenity"
+depends_dev="clutter-dev libcanberra-dev gconf-dev startup-notification-dev python-dev"
+makedepends="$depends_dev gobject-introspection intltool gnome-doc-utils"
+install="$pkgname.pre-deinstall $pkgname.post-install $pkgname.post-upgrade"
+subpackages="$pkgname-dev $pkgname-doc"
+source="ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
+ mutter-gtk2.patch"
+
+_builddir="${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+
+ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="0bec58091d4a3b1df6d5d6c05a1dd7cd mutter-2.31.5.tar.bz2
+e2f03d7771bf45069f2fba0af8f6b57d mutter-gtk2.patch"