summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-08-08 21:12:44 (GMT)
committerCecil <knoppmyth@gmail.com>2011-08-08 21:12:44 (GMT)
commitfe38a266b7ed06a48279d54e774f160d40cb261f (patch)
tree0e69f344aca5c62101d356dc29d7c8d901b20ecc /abs/core
parentfac61ad639311f85a57d0c2307d4434df7da91ec (diff)
downloadlinhes_pkgbuild-fe38a266b7ed06a48279d54e774f160d40cb261f.zip
linhes_pkgbuild-fe38a266b7ed06a48279d54e774f160d40cb261f.tar.gz
linhes_pkgbuild-fe38a266b7ed06a48279d54e774f160d40cb261f.tar.bz2
projectm-complete:ProjectM that actually works!
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/projectm-complete/PKGBUILD27
-rw-r--r--abs/core/projectm-complete/libprojectm-2.0.1-pcfix.patch25
2 files changed, 52 insertions, 0 deletions
diff --git a/abs/core/projectm-complete/PKGBUILD b/abs/core/projectm-complete/PKGBUILD
new file mode 100644
index 0000000..341704f
--- /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=1
+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 . || return 1
+ make all || return 1
+ make DESTDIR=$pkgdir install || return 1
+ rm -rf $srcdir/projectM-complete-$pkgver-Source
+}
diff --git a/abs/core/projectm-complete/libprojectm-2.0.1-pcfix.patch b/abs/core/projectm-complete/libprojectm-2.0.1-pcfix.patch
new file mode 100644
index 0000000..50097e7
--- /dev/null
+++ b/abs/core/projectm-complete/libprojectm-2.0.1-pcfix.patch
@@ -0,0 +1,25 @@
+--- projectM-2.0.1-Source.orig/src/libprojectM/libprojectM.pc.in
++++ projectM-2.0.1-Source/src/libprojectM/libprojectM.pc.in
+@@ -1,6 +1,6 @@
+ prefix=@CMAKE_INSTALL_PREFIX@
+ exec_prefix=@CMAKE_INSTALL_PREFIX@
+-libdir=@LIB_INSTALL_DIR@
++libdir=${exec_prefix}/lib@LIB_SUFFIX@
+ includedir=@CMAKE_INSTALL_PREFIX@/include
+ pkgdatadir=@CMAKE_INSTALL_PREFIX@/@RESOURCE_PREFIX@
+ sysconfdir=@CMAKE_INSTALL_PREFIX@/@RESOURCE_PREFIX@
+
+--- projectM-complete-2.0.1-Source.orig/src/CMakeLists.txt 2009-12-06 02:20:48.000000000 +0100
++++ rojectM-complete-2.0.1-Source/src/CMakeLists.txt 2010-06-28 01:10:27.145943667 +0200
+@@ -3,9 +3,9 @@
+ cmake_minimum_required(VERSION 2.4.0)
+
+ OPTION(INCLUDE-PROJECTM-QT "Build the projectM Qt4 user interface extension library (recommended)" ON)
+-OPTION(INCLUDE-PROJECTM-PULSEAUDIO "Build the projectM pulse audio client (recommended for fedora users)" ON)
++OPTION(INCLUDE-PROJECTM-PULSEAUDIO "Build the projectM pulse audio client (recommended for fedora users)" OFF)
+ OPTION(INCLUDE-PROJECTM-LIBVISUAL "Build the projectM libvisual client" ON)
+-OPTION(INCLUDE-PROJECTM-LIBVISUAL-ALSA "Build experimental libvisual / alsa input standalone client (NEW!)" OFF)
++OPTION(INCLUDE-PROJECTM-LIBVISUAL-ALSA "Build experimental libvisual / alsa input standalone client (NEW!)" ON)
+ OPTION(INCLUDE-PROJECTM-JACK "Build the projectM JACK client" OFF)
+ OPTION(INCLUDE-PROJECTM-TEST "Build the projectM test suite" ON)
+ OPTION(INCLUDE-PROJECTM-XMMS "Build the projectM xmms module (deprecated, use audacious instead)" OFF)