1 # Contributor:Xemertix <arch88(at)katamail(dot)com>
6 pkgdesc="A program to play SMIL (Synchronized Multimedia Integration Language) files"
7 url="http://www.ambulantplayer.org/"
10 makedepends=('gettext' 'cvs')
11 depends=('expat' 'ffmpeg' 'sdl' 'libxml2' 'gtk2')
12 optdepends=('live-media' 'xerces-c-2' 'arts' 'xulrunner' 'faad2' 'gstreamer0.10')
14 conflicts=('ambulant')
15 source=('ambulant.png' 'ambulant.desktop')
16 md5sums=('6eaef631585cf405d550de798cb8443e'
17 '29782fa992bbc91f20f1cf9e13f8677a')
19 _cvsroot=":pserver:anonymous:@ambulant.cvs.sourceforge.net:/cvsroot/ambulant"
25 msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
26 if [ -d $_cvsmod/CVS ]; then
30 cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
35 msg "CVS checkout done or server timeout"
36 msg "Starting make..."
38 cp -r ../$_cvsmod ../$_cvsmod-build
41 ./configure --prefix=/usr \
42 --with-xerces --with-xerces-plugin --with-ffmpeg --with-gtk --without-qt \
43 --with-gstreamer --with-smil-test --enable-fast-install || return 1
46 make DESTDIR=${pkgdir} install || return 1
48 rm -r ${srcdir}/$_cvsmod-build
50 install -D -m644 ${srcdir}/ambulant.png ${pkgdir}/usr/share/pixmaps/ambulant.png || return 1
51 install -D -m644 ${srcdir}/ambulant.desktop ${pkgdir}/usr/share/applications/ambulant.desktop || return 1
55 #--with-live=/usr/lib/live-media --with-expat