blob: 9573f4b8551cbb19efaff2b17aa15fa41b228e71 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# $Id: PKGBUILD 86488 2013-03-18 11:20:57Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Denis A. Altoe Falqueto <denisfalqueto@gmail.com>
pkgbase=projectm
pkgname=('projectm' 'projectm-libvisual' 'projectm-pulseaudio' 'projectm-qt' 'projectm-test')
pkgver=2.1.0
pkgrel=5
arch=('i686' 'x86_64' 'mips64el')
url='http://projectm.sourceforge.net/'
license=('LGPL')
makedepends=('mesa-libgl' 'qt4' 'cmake' 'ftgl' 'glew' 'gtkglext' 'libvisual' 'sdl' 'libxext' 'pulseaudio')
source=("http://downloads.sourceforge.net/$pkgname/projectM-complete-$pkgver-Source.tar.gz"
'projectm-test-opengl.patch'
'projectm-install-vera-ttf.patch')
sha256sums=('513204f033006bd3dcdf8aada196d816d6b7187266ddcbb1594d0285cc9406ee'
'c577d8356be011a3b3ee9f9b389db55f47804d100f690d8ea12f2920cdd432d1'
'7d67aad0b210edf25a527274504c9efdf3e9d5b737235b938fec361ac5a8b110')
_projectmdir="projectM-complete-$pkgver-Source"
build() {
cd "$srcdir/projectM-complete-$pkgver-Source"
patch -p1 -i "$srcdir/projectm-test-opengl.patch"
patch -p1 -i "$srcdir/projectm-install-vera-ttf.patch"
mkdir -p "$srcdir/build"
cd "$srcdir/build"
cmake \
-Wno-dev \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
"../projectM-complete-$pkgver-Source"
make
}
package_projectm() {
pkgdesc='Music visualizer which uses 3D accelerated iterative image based rendering'
depends=('ftgl' 'glew' 'libgl')
cd "$srcdir/build"
for dirs in src/{NativePresets,libprojectM}; do
make -C "$dirs" DESTDIR="$pkgdir" install
done
}
package_projectm-libvisual() {
pkgdesc='ProjectM plugin for XMMS'
depends=('projectm' 'libvisual' 'gcc-libs')
replaces=('libvisual-projectm')
provides=('libvisual-projectm')
cd "$srcdir/build/src/projectM-libvisual"
make DESTDIR="$pkgdir" install
}
package_projectm-pulseaudio() {
pkgdesc='ProjectM support for Pulseaudio'
depends=('projectm-qt' 'pulseaudio')
cd "$srcdir/build/src/projectM-pulseaudio"
make DESTDIR="$pkgdir" install
}
package_projectm-qt() {
pkgdesc='Qt bindings for ProjectM'
depends=('projectm' 'qt4' 'libgl')
cd "$srcdir/build/src/projectM-qt"
make DESTDIR="$pkgdir" install
}
package_projectm-test() {
pkgdesc='ProjectM test applications'
depends=('projectm' 'sdl' 'libgl')
cd "$srcdir/build/src/projectM-test"
make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
|