updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / scenic / PKGBUILD
blob792dc0e40e2218e5e2bfd422c810cd69b0c1b598
1 # Contributor: Calimero <calimeroteknik@free.fr>
2 pkgname=scenic
3 pkgver=0.6.2
4 pkgrel=1
5 pkgdesc="Telepresence-oriented mutimedia broadcasting platform"
6 arch=('i686' 'x86_64')
7 url="http://scenic.sat.qc.ca/en/PropulseART"
8 license=('GPL3')
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')
16 build() {
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
25   make || return 1
26   make DESTDIR="$pkgdir" PREFIX="/usr" install