1 pkgname=jack-audio-connection-kit-svn
4 pkgdesc="A low-latency audio server for multiprocessor machines"
6 license=('GPL2' 'LGPL2')
7 depends=('dbus-core' 'python2' 'libsamplerate' 'celt' 'ffado')
8 makedepends=('python-waf')
9 provides=('jack-audio-connection-kit')
10 conflicts=('jack-audio-connection-kit-mp' 'jack')
11 url="http://www.grame.fr/~letz/jackdmp.html"
12 backup=('etc/conf.d/jack-audio-connection-kit')
14 source=(jack-audio-connection-kit
15 jack-audio-connection-kit1
17 md5sums=('5504df77df2ac9680f990c699c9210ae'
18 '112bbf9583793c3e7480e1da91150a14'
19 'd784fa8b6d98d27699781bd9a7cf19f0')
21 _svntrunk="http://subversion.jackaudio.org/jack/jack2/trunk/"
26 mkdir -p ~/.subversion; touch ~/.subversion/servers
27 msg "Connecting to $_svnmod.sf.net SVN server..."
29 # svn co $_svntrunk $_svnmod
31 if [ -d $_svnmod ] ; then
32 (cd $_svnmod && svn update)
33 msg "The local files are updated."
35 svn co ${_svntrunk} ${_svnmod}
39 msg "SVN checkout done or server timeout"
40 msg "Starting make..."
42 #mkdir -p $startdir/pkg/usr/
45 msg ${startdir} startdir
46 cd ${startdir}/src/$_svnmod/jackmp
47 python2 waf configure --classic --profile --enable-pkg-config-dbus-service-dir --alsa --firewire --prefix=/usr || return 1
48 python2 waf build || return 1
49 python2 waf install --destdir=${startdir}/pkg
50 mkdir -p $startdir/pkg/etc/rc.d
51 mkdir -p $startdir/pkg/etc/conf.d
52 mkdir -p $startdir/pkg/etc/profile.d
53 cp $startdir/src/jack.sh $startdir/pkg/etc/profile.d
54 cp $startdir/src/jack-audio-connection-kit $startdir/pkg/etc/rc.d
55 cp $startdir/src/jack-audio-connection-kit1 $startdir/pkg/etc/conf.d/jack-audio-connection-kit