[meta-freescale] [meta-fsl-demos][PATCH] Make inclusion of gstreamer1.0-plugins-base-alsa conditional on DISTRO_FEATURES

Matt Madison matt at madison.systems
Wed Feb 11 05:22:14 PST 2015


If 'alsa' is not in DISTRO_FEATURES, gstreamer1.0-plugins-base configures
the alsa plugin out of its build.  Unconditionally including it in the packagegroup
leads to rootfs creation failures, as the package manager cannot satisfy the
dependency.

Signed-off-by: Matt Madison <matt at madison.systems>
---
 recipes-multimedia/packagegroups/packagegroup-fslc-gstreamer1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-multimedia/packagegroups/packagegroup-fslc-gstreamer1.0.bb b/recipes-multimedia/packagegroups/packagegroup-fslc-gstreamer1.0.bb
index d311671..06947c0 100644
--- a/recipes-multimedia/packagegroups/packagegroup-fslc-gstreamer1.0.bb
+++ b/recipes-multimedia/packagegroups/packagegroup-fslc-gstreamer1.0.bb
@@ -44,7 +44,7 @@ GST_WAYLAND_PACKAGES = " \
 RDEPENDS_${PN}-base = " \
     gstreamer1.0 \
     gstreamer1.0-plugins-base-playback \
-    gstreamer1.0-plugins-base-alsa \
+    ${@base_contains('DISTRO_FEATURES', 'alsa', 'gstreamer1.0-plugins-base-alsa', '', d)} \
     gstreamer1.0-plugins-base-audioconvert \
     gstreamer1.0-plugins-base-audioresample \
     gstreamer1.0-plugins-base-gio \
-- 
1.9.1



More information about the meta-freescale mailing list