updated on Sun Jan 22 20:01:29 UTC 2012
[aur-mirror.git] / scenic-svn / PKGBUILD
blob50c81c1107314982a1f2462af2235b915f219366
1 # Contributor: Calimero <calimeroteknik@free.fr>
2 pkgname=scenic-svn
3 pkgver=6425
4 pkgrel=1
5 pkgdesc="Telepresence-oriented mutimedia broadcasting platform from trunk"
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 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')
14 _svnmod="scenic"
15 _svntrunk="http://code.sat.qc.ca/scenic/trunk"
17 build() {
18   cd "$srcdir"
20   msg "Downloading from svn repository..."
21   svn co ${_svntrunk} ${_svnmod}
22   msg "SVN checkout done or server timeout"
24   msg "Starting make..."
25   cd ${_svnmod}
26   find . -name '*.py' -exec sed -i 's/env python/env python2/' {} \;
27   export PYTHON=/usr/bin/python2
28   ./autogen.sh
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
34   make || return 1
35   make DESTDIR="$pkgdir" PREFIX="/usr" install