1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
2 # Contributor: hm_b <holger@music-nerds.net>
7 pkgdesc="A rapid prototyping, livecoding and playing/learning environment for 3D graphics and games."
9 url="http://www.pawfal.org/fluxus/"
11 depends=('fftw' 'freeglut' 'glew' 'gstreamer0.10-base'
12 'liblo' 'ode' 'openal' 'racket' 'jack' 'ffmpeg')
13 makedepends=('git' 'scons' 'libunicap' 'pth')
16 source=('libffi.patch')
17 md5sums=('aa259ef4114c965c00ee2b5c964df3a0')
19 _gitroot="http://git.savannah.gnu.org/cgit/fluxus.git"
25 msg "Connecting to GIT server...."
27 if [ -d $_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
31 git clone $_gitroot $_gitname
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf "$srcdir/$_gitname-build"
38 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
45 # add libffi to SConstruct
46 patch -p1 -i "$srcdir/libffi.patch"
49 sed -i "176,179d" libfluxus/src/PNGLoader.cpp
51 scons install Prefix=/usr \
53 CCFLAGS="-D__STDC_CONSTANT_MACROS" \