From 00fb3a57cbaedb8df43f75f0e891423c1ef7d8c6 Mon Sep 17 00:00:00 2001 From: Raphael Pavlidis Date: Fri, 26 Sep 2025 11:11:18 +0000 Subject: [PATCH] package/wlroots: add missing dependency to libgbm 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 Signed-off-by: Julien Olivain --- 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 \