5 pkgdesc="DVD player for the DXR3 MPEG-2 decoder board dxr3Player is a DVD player for Linux and the \
6 DXR3 (aka Hollywood+) MPEG-2 decoder board. It can now also play DVDs without a DXR3 board, \
7 using the X Window System through the SDL library."
9 url="http://dxr3player.sourceforge.net/"
11 depends=('em8300-utils>=0.17.4' 'em8300>=0.17.4' 'libmad' 'libmpeg2' 'sdl' 'lirc' 'lirc-utils')
12 makedepends=('cvs' 'em8300-utils>=0.17.4' 'gcc' 'libpng')
13 #provides=('dxr3player')
14 conflicts=('dxr3player')
15 replaces=('dxr3player')
16 _cvsroot=":pserver:anonymous@dxr3player.cvs.sourceforge.net:/cvsroot/dxr3player"
23 msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
24 if [ -d $_cvsmod/CVS ]; then
28 cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
33 msg "CVS checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_cvsmod-build"
37 cp -r "$srcdir/$_cvsmod" "$srcdir/$_cvsmod-build"
38 cd "$srcdir/$_cvsmod-build"
41 autoheader || return 1
42 automake --add-missing --copy || return 1
45 ./configure --prefix=/usr --enable-overlay --with-lirc=/usr --enable-static-lirc --enable-joystick --with-em8300=/usr --with-sdl || return 1
48 make DESTDIR=$pkgdir install
49 mkdir -p $pkgdir/usr/share/dxr3player/info
50 cp misc/info/*.* $pkgdir/usr/share/dxr3player/info/