aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2016-11-08 17:38:04 +0000
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2016-11-08 17:38:04 +0000
commit7be7a1c3dd1a81628ed521c0630b0efb44c6de17 (patch)
treefdcafeca11c2cc197bb3c76dd80716a2786a8a3c
parent94d0a8dbb78773d691406b4e25600706cc3253e0 (diff)
downloadmeta-qcom-7be7a1c3dd1a81628ed521c0630b0efb44c6de17.tar.gz
meta-qcom-7be7a1c3dd1a81628ed521c0630b0efb44c6de17.tar.bz2
meta-qcom-7be7a1c3dd1a81628ed521c0630b0efb44c6de17.zip
gstreamer1.0-plugins-bad: fix the logic to set GL option in -bad
The purpose of this .bbappend file is to enable the right GL config option in Gstreamer -bad plugins for qcom based chipset. The current logic was broken: when building with no x11 and no wayland in DISTRO_FEATURES we would set PACKAGECONFIG_GL to opengl which is wrong, since opengl depends on x11 (in -bad). So the right thing to do is to set it to opengl is x11 is in DISTRO_FEATURES and gles2 otherwise, e.g. when building for wayland only (no X11) and for use cases such as Qt5/EGLFS that does not use x11 nor wayland. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
index 13d759a..b40701d 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
@@ -1,4 +1,4 @@
-GST_BAD_OPENGL_FEATURES= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'gles2', 'opengl', d)}"
+GST_BAD_OPENGL_FEATURES= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', 'gles2', d)}"
# We want OpenGL with freedreno for our machines
PACKAGECONFIG_GL_apq8064 = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${GST_BAD_OPENGL_FEATURES}', '', d)}"