1 # Contributor: Calimero <calimeroteknik@free.fr>
5 pkgdesc="Telepresence-oriented mutimedia broadcasting platform from trunk"
7 url="http://scenic.sat.qc.ca/en/PropulseART"
9 depends=(libtheora ffmpeg iperf jack qjackctl lame boost twisted vorbis-tools libdc1394 libavc1394 python-portmidi gstreamer0.10-bad-plugins gstreamer0.10-ffmpeg gstreamer0.10-ugly-plugins)
10 [ "$CARCH" == "i686" ] && depends=(libtheora ffmpeg iperf jack-audio-connection-kit qjackctl lame boost twisted vorbis-tools libdc1394 libavc1394 python-portmidi gstreamer0.10-bad-plugins gstreamer0.10-ffmpeg gstreamer0.10-ugly-plugins)
11 makedepends=('help2man' 'svn')
12 optdepends=('kernel26rt: strongly recommended to avoid audio echo')
15 _svntrunk="http://code.sat.qc.ca/scenic/trunk"
20 msg "Downloading from svn repository..."
21 svn co ${_svntrunk} ${_svnmod}
22 msg "SVN checkout done or server timeout"
24 msg "Starting make..."
26 find . -name '*.py' -exec sed -i 's/env python/env python2/' {} \;
27 export PYTHON=/usr/bin/python2
29 ./configure --prefix="/usr" \
30 --with-boost-program-options=mt \
31 --with-boost-date-time=mt \
32 --with-boost-filesystem=mt \
33 --with-boost-thread=mt || return 1
35 make DESTDIR="$pkgdir" PREFIX="/usr" install