package/xbmc: add option to enable libva

[Thomas: add the comment about the dynamic library dependency.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls 2014-09-07 13:54:35 +02:00 committed by Thomas Petazzoni
parent c24f559435
commit 4e68d91a8b
2 changed files with 11 additions and 1 deletions

View File

@ -210,6 +210,16 @@ config BR2_PACKAGE_XBMC_LIBUSB
help help
Enable libusb support. Enable libusb support.
config BR2_PACKAGE_XBMC_LIBVA
bool "va"
select BR2_PACKAGE_LIBVA
depends on !BR2_PREFER_STATIC_LIB
help
Enable libva support.
comment "libva support needs toolchain w/ dynamic library"
depends on BR2_PREFER_STATIC_LIB
config BR2_PACKAGE_XBMC_WAVPACK config BR2_PACKAGE_XBMC_WAVPACK
bool "wavpack" bool "wavpack"
select BR2_PACKAGE_WAVPACK select BR2_PACKAGE_WAVPACK

View File

@ -193,7 +193,7 @@ XBMC_DEPENDENCIES += libtheora
endif endif
# xbmc needs libva & libva-glx # xbmc needs libva & libva-glx
ifeq ($(BR2_PACKAGE_LIBVA)$(BR2_PACKAGE_MESA3D_DRI_DRIVER),yy) ifeq ($(BR2_PACKAGE_XBMC_LIBVA)$(BR2_PACKAGE_MESA3D_DRI_DRIVER),yy)
XBMC_DEPENDENCIES += mesa3d libva XBMC_DEPENDENCIES += mesa3d libva
XBMC_CONF_OPT += --enable-vaapi XBMC_CONF_OPT += --enable-vaapi
else else