packagegroup-fsl-gstreamer-full: Proper handle GL plugin inclusion

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 <otavio@ossystems.com.br>
Reported-by: Nikolay Dimitrov <picmaster@mail.bg>
This commit is contained in:
Otavio Salvador 2015-05-12 08:59:44 -03:00
parent b9103df7df
commit 1238a5709c

View File

@ -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.