1 # Contributor: Franz Burgmann <f dot burgmann at gmail dot com>
7 pkgdesc="VDR-Plugin to play DVDs."
8 url="http://sourceforge.net/projects/dvdplugin"
10 depends=('vdr' 'libdvdcss' 'libdvdnav' 'a52dec' 'libdvdread')
17 _cvsroot=":pserver:anonymous@dvdplugin.cvs.sourceforge.net:/cvsroot/dvdplugin"
22 msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
23 if [ -d $_cvsmod/CVS ]; then
27 cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
31 msg "CVS checkout done or server timeout"
32 msg "Starting make..."
34 rm -r $srcdir/$_cvsmod-build
35 cp -r ../$_cvsmod ../$_cvsmod-build
36 cd ../$_cvsmod-build || return 1
39 sed -i -e 's|fprintf(stderr, "arg: %s\n", optarg);|// fprintf(stderr, "arg: %s\n", optarg);|' \
42 make VDRDIR="/usr/src/VDR/" LIBDIR="." \
43 LOCALEDIR="$pkgdir/usr/share/locale" all || return 1
45 mkdir -p $pkgdir/usr/lib/vdr || return 1
46 cp libvdr-*.so.* $pkgdir/usr/lib/vdr/ || return 1