diff options
Diffstat (limited to 'meta-multimedia/recipes-connectivity/rygel/rygel_0.28.2.bb')
-rw-r--r-- | meta-multimedia/recipes-connectivity/rygel/rygel_0.28.2.bb | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-connectivity/rygel/rygel_0.28.2.bb b/meta-multimedia/recipes-connectivity/rygel/rygel_0.28.2.bb new file mode 100644 index 000000000..663f55ebe --- /dev/null +++ b/meta-multimedia/recipes-connectivity/rygel/rygel_0.28.2.bb | |||
@@ -0,0 +1,59 @@ | |||
1 | SUMMARY = "A UPnP AV media server and renderer" | ||
2 | DESCRIPTION = "Rygel is a home media solution (UPnP AV MediaServer) that \ | ||
3 | allow you to easily share audio, video and pictures to other devices. \ | ||
4 | Additionally, media player software may use Rygel to become a MediaRenderer \ | ||
5 | that may be controlled remotely by a UPnP or DLNA Controller." | ||
6 | HOMEPAGE = "http://live.gnome.org/Rygel" | ||
7 | |||
8 | LICENSE = "LGPLv2+" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
10 | file://src/rygel/rygel-main.vala;endline=27;md5=99324118da4c012d25edae2f779ae9b3" | ||
11 | |||
12 | DEPENDS = "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 libunistring sqlite3" | ||
13 | RDEPENDS_${PN} = "gstreamer1.0-plugins-base-playback shared-mime-info" | ||
14 | RRECOMMENDS_${PN} = "rygel-plugin-media-export" | ||
15 | |||
16 | GNOME_COMPRESS_TYPE = "xz" | ||
17 | SRC_URI[archive.md5sum] = "9fbe4fb53b6cfa2f3f3723b7649a2215" | ||
18 | SRC_URI[archive.sha256sum] = "9ea23df7186caac5f1aad3137edf6d507d339b9a469fc3133df4043fa66b61f5" | ||
19 | |||
20 | inherit gnomebase vala | ||
21 | |||
22 | EXTRA_OECONF = "--disable-introspection --disable-tracker-plugin --with-media-engine=gstreamer" | ||
23 | |||
24 | PACKAGECONFIG ?= "external mpris mediathek ruih media-export gst-launch gtk+3" | ||
25 | PACKAGECONFIG[external] = "--enable-external-plugin,--disable-external-plugin" | ||
26 | PACKAGECONFIG[mpris] = "--enable-mpris-plugin,--disable-mpris-plugin" | ||
27 | PACKAGECONFIG[mediathek] = "--enable-mediathek-plugin,--disable-mediathek-plugin" | ||
28 | PACKAGECONFIG[ruih] = "--enable-ruih-plugin,--disable-ruih-plugin" | ||
29 | PACKAGECONFIG[media-export] = "--enable-media-export-plugin,--disable-media-export-plugin" | ||
30 | PACKAGECONFIG[gst-launch] = "--enable-gst-launch-plugin,--disable-gst-launch-plugin" | ||
31 | PACKAGECONFIG[gtk+3] = ",--without-ui,gtk+3" | ||
32 | |||
33 | LIBV = "2.6" | ||
34 | |||
35 | do_install_append() { | ||
36 | # Remove .la files for loadable modules | ||
37 | rm -f ${D}/${libdir}/rygel-${LIBV}/engines/*.la | ||
38 | rm -f ${D}/${libdir}/rygel-${LIBV}/plugins/*.la | ||
39 | } | ||
40 | |||
41 | FILES_${PN} += "${libdir}/rygel-${LIBV}/engines ${datadir}/dbus-1 ${datadir}/icons" | ||
42 | FILES_${PN}-dbg += "${libdir}/rygel-${LIBV}/engines/.debug ${libdir}/rygel-${LIBV}/plugins/.debug" | ||
43 | |||
44 | PACKAGES += "${PN}-meta" | ||
45 | ALLOW_EMPTY_${PN}-meta = "1" | ||
46 | |||
47 | PACKAGES_DYNAMIC = "${PN}-plugin-*" | ||
48 | |||
49 | python populate_packages_prepend () { | ||
50 | rygel_libdir = d.expand('${libdir}/rygel-${LIBV}') | ||
51 | postinst = d.getVar('plugin_postinst', True) | ||
52 | pkgs = [] | ||
53 | |||
54 | 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}')) | ||
55 | 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}')) | ||
56 | |||
57 | metapkg = d.getVar('PN', True) + '-meta' | ||
58 | d.setVar('RDEPENDS_' + metapkg, ' '.join(pkgs)) | ||
59 | } | ||