]> code.ossystems Code Review - openembedded-core.git/commitdiff
gstreamer1.0-meta-base: make gstreamer1.0-plugins-base-alsa conditional
authorAndre McCurdy <armccurdy@gmail.com>
Tue, 9 Feb 2016 19:07:03 +0000 (11:07 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Feb 2016 12:27:28 +0000 (12:27 +0000)
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@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb

index ffffa63d5d6d2d65295c5076af4cd321e1a8a438..ecfd082517645277f4b3f798792a277797590ca5 100644 (file)
@@ -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 \