summaryrefslogtreecommitdiff
path: root/recipes/gnome/gnome-dvb-daemon_0.1.18.bb
blob: ea13d5d30ef5a155e1ac96bcfce5b8e4bd38e6b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
DESCRIPTION = "GNOME DVB Daemon is a daemon written in Vala based on GStreamer to setup your DVB devices, record and watch TV shows and browse EPG. It can be controlled by any application via its D-Bus interface."
LICENSE = "GPLv3"

DEPENDS = "libxml2 python-dbus python-gst python-pygtk libgee vala-native gstreamer gst-plugins-good gst-plugins-bad glib-2.0 dbus-glib sqlite3 gst-rtsp"
RDEPENDS_${PN} = "python-netserver python-dbus python-gst python-pygtk gst-plugin-dvb gst-fluendo-mpegdemux dvb-apps dvb-scan dvb-tzap dvb-czap dvbstream"

inherit gnome

SRC_URI = "http://launchpad.net/gnome-dvb-daemon/trunk/${PV}/+download/gnome-dvb-daemon-${PV}.tar.bz2;name=archive"

SRC_URI[archive.md5sum] = "2ca8768174e5a90ffe44e954b6503ef2"
SRC_URI[archive.sha256sum] = "a961ce6ea4e59fc5a316eeafe03db3aadd964eec19d9bd9b5342eea39acfdfa2"

# We have no use for checking using gst-inspect when crosscompiling, so sed out the check
do_configure_prepend() {
	sed -i -e /AG_GST_CHECK_GST_INSPECT/d \
	       -e /G_GST_CHECK_MODULE/d \
	       -e /AM_CHECK_PYMOD/d \
	       ${S}/configure.ac
	sed -i -e 's:PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}":PYTHON_INCLUDES="-I${STAGING_INCDIR}/python$PYTHON_VERSION":g' \
	       -e 's:PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}":PYTHON_INCLUDES="-I${STAGING_INCDIR}/python$PYTHON_VERSION":g' \
	       ${S}/m4/python.m4
}

# TODO: split out UI and python stuff
FILES_${PN} += "${datadir}/dbus-1 ${libdir}/python*"
FILES_${PN}-dbg += "${libdir}/python*/*/*/*/.debug"