* [Buildroot] [git commit branch/next] package/sdl2: be explicit about OpenGL ES options
@ 2022-08-22 14:13 Yann E. MORIN
2022-09-17 6:47 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2022-08-22 14:13 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=d6df46fb145c4211b0750b0362b6e3ca832e8231
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
In addition to --enable-video-opengles, SDL2 configure script also
looks at --enable-video-opengles1 and --enable-video-opengles2. Since
all OpenGL ES providers in Buildroot provide at least up to OpenGL ES
2, enable both options when BR2_PACKAGE_SDL2_OPENGLES=y.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr: split long lines]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
package/sdl2/sdl2.mk | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/package/sdl2/sdl2.mk b/package/sdl2/sdl2.mk
index d255112ce9..dec25edf1b 100644
--- a/package/sdl2/sdl2.mk
+++ b/package/sdl2/sdl2.mk
@@ -155,10 +155,16 @@ SDL2_CONF_OPTS += --disable-video-opengl
endif
ifeq ($(BR2_PACKAGE_SDL2_OPENGLES),y)
-SDL2_CONF_OPTS += --enable-video-opengles
+SDL2_CONF_OPTS += \
+ --enable-video-opengles \
+ --enable-video-opengles1 \
+ --enable-video-opengles2
SDL2_DEPENDENCIES += libgles
else
-SDL2_CONF_OPTS += --disable-video-opengles
+SDL2_CONF_OPTS += \
+ --disable-video-opengles \
+ --disable-video-opengles1 \
+ --disable-video-opengles2
endif
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [git commit branch/next] package/sdl2: be explicit about OpenGL ES options
2022-08-22 14:13 [Buildroot] [git commit branch/next] package/sdl2: be explicit about OpenGL ES options Yann E. MORIN
@ 2022-09-17 6:47 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2022-09-17 6:47 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: buildroot
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
> commit:
> https://git.buildroot.net/buildroot/commit/?id=d6df46fb145c4211b0750b0362b6e3ca832e8231
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
> In addition to --enable-video-opengles, SDL2 configure script also
> looks at --enable-video-opengles1 and --enable-video-opengles2. Since
> all OpenGL ES providers in Buildroot provide at least up to OpenGL ES
> 2, enable both options when BR2_PACKAGE_SDL2_OPENGLES=y.
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> [yann.morin.1998@free.fr: split long lines]
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Committed to 2022.05.x and 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-17 6:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-22 14:13 [Buildroot] [git commit branch/next] package/sdl2: be explicit about OpenGL ES options Yann E. MORIN
2022-09-17 6:47 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.