1 # Maintainer: Franz Burgmann <f dot burgmann at gmail dot com>
6 pkgdesc="xine-ui with VDR keys enabled."
9 url="http://xinehq.de/"
10 depends=('xine-lib-vdr' 'curl>=7.16.2' 'libxtst' 'libxinerama' 'libxv' 'libpng' 'libxft' 'libsm' 'libxxf86vm' 'ncurses>=5.6-7')
11 makedepends=('lirc' 'libxt')
15 options=('!emptydirs')
16 source=(http://downloads.sourceforge.net/sourceforge/xine/xine-ui-${pkgver}.tar.gz)
17 md5sums=('e643cd1fcad4d98a5ae4eb877ce5087b')
20 cd ${srcdir}/xine-ui-${pkgver}
22 #add missing constant (defined in xine.h from xine-lib cvs)
23 echo '#define XINE_MSG_AUDIO_OUT_UNAVAILABLE 11' >> src/xitk/common.h
24 ./configure --prefix=/usr --mandir=/usr/share/man --enable-vdr-keys \
25 --with-curses --with-x --enable-lirc --without-aalib
27 make DESTDIR=${pkgdir} install
28 install -d ${pkgdir}/usr/share/applications
29 echo "Categories=Application;AudioVideo;" >> ${pkgdir}/usr/share/xine/desktop/xine.desktop
30 mv ${pkgdir}/usr/share/xine/desktop/xine.desktop ${pkgdir}/usr/share/applications