1 # Contributor: Nils Gey <list@nilsgey.de>
4 pkgname=libflashsupport-jack
7 pkgdesc="JACK-audio-connection-kit support for Flash"
9 url="http://sourceforge.net/users/torbenh/"
12 depends=('openssl' 'jack')
17 _gitroot="git://repo.or.cz/libflashsupport-jack.git"
18 _gitname="libflashsupport-jack"
22 msg "Connecting to GIT server...."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build"
35 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
43 ./configure --prefix=/usr
44 sed -i 's|#define V4L1|//#define V4L1|' ./flashsupport.c || return 1
46 make DESTDIR=${pkgdir} install || return 1