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 <raphael.pavlidis@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 00fb3a57cb)
Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
This commit is contained in:
Raphael Pavlidis
2025-09-26 11:11:18 +00:00
committed by Titouan Christophe
parent bc3e295081
commit 43b34d7c6c
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -19,6 +19,7 @@ WLROOTS_DEPENDENCIES = \
libxkbcommon \
libegl \
libgles \
libgbm \
pixman \
seatd \
udev \