All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/kodi: use libgbm virtual package
@ 2021-10-28 15:31 Bernd Kuhls
  2021-11-17 21:38 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2021-10-28 15:31 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 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 67cb33a6b5..21ef8dfd42 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
 	select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS
 
 config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index 3c314533f4..646c6e0ab4 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)
-- 
2.30.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/kodi: use libgbm virtual package
  2021-10-28 15:31 [Buildroot] [PATCH 1/1] package/kodi: use libgbm virtual package Bernd Kuhls
@ 2021-11-17 21:38 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2021-11-17 21:38 UTC (permalink / raw)
  To: Bernd Kuhls, buildroot



On 28/10/2021 17:31, Bernd Kuhls wrote:
> Kodi needs gbm_bo_get_fd:
> https://github.com/xbmc/xbmc/blob/Matrix/xbmc/utils/GBMBufferObject.cpp#L54
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

  Applied to next, thanks.

  Regards,
  Arnout

> ---
>   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 67cb33a6b5..21ef8dfd42 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
>   	select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS
>   
>   config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND
> diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
> index 3c314533f4..646c6e0ab4 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-17 21:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28 15:31 [Buildroot] [PATCH 1/1] package/kodi: use libgbm virtual package Bernd Kuhls
2021-11-17 21:38 ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.