summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/kodi/Config.in10
-rw-r--r--package/kodi/kodi.mk8
2 files changed, 17 insertions, 1 deletions
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 9a5baa8b37..afb834ecd7 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -236,6 +236,16 @@ config BR2_PACKAGE_KODI_LIBVA
help
Enable libva support.
+config BR2_PACKAGE_KODI_LIBVDPAU
+ bool "vdpau"
+ depends on BR2_PACKAGE_XORG7
+ select BR2_PACKAGE_LIBVDPAU
+ help
+ Enable libvdpau support.
+
+comment "libvdpau support needs X.org"
+ depends on !BR2_PACKAGE_XORG7
+
config BR2_PACKAGE_KODI_UPNP
bool "upnp"
help
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index e291947021..9f21bf2988 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -74,7 +74,6 @@ KODI_CONF_OPTS += \
--disable-joystick \
--disable-openmax \
--disable-pulse \
- --disable-vdpau \
--disable-vtbdecoder \
--enable-optimizations
@@ -243,6 +242,13 @@ else
KODI_CONF_OPTS += --disable-vaapi
endif
+ifeq ($(BR2_PACKAGE_KODI_LIBVDPAU),y)
+KODI_DEPENDENCIES += libvdpau
+KODI_CONF_OPTS += --enable-vdpau
+else
+KODI_CONF_OPTS += --disable-vdpau
+endif
+
ifeq ($(BR2_PACKAGE_KODI_UPNP),y)
KODI_CONF_OPTS += --enable-upnp
else
OpenPOWER on IntegriCloud