The gst-plugins-gl can only be included for boards using the FSL
plugin. This allow us to build a X11 image for an i.MX6-based device
which uses the Linux mainline kernel.

Change-Id: I34e0d8b4552a7f7122c4b97e8906781d95f1c2c5
Signed-off-by: Otavio Salvador <[email protected]>
Reported-by: Nikolay Dimitrov <[email protected]>
---
 recipes-fsl/packagegroups/packagegroup-fsl-gstreamer-full.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer-full.bb 
b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer-full.bb
index 25b26f6..98da365 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer-full.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer-full.bb
@@ -13,6 +13,9 @@ PACKAGE_ARCH_mx6sl = "${MACHINE_ARCH}"
 
 inherit packagegroup
 
+GST_PLUGIN_SPECIFIC = "${@base_contains('MACHINE_GSTREAMER_PLUGIN', 
'gst-fsl-plugin', \
+                                        'gst-plugins-gl', '', d)}"
+
 RDEPENDS_${PN} = " \
     packagegroup-fsl-gstreamer \
     gst-plugins-base-meta \
@@ -20,7 +23,7 @@ RDEPENDS_${PN} = " \
     gst-plugins-bad-meta \
     ${@base_contains('DISTRO_FEATURES', 'opengl', \
                       base_contains('DISTRO_FEATURES', 'x11', \
-                                    'gst-plugins-gl', '', d), '', d)} \
+                                    '${GST_PLUGIN_SPECIFIC}', '', d), '', d)} \
 "
 # FIXME: i.MX6SL cannot use mesa for Graphics and it lacks 3D support,
 #        so skip it for now.
-- 
2.1.4

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to