summaryrefslogtreecommitdiff
path: root/community/projectm
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/projectm
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/projectm')
-rw-r--r--community/projectm/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/projectm/PKGBUILD b/community/projectm/PKGBUILD
new file mode 100644
index 000000000..74bbe8876
--- /dev/null
+++ b/community/projectm/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 78581 2010-04-26 20:01:05Z andrea $
+# Maintainer:
+# Contributor: Alexander Baldeck <alexander@archlinux.org>
+
+pkgname=projectm
+pkgver=2.0.1
+pkgrel=2
+pkgdesc="A music visualizer which uses 3D accelerated iterative image based rendering"
+arch=('i686' 'x86_64')
+url="http://projectm.sourceforge.net/"
+license=('LGPL')
+depends=('gcc-libs' 'ftgl' 'glew' 'gtkglext')
+makedepends=('pkgconfig' 'cmake')
+source=(http://downloads.sourceforge.net/${pkgname}/projectM-${pkgver}-Source.tar.gz)
+md5sums=('f8bf795878cdbbef54784cf2390b4c89')
+
+build() {
+ cd ${srcdir}
+# sed -i 's|FTGL/FTGL.h|FTGL/ftgl.h|' Renderer.hpp || return 1
+# sed -i "s|#include <iostream>|#include <cstdio>\n#include <iostream>|" BuiltinParams.cpp || return 1
+ mkdir build
+ cd build
+ cmake ../projectM-${pkgver}-Source \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release || return 1
+ make || return 1
+}
+
+package() {
+ cd ${srcdir}/build
+ make DESTDIR=${pkgdir} install || return 1
+}