[Buildroot] [git commit branch/2025.08.x] package/wlroots: add missing dependency to libgbm

Titouan Christophe titouan.christophe at mind.be
Tue Sep 30 09:32:55 UTC 2025


commit: https://git.buildroot.net/buildroot/commit/?id=0317555103111636f2068c7e7a633457eb27ed25
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2025.08.x

If the render gles2 is enabled then libgbm is required (see [1]).
Therefore, add the dependency to wlroots.

[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/0.19/render/meson.build?ref_type=heads#L44

Signed-off-by: Raphael Pavlidis <raphael.pavlidis at gmail.com>
Signed-off-by: Julien Olivain <ju.o at free.fr>
(cherry picked from commit 00fb3a57cbaedb8df43f75f0e891423c1ef7d8c6)
Signed-off-by: Titouan Christophe <titouan.christophe at mind.be>
---
 package/wlroots/Config.in  | 3 ++-
 package/wlroots/wlroots.mk | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/wlroots/Config.in b/package/wlroots/Config.in
index 02bd54c999..6d2992cf2c 100644
--- a/package/wlroots/Config.in
+++ b/package/wlroots/Config.in
@@ -1,4 +1,4 @@
-comment "wlroots needs udev, EGL and OpenGL ES support"
+comment "wlroots needs udev, EGL, OpenGL ES and GBM support"
 	depends on !BR2_PACKAGE_HAS_LIBEGL || \
 		!BR2_PACKAGE_HAS_LIBEGL || \
 		!BR2_PACKAGE_HAS_LIBGLES || \
@@ -15,6 +15,7 @@ config BR2_PACKAGE_WLROOTS
 	depends on BR2_PACKAGE_HAS_UDEV # libinput
 	depends on BR2_PACKAGE_HAS_LIBEGL
 	depends on BR2_PACKAGE_HAS_LIBGLES
+	depends on BR2_PACKAGE_HAS_LIBGBM
 	select BR2_PACKAGE_HWDATA
 	select BR2_PACKAGE_HWDATA_PNP_IDS
 	select BR2_PACKAGE_LIBDISPLAY_INFO
diff --git a/package/wlroots/wlroots.mk b/package/wlroots/wlroots.mk
index 81f76fcdc7..e0f1e1053e 100644
--- a/package/wlroots/wlroots.mk
+++ b/package/wlroots/wlroots.mk
@@ -19,6 +19,7 @@ WLROOTS_DEPENDENCIES = \
 	libxkbcommon \
 	libegl \
 	libgles \
+	libgbm \
 	pixman \
 	seatd \
 	udev \


More information about the buildroot mailing list