1 # Contributor: Jesse Jaara <jesse.jaara@gmail.com>
3 pkgname=swfdec-git-pulse
6 pkgdesc="Free library for decoding and rendering Flash animations"
8 url="http://swfdec.freedesktop.org"
10 depends=('gstreamer0.10-base' 'ffmpeg' 'gtk2' 'alsa-lib' 'liboil' 'libmad' 'libsoup' 'pulseaudio' 'cairo-snapshot' 'ming')
12 provides=('swfdec' 'swfdec-git')
13 conflicts=('swfdec' 'swfdec-git')
15 _gitroot="git://anongit.freedesktop.org/git/swfdec/swfdec"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
41 ./configure --prefix=/usr --with-audio=pulse
43 make DESTDIR="$pkgdir/" install