diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..96a6cbd5e654 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = libflashsupport-jack + pkgdesc = JACK-audio-connection-kit support for Flash + pkgver = 20110801 + pkgrel = 1 + url = http://sourceforge.net/users/torbenh/ + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + depends = openssl + depends = jack + options = !libtool + +pkgname = libflashsupport-jack + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d0880df0eebc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Andrzej Giniewicz <gginiu@gmail.com> +# Contributor: Nils Gey <list@nilsgey.de> +# Author: Thorben Hohn + +pkgname=libflashsupport-jack +pkgver=20110801 +pkgrel=1 +pkgdesc="JACK-audio-connection-kit support for Flash" +arch=('i686' 'x86_64') +url="http://sourceforge.net/users/torbenh/" +license=('GPL') +makedepends=('git') +depends=('openssl' 'jack') +options=('!libtool') +source=() +md5sums=() + +_gitroot="git://repo.or.cz/libflashsupport-jack.git" +_gitname="libflashsupport-jack" + +build() { + cd "$srcdir" + msg "Connecting to GIT server...." + + if [ -d $_gitname ] ; then + cd $_gitname && git pull origin + msg "The local files are updated." + else + git clone $_gitroot + fi + + msg "GIT checkout done or server timeout" + msg "Starting make..." + + rm -rf "$srcdir/$_gitname-build" + cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build" + cd "$srcdir/$_gitname-build" + + ./bootstrap.sh + ./configure --prefix=/usr + sed -i 's|#define V4L1|//#define V4L1|' ./flashsupport.c || return 1 + make +} + +package() { + cd "$srcdir/$_gitname-build" + + make DESTDIR=${pkgdir} install +} + |