summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/projectm
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/projectm')
-rw-r--r--abs/extra-testing/projectm/PKGBUILD21
-rw-r--r--abs/extra-testing/projectm/projectm.install13
2 files changed, 34 insertions, 0 deletions
diff --git a/abs/extra-testing/projectm/PKGBUILD b/abs/extra-testing/projectm/PKGBUILD
new file mode 100644
index 0000000..4baced2
--- /dev/null
+++ b/abs/extra-testing/projectm/PKGBUILD
@@ -0,0 +1,21 @@
+# $Id: PKGBUILD 8766 2008-08-16 05:30:47Z eric $
+# Maintainer: Alexander Baldeck <alexander@archlinux.org>
+pkgname=projectm
+pkgver=0.99
+pkgrel=2
+pkgdesc="A music visualizer which uses 3D accelerated iterative image based rendering"
+arch=(i686 x86_64)
+url="http://xmms-projectm.sourceforge.net"
+license="GPL"
+depends=('ftgl' 'glut')
+makedepends=('pkgconfig' 'xproto')
+install=projectm.install
+source=(http://downloads.sourceforge.net/sourceforge/projectm/libprojectM-$pkgver.tar.bz2)
+md5sums=('20dc0aa2af96340c3209c9795cc3217d')
+
+build() {
+ cd $startdir/src/libprojectM
+ ./configure --prefix=/usr
+ make || return
+ make DESTDIR=$startdir/pkg install
+}
diff --git a/abs/extra-testing/projectm/projectm.install b/abs/extra-testing/projectm/projectm.install
new file mode 100644
index 0000000..a1e44dc
--- /dev/null
+++ b/abs/extra-testing/projectm/projectm.install
@@ -0,0 +1,13 @@
+post_install() {
+ echo ">> projectm has been split so that you additionally need to install:"
+ echo ">> xmms-projectm for xmms"
+ echo ">> libvisual-project for libvisual (like for amarok)"
+}
+
+post_upgrade() {
+ post_install
+}
+
+op=$1
+shift
+$op $*