1 # Maintainer: David Spicer <azleifel at googlemail dot com>
2 # Contributor: Franz Burgmann <f dot burgmann at gmail dot com>
4 pkgname=vdr-xineliboutput
5 _pluginname=xineliboutput
9 pkgdesc="A VDR plugin that allows VDR to be used with budget cards (alternative to vdr-xine)"
10 url="http://sourceforge.net/projects/xineliboutput/"
12 depends=('dbus-glib' 'libextractor' 'vdr' 'xine-lib')
13 makedepends=('pkg-config')
14 optdepends=('xine-ui: An alternative frontend')
15 install=${pkgname}.install
16 source=(http://prdownloads.sourceforge.net/sourceforge/xineliboutput/${pkgname}-${pkgver}.tar.bz2
17 remote.conf.LIRC.devinput
18 remote.conf.LIRC.mceusb
21 md5sums=('ad31072bb2b9da1de9e20dcb92934f15'
22 '8781115ebac9dc500d4096c376c8d605'
23 '8a1d026743620a3f5fd2e9c31155c69d'
24 'de4b514c2a5e6d84dc4b87ea3b9fde9e'
25 '2d5cef1e40a5c7b920ea75c3d129c61f')
28 cd "${srcdir}/${_pluginname}-${pkgver}"
30 # Assumed VDR directory environment (VDRDIR/Make.config):
31 # MANDIR = /usr/share/man
33 # LOCDIR = /usr/share/locale
34 # PLUGINLIBDIR = /usr/lib/vdr
35 # VIDEODIR = /var/spool/video
38 install -d -m755 "${pkgdir}/usr/lib/vdr"
39 install -d -m755 "${pkgdir}/usr/share/doc/${pkgname}"
40 install -d -m755 "${pkgdir}/usr/share/locale"
42 make VDRDIR="/usr/include/vdr" \
43 LIBDIR="${pkgdir}/usr/lib/vdr" \
44 LOCALEDIR="${pkgdir}/usr/share/locale" \
45 DESTDIR="${pkgdir}" install
47 # Install documents and example remote.conf
48 for _file in HISTORY README examples/remote.conf.example "${srcdir}/remote.conf.LIRC.devinput" "${srcdir}/remote.conf.LIRC.mceusb"; do
49 install -m644 "${_file}" "${pkgdir}/usr/share/doc/${pkgname}/${_file##*/}"
52 # Install homebrew desktop files
53 install -D -m644 "${srcdir}/vdr-sxfe.desktop" "${pkgdir}/usr/share/applications/vdr-sxfe.desktop"
54 install -m644 "${srcdir}/vdr-xine-ui.desktop" "${pkgdir}/usr/share/applications/vdr-xine-ui.desktop"