aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2021-04-10 11:44:51 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2021-04-10 11:44:51 -0300
commitff7dbbb6ab83206e509a02039db4aad54c9cf42a (patch)
treee52c93e9da57a92d9eca691d5455ae667d32a2ac
parent492999986124b5e960d0e21fc81d341458d6c5ad (diff)
downloadmeta-freescale-ff7dbbb6ab83206e509a02039db4aad54c9cf42a.tar.gz
meta-freescale-ff7dbbb6ab83206e509a02039db4aad54c9cf42a.tar.bz2
meta-freescale-ff7dbbb6ab83206e509a02039db4aad54c9cf42a.zip
gstreamer1.0-plugins-bad: Fix build for GPU-less machinesmaster-next
In case we are building for a GPU-less machine (e.g: i.MX6UL) using a distro without OpenGL support, was triggering a wrong build dependency chain. Now, we enable gles2 backend only if the distro has OpenGL support. Fixes: #684. Fixes: 61fac596 ("gstreamer1.0-plugins-bad: Let processors with pxp chose the correct Opengl API") Change-Id: I275299d20065309d753ebc7774ab1fcc5bea7113
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.3.imx.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.3.imx.bb
index 8064d430..6925611a 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.3.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.3.imx.bb
@@ -37,7 +37,7 @@ DEPENDS += "gstreamer1.0-plugins-base"
inherit gobject-introspection
PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)}"
-PACKAGECONFIG_GL_imxpxp = "gles2"
+PACKAGECONFIG_GL_imxpxp = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
PACKAGECONFIG ??= " \
${GSTREAMER_ORC} \