1 # Contributor: David Spicer <azleifel at googlemail dot com>
3 pkgname=gnome-dvb-daemon
6 pkgdesc="A daemon to setup DVB devices, record and watch TV shows and browse EPG"
8 url="http://live.gnome.org/DVBDaemon"
10 depends=('gstreamer0.10-bad-plugins' 'gstreamer0.10-good-plugins'
11 'gstreamer0.10-rtsp>=0.10.7' 'hicolor-icon-theme' 'libgee'
12 'python2-gobject' 'vala')
13 makedepends=('pkg-config' 'intltool' 'totem')
14 optdepends=('linuxtv-dvb-apps: For initial tuning data'
15 'totem: To watch live TV streamed by gnome-dvb-daemon')
17 install=${pkgname}.install
18 source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-dvb-daemon/0.2/${pkgname}-${pkgver}.tar.xz)
19 md5sums=('c7c3489b5437073ff90d806ee4db6caf')
22 cd "${srcdir}/${pkgname}-${pkgver}"
27 install -d -m755 "${pkgdir}/usr/share/doc/${pkgname}"
29 for _file in client/gnome-dvb-control client/gnome-dvb-setup; do
30 sed -i -e '1c#!/usr/bin/env python2' "${_file}"
33 PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc --enable-totem-plugin
35 make DESTDIR="${pkgdir}" install
38 install -m644 -t "${pkgdir}/usr/share/doc/${pkgname}" AUTHORS ChangeLog NEWS README