* [Buildroot] [PATCH 1/1] package/kodi: enable optional vaapi support also for OpenGLES
@ 2021-06-20 9:09 Bernd Kuhls
2021-07-18 10:32 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2021-06-20 9:09 UTC (permalink / raw)
To: buildroot
Upstream commit
https://github.com/xbmc/xbmc/commit/c638987dd8181765f975763cb643d6869a3f661b
removed the dependency to x11 support in libva keeping only libdrm as
dependency. This commit will enable the usage of libva with Kodi's
OpenGLES render system.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
Config.in.legacy | 8 ++++++++
package/kodi/Config.in | 18 ------------------
package/kodi/kodi.mk | 5 ++---
3 files changed, 10 insertions(+), 21 deletions(-)
diff --git a/Config.in.legacy b/Config.in.legacy
index a0c1a6898f..c10f9c5223 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,14 @@ endif
comment "Legacy options removed in 2021.05"
+config BR2_PACKAGE_KODI_LIBVA
+ bool "kodi option to add libva support removed"
+ select BR2_LEGACY
+ help
+ Kodi still has support for libva if the package is enabled but
+ the kodi-specific dependencies limiting libva support to non-
+ OPENGLES platforms were removed including this option.
+
config BR2_PACKAGE_UDISKS_LVM2
bool "udisks lvm2 support removed"
select BR2_LEGACY
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index f4cfc6380c..f702ae841a 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -238,24 +238,6 @@ config BR2_PACKAGE_KODI_LIBUSB
help
Enable libusb support.
-config BR2_PACKAGE_KODI_LIBVA
- bool "va"
- depends on \
- BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM || \
- BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND || \
- (BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_X11 && \
- BR2_PACKAGE_KODI_RENDER_SYSTEM_GL)
- select BR2_PACKAGE_LIBVA
- help
- Enable libva support.
-
-comment "libva support needs platform 'gbm', 'Wayland' or 'X11/OpenGL'"
- depends on \
- !BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM && \
- !BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND && \
- (!BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_X11 || \
- !BR2_PACKAGE_KODI_RENDER_SYSTEM_GL)
-
config BR2_PACKAGE_KODI_LIBVDPAU
bool "vdpau"
depends on BR2_PACKAGE_KODI_PLATFORM_X11 && \
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index a5c9db1d7e..6f020b58b8 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -315,9 +315,8 @@ ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y)
KODI_DEPENDENCIES += lirc-tools
endif
-# kodi needs libva & libva-glx
-ifeq ($(BR2_PACKAGE_KODI_LIBVA)$(BR2_PACKAGE_MESA3D_DRI_DRIVER),yy)
-KODI_DEPENDENCIES += mesa3d libva
+ifeq ($(BR2_PACKAGE_LIBVA),y)
+KODI_DEPENDENCIES += libva
KODI_CONF_OPTS += -DENABLE_VAAPI=ON
else
KODI_CONF_OPTS += -DENABLE_VAAPI=OFF
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/kodi: enable optional vaapi support also for OpenGLES
2021-06-20 9:09 [Buildroot] [PATCH 1/1] package/kodi: enable optional vaapi support also for OpenGLES Bernd Kuhls
@ 2021-07-18 10:32 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-07-18 10:32 UTC (permalink / raw)
To: buildroot
On Sun, 20 Jun 2021 11:09:00 +0200
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:
> Upstream commit
> https://github.com/xbmc/xbmc/commit/c638987dd8181765f975763cb643d6869a3f661b
>
> removed the dependency to x11 support in libva keeping only libdrm as
> dependency. This commit will enable the usage of libva with Kodi's
> OpenGLES render system.
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> Config.in.legacy | 8 ++++++++
> package/kodi/Config.in | 18 ------------------
> package/kodi/kodi.mk | 5 ++---
> 3 files changed, 10 insertions(+), 21 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-18 10:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-20 9:09 [Buildroot] [PATCH 1/1] package/kodi: enable optional vaapi support also for OpenGLES Bernd Kuhls
2021-07-18 10:32 ` Thomas Petazzoni
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.