[OE-core] [PATCH] gstreamer1.0-meta-base: make gstreamer1.0-plugins-base-alsa conditional

Andre McCurdy armccurdy at gmail.com
Tue Feb 9 19:07:03 UTC 2016


Include gstreamer1.0-plugins-base-alsa in gstreamer1.0-meta-base only
if "alsa" is present in both MACHINE and DISTRO features.

Note that building of the plugin by gstreamer1.0-plugins-base is
already conditional (based on the "alsa" DISTRO feature).

Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
index ffffa63..ecfd082 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
@@ -26,7 +26,7 @@ RDEPENDS_gstreamer1.0-meta-base = "\
     gstreamer1.0 \
     gstreamer1.0-plugins-base-playback \
     gstreamer1.0-plugins-base-gio \
-    gstreamer1.0-plugins-base-alsa \
+    ${@bb.utils.contains('COMBINED_FEATURES', 'alsa', 'gstreamer1.0-plugins-base-alsa', '',d)} \
     gstreamer1.0-plugins-base-volume \
     gstreamer1.0-plugins-base-audioconvert \
     gstreamer1.0-plugins-base-audioresample \
-- 
1.9.1




More information about the Openembedded-core mailing list