1 # Contributor: Franz Burgmann <f dot burgmann at gmail dot com>
6 pkgdesc="xine-lib with additional support for VDR."
8 url="http://xinehq.de/"
11 conflicts=('xine-lib')
12 depends=('libgl' 'libxvmc' 'esound' 'flac' 'libvorbis' 'sdl' 'libmng' 'libtheora' 'libxcb' 'wavpack' 'ffmpeg' 'heimdal' 'autoconf')
13 optdepends=('vdr-xine')
14 makedepends=('pkgconfig' 'libtool' 'imagemagick' 'smbclient' 'mesa' 'alsa-lib'
15 'vcdimager' 'jack-audio-connection-kit')
17 source=(http://downloads.sourceforge.net/sourceforge/xine/xine-lib-${pkgver}.tar.bz2)
19 md5sums=('4f508abf088cf427a731f85634c8260d')
22 cd ${srcdir}/xine-lib-${pkgver}
24 patch -p1 < ../../xine-lib.patch
26 libtoolize --force --copy || return 1
27 aclocal -I m4 || return 1
29 automake --add-missing || return 1
31 ./configure --prefix=/usr --with-w32-path=/usr/lib/codecs \
32 --with-xv-path=/usr/lib --with-xxmc-path=/usr/lib --with-xvmc-path=/usr/lib \
33 --with-libflac --with-wavpack --with-xcb \
34 --without-arts --with-jack --without-speex \
35 --disable-gnomevfs --without-pulseaudio --disable-aalib \
36 --disable-modplug --with-external-ffmpeg || return 1
38 make DESTDIR=${pkgdir} install || return 1