summaryrefslogtreecommitdiff
path: root/community-testing/projectm/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-31 00:02:30 +0000
committerroot <root@rshg054.dnsready.net>2012-07-31 00:02:30 +0000
commit5b3474881a154216b47c6e154552ee5f9c68c509 (patch)
tree098f24750e89f88b3c80ded4579a44928bae1b45 /community-testing/projectm/PKGBUILD
parent4982c269b318734d01ad30c6592fbb73565ceb12 (diff)
Tue Jul 31 00:02:29 UTC 2012
Diffstat (limited to 'community-testing/projectm/PKGBUILD')
-rw-r--r--community-testing/projectm/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community-testing/projectm/PKGBUILD b/community-testing/projectm/PKGBUILD
new file mode 100644
index 000000000..5c8e90f15
--- /dev/null
+++ b/community-testing/projectm/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 74519 2012-07-29 21:16:13Z ebelanger $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Alexander Baldeck <alexander@archlinux.org>
+
+pkgname=projectm
+pkgver=2.0.1
+pkgrel=6
+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=('pkg-config' 'cmake')
+source=("http://downloads.sourceforge.net/${pkgname}/projectM-${pkgver}-Source.tar.gz"
+ 'libprojectM-2.0.1-pkg-config.patch'
+ 'libprojectM-2.0.1-fix-linking.patch')
+md5sums=('f8bf795878cdbbef54784cf2390b4c89'
+ '4f258f4e7c2ab612931936bfd7f1f0fb'
+ '5c178cadf1e00ee4baf32cd9ccbc818c')
+
+build() {
+ cd "${srcdir}/projectM-${pkgver}-Source"
+
+ patch -Np1 -i "${srcdir}/libprojectM-2.0.1-pkg-config.patch"
+ patch -Np1 -i "${srcdir}/libprojectM-2.0.1-fix-linking.patch"
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "${srcdir}/projectM-${pkgver}-Source"
+ make DESTDIR="${pkgdir}" install
+}