1 ################################################################################
5 ################################################################################
8 LIBVA_SITE
= $(call github
,01org
,libva
,libva-
$(LIBVA_VERSION
))
10 LIBVA_LICENSE_FILES
= COPYING
11 LIBVA_AUTORECONF
= YES
12 LIBVA_INSTALL_STAGING
= YES
13 LIBVA_DEPENDENCIES
= host-pkgconf libdrm
15 # libdrm is a hard-dependency
18 --disable-dummy-driver \
19 --with-drivers-path
="/usr/lib/va"
21 ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER
),y
)
22 LIBVA_DEPENDENCIES
+= mesa3d
23 LIBVA_CONF_OPTS
+= --enable-glx
25 LIBVA_CONF_OPTS
+= --disable-glx
28 ifeq ($(BR2_PACKAGE_XORG7
),y
)
29 LIBVA_DEPENDENCIES
+= xlib_libX11 xlib_libXext xlib_libXfixes
30 LIBVA_CONF_OPTS
+= --enable-x11
32 LIBVA_CONF_OPTS
+= --disable-x11
35 ifeq ($(BR2_PACKAGE_WAYLAND
),y
)
36 LIBVA_DEPENDENCIES
+= wayland
37 LIBVA_CONF_OPTS
+= --enable-wayland
39 LIBVA_CONF_OPTS
+= --disable-wayland
42 ifeq ($(BR2_PACKAGE_HAS_LIBEGL
),y
)
43 LIBVA_DEPENDENCIES
+= libegl
44 LIBVA_CONF_OPTS
+= --enable-egl
46 LIBVA_CONF_OPTS
+= --disable-egl
49 # Autoreconf requires an m4 directory to exist
53 LIBVA_POST_PATCH_HOOKS
+= LIBVA_PATCH_M4
55 $(eval
$(autotools-package
))