1 # Contributor: Fabio Falcinelli <fabio.falcinelli@gmail.com>
5 pkgdesc="Video playback library used in Enlightenment DR0.17"
8 url="http://www.enlightenment.org"
9 makedepends=('subversion')
12 replaces=('emotion-cvs')
13 depends=('edje' 'xine-lib' 'gstreamer0.10')
17 _svntrunk="http://svn.enlightenment.org/svn/e/trunk/emotion"
23 msg "Connecting to $_svntrunk SVN server...."
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
33 cp -r $_svnmod $_svnmod-build
36 ./autogen.sh --prefix=/usr
38 make DESTDIR=$startdir/pkg install || return 1
40 # install license files
41 install -D -m644 $startdir/src/$_svnmod-build/AUTHORS $startdir/pkg/usr/share/licenses/$pkgname/AUTHORS
42 install -D -m644 $startdir/src/$_svnmod-build/COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
43 install -D -m644 $startdir/src/$_svnmod-build/COPYING-PLAIN $startdir/pkg/usr/share/licenses/$pkgname/COPYING-PLAIN
45 rm -r $srcdir/$_svnmod-build