[Buildroot] [git commit] package/kodi: use libgbm virtual package

From: Arnout Vandecappelle (Essensium/Mind) <hidden>
Date: 2021-12-06 18:27:02
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=033ef8497aba5a87e3812ca474af2320fbabe72f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Kodi needs gbm_bo_get_fd:
https://github.com/xbmc/xbmc/blob/Matrix/xbmc/utils/GBMBufferObject.cpp#L54

Signed-off-by: Bernd Kuhls <redacted>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <redacted>
---
 package/kodi/Config.in | 3 ++-
 package/kodi/kodi.mk   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index af7604428e..e594219418 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -22,7 +22,8 @@ config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM
 	bool
 	default y
 	depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
-	depends on BR2_PACKAGE_MESA3D_GBM
+	depends on BR2_PACKAGE_HAS_LIBGBM
+	depends on BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF
 	depends on BR2_PACKAGE_HAS_UDEV # libinput
 	select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS
 
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index 934cce6de2..a2c42b64c9 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -92,7 +92,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM),y)
 KODI_CORE_PLATFORM_NAME += gbm
-KODI_DEPENDENCIES += libinput libxkbcommon mesa3d
+KODI_DEPENDENCIES += libgbm libinput libxkbcommon
 endif
 
 ifeq ($(BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND),y)
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help