blob: e6a975daca42d761a14f1f88f69b126680d04147 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
}
|