summaryrefslogtreecommitdiff
path: root/community/projectm
diff options
context:
space:
mode:
Diffstat (limited to 'community/projectm')
-rw-r--r--community/projectm/PKGBUILD44
1 files changed, 24 insertions, 20 deletions
diff --git a/community/projectm/PKGBUILD b/community/projectm/PKGBUILD
index cd9d13003..7f17289f9 100644
--- a/community/projectm/PKGBUILD
+++ b/community/projectm/PKGBUILD
@@ -1,34 +1,38 @@
-# $Id: PKGBUILD 74623 2012-07-31 19:56:37Z ebelanger $
+# $Id: PKGBUILD 75395 2012-08-21 20:06:54Z 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.'
+pkgbase=projectm
+pkgname=('projectm' 'libvisual-projectm')
+pkgver=2.1.0
+pkgrel=1
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')
+makedepends=('cmake' 'ftgl' 'glew' 'gtkglext' 'libvisual' 'sdl' 'libxext')
+source=("http://downloads.sourceforge.net/${pkgname}/projectM-complete-${pkgver}-Source.tar.gz")
+md5sums=('debf30f7ce94ff0102f06fbb0cc4e92b')
build() {
- cd "${srcdir}/projectM-${pkgver}-Source"
+ cd "${srcdir}/projectM-complete-${pkgver}-Source/src"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DINCLUDE-PROJECTM-QT=OFF \
+ -DINCLUDE-PROJECTM-PULSEAUDIO=OFF -DINCLUDE-PROJECTM-TEST=OFF
+ make
+}
- patch -Np1 -i "${srcdir}/libprojectM-2.0.1-pkg-config.patch"
- patch -Np1 -i "${srcdir}/libprojectM-2.0.1-fix-linking.patch"
+package_projectm() {
+ pkgdesc='A music visualizer which uses 3D accelerated iterative image based rendering.'
+ depends=('ftgl' 'glew' 'gtkglext')
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
- make
+ cd "${srcdir}/projectM-complete-${pkgver}-Source/src/libprojectM"
+ make DESTDIR="${pkgdir}" install
+ install -m644 fonts/Vera.ttf "${pkgdir}/usr/share/projectM/fonts/Vera.ttf"
}
-package() {
- cd "${srcdir}/projectM-${pkgver}-Source"
+package_libvisual-projectm() {
+ pkgdesc='ProjectM XMMS plugin.'
+ depends=("projectm>=$pkgver" 'libvisual' 'sdl')
+
+ cd "${srcdir}/projectM-complete-${pkgver}-Source/src/projectM-libvisual"
make DESTDIR="${pkgdir}" install
}