summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-connectivity/rygel/rygel_0.26.1.bb
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2015-10-12 13:40:35 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2015-10-23 12:53:22 +0200
commitfca75f1219aa4a4648d7c7d16d43f2d84c4bbef9 (patch)
tree7448518c25b4989da52ec7b6dca75cc316e8467f /meta-multimedia/recipes-connectivity/rygel/rygel_0.26.1.bb
parent4d3906d98a13c831089c60541504cdc708574992 (diff)
downloadmeta-openembedded-fca75f1219aa4a4648d7c7d16d43f2d84c4bbef9.tar.gz
rygel: Add recipe
Rygel is a UPnP Audio-Video media server, that allows to share media files to other devices. It can also become a MediaRenderer controlled by UPnP or DLNA Controllers. Rygel makes use of the GStreamer library to recognize and index media files. UPnp clients will then be able to browse through them with the aid of metadata (artist, date...). We do not propose to build without GStreamer support (because then if cannot parse any actual media file, and this is pointless), and for the same reason always include the GStreamer engine in the main package ; but allow separate packages for plugins. (disable tracker plugin for now, because it pulls 3 layers and needs us to have a PREFERRED udev provider, which is a bit extreme for a first version) Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh> Author: Manuel Bachmann <manuel.bachmann@iot.bzh> Author: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-connectivity/rygel/rygel_0.26.1.bb')
-rw-r--r--meta-multimedia/recipes-connectivity/rygel/rygel_0.26.1.bb58
1 files changed, 58 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-connectivity/rygel/rygel_0.26.1.bb b/meta-multimedia/recipes-connectivity/rygel/rygel_0.26.1.bb
new file mode 100644
index 000000000..af3f2be26
--- /dev/null
+++ b/meta-multimedia/recipes-connectivity/rygel/rygel_0.26.1.bb
@@ -0,0 +1,58 @@
1SUMMARY = "A UPnP AV media server and renderer"
2DESCRIPTION = "Rygel is a home media solution (UPnP AV MediaServer) that \
3allow you to easily share audio, video and pictures to other devices. \
4Additionally, media player software may use Rygel to become a MediaRenderer \
5that may be controlled remotely by a UPnP or DLNA Controller."
6HOMEPAGE = "http://live.gnome.org/Rygel"
7
8LICENSE = "LGPLv2+"
9LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
10 file://src/rygel/rygel-main.vala;endline=25;md5=a4cce4d389da1c1638fe68d07ae9d811"
11
12DEPENDS = "libxml2 glib-2.0 gssdp gupnp gupnp-av gupnp-dlna gstreamer1.0 gstreamer1.0-plugins-base ossp-uuid libgee libsoup-2.4 libmediaart-2.0"
13RDEPENDS_${PN} = "gstreamer1.0-plugins-base-playback shared-mime-info"
14
15GNOME_COMPRESS_TYPE = "xz"
16SRC_URI[archive.md5sum] = "f182d54913a528bb5b4fb2f291aca0fc"
17SRC_URI[archive.sha256sum] = "390740609e34399b886ddb9a8f7eca25055ad72048dfdd869edf02999b1e1d8f"
18
19inherit gnomebase vala
20
21EXTRA_OECONF = "--disable-introspection --disable-tracker-plugin --with-media-engine=gstreamer"
22
23PACKAGECONFIG ?= "external mpris mediathek ruih media-export gst-launch gtk+3"
24PACKAGECONFIG[external] = "--enable-external-plugin,--disable-external-plugin"
25PACKAGECONFIG[mpris] = "--enable-mpris-plugin,--disable-mpris-plugin"
26PACKAGECONFIG[mediathek] = "--enable-mediathek-plugin,--disable-mediathek-plugin"
27PACKAGECONFIG[ruih] = "--enable-ruih-plugin,--disable-ruih-plugin"
28PACKAGECONFIG[media-export] = "--enable-media-export-plugin,--disable-media-export-plugin,sqlite3"
29PACKAGECONFIG[gst-launch] = "--enable-gst-launch-plugin,--disable-gst-launch-plugin"
30PACKAGECONFIG[gtk+3] = ",--without-ui,gtk+3"
31
32LIBV = "2.6"
33
34do_install_append() {
35 # Remove .la files for loadable modules
36 rm -f ${D}/${libdir}/rygel-${LIBV}/engines/*.la
37 rm -f ${D}/${libdir}/rygel-${LIBV}/plugins/*.la
38}
39
40FILES_${PN} += "${libdir}/rygel-${LIBV}/engines ${datadir}/dbus-1 ${datadir}/icons"
41FILES_${PN}-dbg += "${libdir}/rygel-${LIBV}/engines/.debug ${libdir}/rygel-${LIBV}/plugins/.debug"
42
43PACKAGES += "${PN}-meta"
44ALLOW_EMPTY_${PN}-meta = "1"
45
46PACKAGES_DYNAMIC = "${PN}-plugin-*"
47
48python populate_packages_prepend () {
49 rygel_libdir = d.expand('${libdir}/rygel-${LIBV}')
50 postinst = d.getVar('plugin_postinst', True)
51 pkgs = []
52
53 pkgs += do_split_packages(d, oe.path.join(rygel_libdir, "plugins"), 'librygel-(.*)\.so$', d.expand('${PN}-plugin-%s'), 'Rygel plugin for %s', postinst=postinst, extra_depends=d.expand('${PN}'))
54 pkgs += do_split_packages(d, oe.path.join(rygel_libdir, "plugins"), '(.*)\.plugin$', d.expand('${PN}-plugin-%s'), 'Rygel plugin for %s', postinst=postinst, extra_depends=d.expand('${PN}'))
55
56 metapkg = d.getVar('PN', True) + '-meta'
57 d.setVar('RDEPENDS_' + metapkg, ' '.join(pkgs))
58}