* [Buildroot] [PATCH] package/sdl2: Add wayland support @ 2025-02-06 7:09 Alexander Shiyan 2025-02-07 12:03 ` Thomas Devoogdt 0 siblings, 1 reply; 4+ messages in thread From: Alexander Shiyan @ 2025-02-06 7:09 UTC (permalink / raw) To: buildroot; +Cc: Alexander Shiyan This adds a configuration option to enable Wayland video driver support in SDL2. Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com> --- package/sdl2/Config.in | 11 +++++++++++ package/sdl2/sdl2.mk | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/package/sdl2/Config.in b/package/sdl2/Config.in index f1c22e4f80..784e381003 100644 --- a/package/sdl2/Config.in +++ b/package/sdl2/Config.in @@ -38,6 +38,17 @@ comment "KMS/DRM video driver needs a GBM provider, and OpenGL or OpenGLES+EGL" !BR2_PACKAGE_HAS_LIBEGL || \ !(BR2_PACKAGE_SDL2_OPENGL || BR2_PACKAGE_SDL2_OPENGLES) +config BR2_PACKAGE_SDL2_WAYLAND + bool "Wayland video driver" + depends on BR2_PACKAGE_WAYLAND + depends on BR2_PACKAGE_HAS_LIBEGL + depends on BR2_PACKAGE_SDL2_OPENGLES + depends on BR2_PACKAGE_LIBXKBCOMMON + +comment "Wayland video driver needs a Wayland, OpenGLES+EGL and libxkbcommon" + depends on !BR2_PACKAGE_WAYLAND || !BR2_PACKAGE_HAS_LIBEGL || \ + !BR2_PACKAGE_SDL2_OPENGLES || !BR2_PACKAGE_LIBXKBCOMMON + config BR2_PACKAGE_SDL2_OPENGL bool "OpenGL (GLX)" depends on BR2_PACKAGE_HAS_LIBGL diff --git a/package/sdl2/sdl2.mk b/package/sdl2/sdl2.mk index 50f80c68d7..918d5d7811 100644 --- a/package/sdl2/sdl2.mk +++ b/package/sdl2/sdl2.mk @@ -23,7 +23,6 @@ SDL2_CONF_OPTS += \ --disable-video-vivante \ --disable-video-cocoa \ --disable-video-metal \ - --disable-video-wayland \ --disable-video-dummy \ --disable-video-offscreen \ --disable-video-vulkan \ @@ -164,4 +163,11 @@ else SDL2_CONF_OPTS += --disable-video-kmsdrm endif +ifeq ($(BR2_PACKAGE_SDL2_WAYLAND),y) +SDL2_DEPENDENCIES += libegl libxkbcommon wayland +SDL2_CONF_OPTS += --enable-video-wayland +else +SDL2_CONF_OPTS += --disable-video-wayland +endif + $(eval $(autotools-package)) -- 2.39.1 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/sdl2: Add wayland support 2025-02-06 7:09 [Buildroot] [PATCH] package/sdl2: Add wayland support Alexander Shiyan @ 2025-02-07 12:03 ` Thomas Devoogdt 2025-02-09 17:20 ` Alexander Shiyan 0 siblings, 1 reply; 4+ messages in thread From: Thomas Devoogdt @ 2025-02-07 12:03 UTC (permalink / raw) To: eagle.alexander923; +Cc: buildroot Hi Alexander, This patch duplicates https://patchwork.ozlabs.org/project/buildroot/patch/20240830175229.2619362-1-thomas@devoogdt.com/, can you verify that one? Just reply to that patch with: Tested-by: Alexander Shiyan <eagle.alexander923@gmail.com> Kr, Thomas _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/sdl2: Add wayland support 2025-02-07 12:03 ` Thomas Devoogdt @ 2025-02-09 17:20 ` Alexander Shiyan 2025-02-09 18:19 ` Thomas Devoogdt 0 siblings, 1 reply; 4+ messages in thread From: Alexander Shiyan @ 2025-02-09 17:20 UTC (permalink / raw) To: thomas; +Cc: buildroot Hello Thomas. Unfortunately I don't have that letter to which I could reply with a tag. If you post the v2 (it's been a long time since the patch publication, I think it got lost), you can add a tag from me: Tested-by: Alexander Shiyan <eagle.alexander923@gmail.com> Thanks! пт, 7 февр. 2025 г. в 15:03, Thomas Devoogdt <thomas@devoogdt.com>: > > Hi Alexander, > > > This patch duplicates https://patchwork.ozlabs.org/project/buildroot/patch/20240830175229.2619362-1-thomas@devoogdt.com/, > can you verify that one? > > Just reply to that patch with: > Tested-by: Alexander Shiyan <eagle.alexander923@gmail.com> > > > Kr, > > Thomas _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/sdl2: Add wayland support 2025-02-09 17:20 ` Alexander Shiyan @ 2025-02-09 18:19 ` Thomas Devoogdt 0 siblings, 0 replies; 4+ messages in thread From: Thomas Devoogdt @ 2025-02-09 18:19 UTC (permalink / raw) To: Alexander Shiyan; +Cc: thomas, buildroot Hi, > Hello Thomas. > > Unfortunately I don't have that letter to which I could reply with a tag. > If you post the v2 (it's been a long time since the patch publication, I think > it got lost), you can add a tag from me: > > Tested-by: Alexander Shiyan <eagle.alexander923@gmail.com> I've posted a v2, see https://patchwork.ozlabs.org/project/buildroot/patch/20250209181625.87351-1-thomas@devoogdt.com/. > Thanks! Kr, Thomas Devoogdt _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-02-09 18:19 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2025-02-06 7:09 [Buildroot] [PATCH] package/sdl2: Add wayland support Alexander Shiyan 2025-02-07 12:03 ` Thomas Devoogdt 2025-02-09 17:20 ` Alexander Shiyan 2025-02-09 18:19 ` Thomas Devoogdt
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.