Skip to contentSkip to conversation

Make inclusion of gstreamer1.0-plugins-base-alsa conditional on DISTRO_FEATURES

PATCH New Matt Madison 1 participant 1 message Feb 11, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make inclusion of gstreamer1.0-plugins-base-alsa conditional on DISTRO_FEATURES

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.

---
 recipes-multimedia/packagegroups/packagegroup-fslc-gstreamer1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-multimedia/packagegroups/packagegroup-fslc-gstreamer1.0.bb +1 -1
index d311671..06947c0 100644
@@ -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 \
Signature · 1 line
1.9.1