Return-Path: Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by mail.openembedded.org (Postfix) with ESMTP id 007F173CBD for ; Thu, 8 Oct 2015 08:07:20 +0000 (UTC) Received: by wiclk2 with SMTP id lk2so16468370wic.0 for ; Thu, 08 Oct 2015 01:07:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=koumoul.net; s=dkim; h=sender:from:to:cc:subject:date:message-id; bh=DdfAM0F6Iu9pdQax1CE/xpwp+Yky7ksj0ss04OWk8Jk=; b=SWn4DLcbojF2izy8npuYaRehAfeE1SAVMDEKddOdVf6X8KeJa7Axl/RPVnMBc1uSyI 8l7/Jj1V1ssxSTR+ziHXy4gRVfN8KzqMsRuAD1WKsbJEXcuu12Cn6y5hoYmdshKbUDv3 1VGmS+jnSFXYD/csOWY4LN19Q4Vttz9E0PrZk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=DdfAM0F6Iu9pdQax1CE/xpwp+Yky7ksj0ss04OWk8Jk=; b=SdJttsAyzebTuoWYqIOg9EZGOsGucnx1+PY1DQFoJgLynaskCGW8O2aR3oMz5SDTYY cTkZ2d+6V9CSd8RT6Cec1vnyS+MZZDWlHHrNj+z1oi5dWAySVf1hW3d78ZxKS+uCg2jg REgUpEA16zGtYbfgFQGqHaBajp7viHOyZHPttZAQ3sMgkpjjXeu7W4ueoLvAtm0MDS3w PhO66itmjE10WNiPp7DPYrSIpQ9SHcr1WxfP3arE+riNqMx6yY1BiYovlvNeoVlqzz6F BP/Zhhvd1U1IhkfUJvaNbb1zAGqSeaFTmxJlW8dJPoNfxYZc10heaO0WKyGL7r61dgxl qX9A== X-Gm-Message-State: ALoCoQkXvLztmQnChza5JJerTs1d9NAJ4NaAlWzr2wJVRseXPDLUytF+AEsjqd8ax3MX8mye0dDE X-Received: by 10.180.19.41 with SMTP id b9mr2231080wie.71.1444291640807; Thu, 08 Oct 2015 01:07:20 -0700 (PDT) Received: from localhost.localdomain (ARennes-655-1-187-70.w2-13.abo.wanadoo.fr. [2.13.130.70]) by smtp.gmail.com with ESMTPSA id uq5sm44471027wjc.3.2015.10.08.01.07.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2015 01:07:20 -0700 (PDT) Sender: "Manuel Bachmann [ IoT.bzh ]" From: Manuel Bachmann To: openembedded-devel@lists.openembedded.org Date: Thu, 8 Oct 2015 10:10:53 +0200 Message-Id: <1444291853-5397-1-git-send-email-manuel.bachmann@iot.bzh> X-Mailer: git-send-email 1.8.3.1 Subject: [PATCH 3/3 v2][meta-multimedia] rygel: Add recipe X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 08:07:21 -0000 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 Author: Manuel Bachmann Author: Ross Burton --- .../recipes-connectivity/rygel/rygel_0.26.1.bb | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 meta-multimedia/recipes-connectivity/rygel/rygel_0.26.1.bb 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 0000000..3862b1e --- /dev/null +++ b/meta-multimedia/recipes-connectivity/rygel/rygel_0.26.1.bb @@ -0,0 +1,59 @@ +SUMMARY = "A UPnP AV media server and renderer" +DESCRIPTION = "Rygel is a home media solution (UPnP AV MediaServer) that \ +allow you to easily share audio, video and pictures to other devices. \ +Additionally, media player software may use Rygel to become a MediaRenderer \ +that may be controlled remotely by a UPnP or DLNA Controller." +HOMEPAGE = "http://live.gnome.org/Rygel" + +LICENSE = "LGPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ + file://src/rygel/rygel-main.vala;endline=25;md5=a4cce4d389da1c1638fe68d07ae9d811" + +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" +RDEPENDS_${PN} = "gstreamer1.0-plugins-base-playback shared-mime-info" + +GNOME_COMPRESS_TYPE = "xz" +SRC_URI[archive.md5sum] = "f182d54913a528bb5b4fb2f291aca0fc" +SRC_URI[archive.sha256sum] = "390740609e34399b886ddb9a8f7eca25055ad72048dfdd869edf02999b1e1d8f" + +inherit gnomebase + +EXTRA_OECONF = "--disable-introspection --disable-tracker-plugin --with-media-engine=gstreamer" + +PACKAGECONFIG ?= "external mpris mediathek ruih media-export gst-launch gtk+3" +PACKAGECONFIG[external] = "--enable-external-plugin,--disable-external-plugin" +PACKAGECONFIG[mpris] = "--enable-mpris-plugin,--disable-mpris-plugin" +PACKAGECONFIG[mediathek] = "--enable-mediathek-plugin,--disable-mediathek-plugin" +PACKAGECONFIG[ruih] = "--enable-ruih-plugin,--disable-ruih-plugin" +PACKAGECONFIG[media-export] = "--enable-media-export-plugin,--disable-media-export-plugin,sqlite3" +PACKAGECONFIG[gst-launch] = "--enable-gst-launch-plugin,--disable-gst-launch-plugin" +PACKAGECONFIG[gtk+3] = ",--without-ui,gtk+3" + +LIBV = "2.6" + +do_install_append() { + # Remove .la files for loadable modules + rm -f ${D}/${libdir}/rygel-${LIBV}/engines/*.la + rm -f ${D}/${libdir}/rygel-${LIBV}/plugins/*.la +} + +FILES_${PN} += "${libdir}/rygel-${LIBV}/engines ${datadir}/dbus-1 ${datadir}/icons" +FILES_${PN}-dev += "${datadir}/vala" +FILES_${PN}-dbg += "${libdir}/rygel-${LIBV}/engines/.debug ${libdir}/rygel-${LIBV}/plugins/.debug" + +PACKAGES += "${PN}-meta" +ALLOW_EMPTY_${PN}-meta = "1" + +PACKAGES_DYNAMIC = "${PN}-plugin-*" + +python populate_packages_prepend () { + rygel_libdir = d.expand('${libdir}/rygel-${LIBV}') + postinst = d.getVar('plugin_postinst', True) + pkgs = [] + + 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}')) + 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}')) + + metapkg = d.getVar('PN', True) + '-meta' + d.setVar('RDEPENDS_' + metapkg, ' '.join(pkgs)) +} -- 1.8.3.1