blob: 59fd26f6bcc1c0506ddca6a61757587a18e0808f (
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
28
29
30
31
32
|
# Maintainer: Nickolay Stepanenko <nixtrian at gmail dot com>
pkgname=projectm-complete
pkgver=2.0.1
pkgrel=3
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"
"error-handling.patch")
md5sums=('9d32fa1357622c7a945a2e10620ee945' '9e2d9b03748fd6511181366b8d025425')
build() {
cd $srcdir/projectM-complete-$pkgver-Source/ || return 1
patch -p1 -i ../libprojectm-2.0.1-pcfix.patch
patch -p1 -i ../error-handling.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
}
md5sums=('9d32fa1357622c7a945a2e10620ee945'
'9e2d9b03748fd6511181366b8d025425'
'9b6e5a862603e7b9e45bfc51313c6a04')
|