From e88cb1038d3a3691621d0fe14bc9f13d6c9b7389 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 28 Jan 2022 21:52:00 +0100 Subject: [PATCH] package/glslsandbox: kms needs gbm Obviously, KMS/DRM/GBM needs gbm so add a dependency on libgbm which was added by commit 4a541ee93242e67f7fab625607f5501c6925d451: 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 Signed-off-by: Thomas Petazzoni --- package/glslsandbox-player/Config.in | 1 + package/glslsandbox-player/glslsandbox-player.mk | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package/glslsandbox-player/Config.in b/package/glslsandbox-player/Config.in index 2b049357a9..132705584e 100644 --- a/package/glslsandbox-player/Config.in +++ b/package/glslsandbox-player/Config.in @@ -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 diff --git a/package/glslsandbox-player/glslsandbox-player.mk b/package/glslsandbox-player/glslsandbox-player.mk index 6496cdf23d..f0a9475aa6 100644 --- a/package/glslsandbox-player/glslsandbox-player.mk +++ b/package/glslsandbox-player/glslsandbox-player.mk @@ -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