1 # Contributor: Calimero <calimeroteknik@free.fr>
5 pkgdesc="Telepresence-oriented mutimedia broadcasting platform"
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)
10 [ "$CARCH" == "i686" ] && depends=(libtheora ffmpeg iperf jack-audio-connection-kit qjackctl lame boost twisted vorbis-tools libdc1394 libavc1394 python-portmidi)
11 makedepends=(help2man)
12 optdepends=('kernel26rt: strongly recommended to avoid audio echo')
13 source=(http://scenic.sat.qc.ca/download/${pkgname}-${pkgver}.tar.gz)
14 md5sums=('fbe31f31864afbace933bbebf075211e')
17 cd "$srcdir"/$pkgname-$pkgver
18 find . -name '*.py' -exec sed -i 's/env python/env python2/' {} \;
19 export PYTHON=/usr/bin/python2
20 ./configure --prefix="/usr" \
21 --with-boost-program-options=mt \
22 --with-boost-date-time=mt \
23 --with-boost-filesystem=mt \
24 --with-boost-thread=mt || return 1
26 make DESTDIR="$pkgdir" PREFIX="/usr" install