aboutsummaryrefslogtreecommitdiffstats
path: root/testing/compiz
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-04-28 00:20:54 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-04-28 00:20:54 -0500
commitb28c5ddc8972d73d27f0336b95812db6680367c5 (patch)
treec3b6bb3256a704773b63e57f2def17357be9490a /testing/compiz
parent9d5850e25a8bab7c30aa958401e7a622ac0e53dc (diff)
downloadaports-b28c5ddc8972d73d27f0336b95812db6680367c5.tar.bz2
aports-b28c5ddc8972d73d27f0336b95812db6680367c5.tar.xz
testing/compiz: new aport
Diffstat (limited to 'testing/compiz')
-rw-r--r--testing/compiz/APKBUILD59
1 files changed, 59 insertions, 0 deletions
diff --git a/testing/compiz/APKBUILD b/testing/compiz/APKBUILD
new file mode 100644
index 0000000000..da6ea40ad8
--- /dev/null
+++ b/testing/compiz/APKBUILD
@@ -0,0 +1,59 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=compiz
+pkgver=0.8.6
+pkgrel=0
+pkgdesc="opengl window and composition manager"
+url="http://www.compiz.org/"
+arch="all"
+license="GPL"
+depends=
+depends_dev="mesa-dev
+ libx11-dev
+ libxslt-dev
+ libsm-dev
+ libxcomposite-dev
+ libxrandr-dev
+ libxinerama-dev
+ glib-dev
+ gconf-dev
+ startup-notification-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-gnome"
+source="http://releases.compiz.org/$pkgver/compiz-$pkgver.tar.gz"
+
+_builddir="$srcdir"/compiz-$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 \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+gnome() {
+ mkdir -p "$subpkgdir"/usr/lib/compiz
+ mv "$pkgdir"/usr/lib/compiz/libgconf.so "$subpkgdir"/usr/lib/compiz
+ mv "$pkgdir"/usr/lib/compiz/libgnomecompat.so "$subpkgdir"/usr/lib/compiz
+}
+
+md5sums="af0586557e0291c47b924e33bccacc60 compiz-0.8.6.tar.gz"