package/glslsandbox: kms needs gbm

Obviously, KMS/DRM/GBM needs gbm so add a dependency on libgbm which was
added by commit 4a541ee932:

checking for gbm... no
configure: error: Package requirements (gbm) were not met:

Package 'gbm', required by 'virtual:world', not found

Fixes:
 - http://autobuild.buildroot.org/results/31b3fff9748300e293b4efb5615176ccce48dd15

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-01-28 21:52:00 +01:00 committed by Thomas Petazzoni
parent 624f2e658d
commit e88cb1038d
2 changed files with 2 additions and 3 deletions

View File

@ -70,6 +70,7 @@ config BR2_PACKAGE_GLSLSANDBOX_PLAYER_NULL
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_KMS
bool "KMS/DRM/GBM"
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
depends on BR2_PACKAGE_HAS_LIBGBM
select BR2_PACKAGE_LIBDRM
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI

View File

@ -44,9 +44,7 @@ endif
ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_NULL),y)
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=nullws
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_KMS),y)
# gbm dependency is not needed, as it is normally packaged with
# libegl/libgles drivers.
GLSLSANDBOX_PLAYER_DEPENDENCIES += libdrm
GLSLSANDBOX_PLAYER_DEPENDENCIES += libdrm libgbm
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=kms
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += sunxi-mali-utgard