diff mbox

gstreamer1.0-plugins-bad: default to using egl

Message ID 20161215144011.1761-1-nicolas.dechesne@linaro.org
State Accepted
Commit a4111417b1b46cc852bf96a443b0edb0a525f346
Headers show

Commit Message

Nicolas Dechesne Dec. 15, 2016, 2:40 p.m. UTC
With the current set of PACKAGECONFIG, we end up building with 'gles2' and neither
'opengl', nor 'egl'. As a result we are building -bad with neither 'glx' nor
'egl' platform support. So let's make sure that we at least have egl by default
(since we default to 'gles2').

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>

---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Khem Raj Dec. 15, 2016, 4:30 p.m. UTC | #1
On Thu, Dec 15, 2016 at 6:40 AM, Nicolas Dechesne
<nicolas.dechesne@linaro.org> wrote:
> With the current set of PACKAGECONFIG, we end up building with 'gles2' and neither

> 'opengl', nor 'egl'. As a result we are building -bad with neither 'glx' nor

> 'egl' platform support. So let's make sure that we at least have egl by default

> (since we default to 'gles2').


This looks ok. meta-raspberrypi will be able to unbolt one of fixes
its carrying in own layer.

>

> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>

> ---

>  meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

>

> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc

> index d3c5326d45..3cb7ab1ae1 100644

> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc

> +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc

> @@ -12,7 +12,7 @@ SRC_URI_append = " \

>

>  # opengl packageconfig factored out to make it easy for distros

>  # and BSP layers to pick either (desktop) opengl, gles2, or no GL

> -PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"

> +PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}"

>

>  # gtk is not in the PACKAGECONFIG variable by default until

>  # the transition to gtk+3 is finished

> --

> 2.11.0

>

> --

> _______________________________________________

> Openembedded-core mailing list

> Openembedded-core@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox

Patch

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
index d3c5326d45..3cb7ab1ae1 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
@@ -12,7 +12,7 @@  SRC_URI_append = " \
 
 # opengl packageconfig factored out to make it easy for distros
 # and BSP layers to pick either (desktop) opengl, gles2, or no GL
-PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
+PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}"
 
 # gtk is not in the PACKAGECONFIG variable by default until
 # the transition to gtk+3 is finished