From 033ef8497aba5a87e3812ca474af2320fbabe72f Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Thu, 28 Oct 2021 17:31:07 +0200 Subject: [PATCH] package/kodi: use libgbm virtual package Kodi needs gbm_bo_get_fd: https://github.com/xbmc/xbmc/blob/Matrix/xbmc/utils/GBMBufferObject.cpp#L54 Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- 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)