1 # Maintainer: kubriel <kubriel at gmail dot com>
6 pkgdesc="Graphics Environment for Multimedia - an external for PureData"
8 url="http://puredata.info/community/projects/software/gem"
10 depends=('libgl' 'libtiff' 'libjpeg' 'ftgl' 'mesa' 'avifile')
11 makedepends=('git' 'automake' 'make')
12 optdepends=('libunicap' 'ffmpeg' 'libquicktime' 'libdv4-dev' 'gmerlin')
13 conflicts=('pd-gem' 'pd-extended' 'pd-extended-svn')
15 _gitroot="git://pd-gem.git.sourceforge.net/gitroot/pd-gem/Gem"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build/"
41 # aclocal #autogen.sh will call aclocal if needed
42 cd "$srcdir/$_gitname-build"
44 ./configure --prefix=/usr/local
46 make DESTDIR="$pkgdir" install