[Buildroot] [git commit] package/wlroots: add missing dependency to libgbm
Julien Olivain
ju.o at free.fr
Sun Sep 28 10:17:24 UTC 2025
commit: https://git.buildroot.net/buildroot/commit/?id=00fb3a57cbaedb8df43f75f0e891423c1ef7d8c6
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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>
---
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 689662f536..babadea94f 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