|
@@ -4,7 +4,7 @@
|
|
|
#
|
|
|
################################################################################
|
|
|
|
|
|
-LIBVA_VERSION = 1.8.3
|
|
|
+LIBVA_VERSION = 2.0.0
|
|
|
LIBVA_SOURCE = libva-$(LIBVA_VERSION).tar.bz2
|
|
|
LIBVA_SITE = https://github.com/01org/libva/releases/download/$(LIBVA_VERSION)
|
|
|
LIBVA_LICENSE = MIT
|
|
@@ -17,18 +17,16 @@ LIBVA_CONF_OPTS = \
|
|
|
--enable-drm \
|
|
|
--with-drivers-path="/usr/lib/va"
|
|
|
|
|
|
-ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
|
|
|
-LIBVA_DEPENDENCIES += mesa3d
|
|
|
-LIBVA_CONF_OPTS += --enable-glx
|
|
|
-else
|
|
|
-LIBVA_CONF_OPTS += --disable-glx
|
|
|
-endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
|
|
LIBVA_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXfixes
|
|
|
LIBVA_CONF_OPTS += --enable-x11
|
|
|
+ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
|
|
|
+LIBVA_DEPENDENCIES += mesa3d
|
|
|
+LIBVA_CONF_OPTS += --enable-glx
|
|
|
+endif
|
|
|
else
|
|
|
-LIBVA_CONF_OPTS += --disable-x11
|
|
|
+LIBVA_CONF_OPTS += --disable-glx --disable-x11
|
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_WAYLAND),y)
|
|
@@ -38,11 +36,4 @@ else
|
|
|
LIBVA_CONF_OPTS += --disable-wayland
|
|
|
endif
|
|
|
|
|
|
-ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y)
|
|
|
-LIBVA_DEPENDENCIES += libegl
|
|
|
-LIBVA_CONF_OPTS += --enable-egl
|
|
|
-else
|
|
|
-LIBVA_CONF_OPTS += --disable-egl
|
|
|
-endif
|
|
|
-
|
|
|
$(eval $(autotools-package))
|