summaryrefslogtreecommitdiffstats
path: root/abs/core/projectm-complete/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/projectm-complete/PKGBUILD')
-rw-r--r--abs/core/projectm-complete/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/core/projectm-complete/PKGBUILD b/abs/core/projectm-complete/PKGBUILD
new file mode 100644
index 0000000..e6a975d
--- /dev/null
+++ b/abs/core/projectm-complete/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Nickolay Stepanenko <nixtrian at gmail dot com>
+
+pkgname=projectm-complete
+pkgver=2.0.1
+pkgrel=2
+pkgdesc="A music visualizer which uses 3D accelerated iterative image based rendering (all components)"
+arch=('i686' 'x86_64')
+url="http://projectm.sourceforge.net/"
+license=('GPL')
+depends=('ftgl' 'glut' 'glew' 'libvisual-plugins')
+provides=('projectm' 'projectm-qt' 'projectm-libvisual' 'projectm-libvisual-alsa')
+conflicts=('projectm' 'projectm-qt' 'projectm-libvisual' 'projectm-libvisual-alsa')
+makedepends=('pkgconfig' 'xproto' 'cmake')
+source=("http://sourceforge.net/projects/projectm/files/2.0.1/projectM-complete-2.0.1-Source.tar.gz/download"
+ "libprojectm-2.0.1-pcfix.patch")
+md5sums=('9d32fa1357622c7a945a2e10620ee945' '9e2d9b03748fd6511181366b8d025425')
+
+build() {
+ cd $srcdir/projectM-complete-$pkgver-Source/ || return 1
+
+ patch -p1 -i ../libprojectm-2.0.1-pcfix.patch
+ cd src
+ cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -D USE_FBO=OFF . || return 1
+ make all || return 1
+ make DESTDIR=$pkgdir install || return 1
+ rm -rf $srcdir/projectM-complete-$pkgver-Source
+}