[OE-core] [PATCH] gst-meta-base: Make ximagesing optional on x11 DISTRO_FEATURE

Saul Wold sgw at linux.intel.com
Mon Nov 26 06:15:11 UTC 2012


If x11 is disabled from DISTRO_FEATURE we don't build the ximagesink
package, but it still becomes a dependency in the final image which
causes a failure

Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
 .../gstreamer/gst-meta-base_0.10.bb                |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb b/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
index 2fb39d5..0889437 100644
--- a/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
@@ -16,7 +16,10 @@ PACKAGES = "\
 
 ALLOW_EMPTY = "1"
 
+X11_RDEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', 'gst-plugin-base-ximagesink', '', d)}"
+
 RDEPENDS_gst-meta-base = "\
+    ${X11_RDEPENDS} \
     gstreamer \
     gst-plugins-base-playbin \
     gst-plugins-base-decodebin \
-- 
1.7.9.5





More information about the Openembedded-core mailing list