From: Bernd Kuhls Date: Sun, 7 Sep 2014 11:54:35 +0000 (+0200) Subject: package/xbmc: add option to enable libva X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e68d91a8bb4bb2965cb0a1e0f88e2590867e246;p=buildroot.git package/xbmc: add option to enable libva [Thomas: add the comment about the dynamic library dependency.] Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/xbmc/Config.in b/package/xbmc/Config.in index ed0d4ed023..54f8855010 100644 --- a/package/xbmc/Config.in +++ b/package/xbmc/Config.in @@ -210,6 +210,16 @@ config BR2_PACKAGE_XBMC_LIBUSB help 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 bool "wavpack" select BR2_PACKAGE_WAVPACK diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk index a38128f8b2..87c9d722ef 100644 --- a/package/xbmc/xbmc.mk +++ b/package/xbmc/xbmc.mk @@ -193,7 +193,7 @@ XBMC_DEPENDENCIES += libtheora endif # 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_CONF_OPT += --enable-vaapi else