1 ################################################################################
5 ################################################################################
8 LIBVA_SOURCE
= libva-
$(LIBVA_VERSION
).
tar.bz2
9 LIBVA_SITE
= http
://www.freedesktop.org
/software
/vaapi
/releases
/libva
11 LIBVA_LICENSE_FILES
= COPYING
12 LIBVA_AUTORECONF
= YES
13 LIBVA_INSTALL_STAGING
= YES
14 LIBVA_DEPENDENCIES
= host-pkgconf libdrm
16 # libdrm is a hard-dependency
19 --disable-dummy-driver \
20 --with-drivers-path
="/usr/lib/va"
22 ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER
),y
)
23 LIBVA_DEPENDENCIES
+= mesa3d
24 LIBVA_CONF_OPTS
+= --enable-glx
26 LIBVA_CONF_OPTS
+= --disable-glx
29 ifeq ($(BR2_PACKAGE_XORG7
),y
)
30 LIBVA_DEPENDENCIES
+= xlib_libX11 xlib_libXext xlib_libXfixes
31 LIBVA_CONF_OPTS
+= --enable-x11
33 LIBVA_CONF_OPTS
+= --disable-x11
36 ifeq ($(BR2_PACKAGE_WAYLAND
),y
)
37 LIBVA_DEPENDENCIES
+= wayland
38 LIBVA_CONF_OPTS
+= --enable-wayland
40 LIBVA_CONF_OPTS
+= --disable-wayland
43 ifeq ($(BR2_PACKAGE_HAS_LIBEGL
),y
)
44 LIBVA_DEPENDENCIES
+= libegl
45 LIBVA_CONF_OPTS
+= --enable-egl
47 LIBVA_CONF_OPTS
+= --disable-egl
50 # Autoreconf requires an m4 directory to exist
54 LIBVA_POST_PATCH_HOOKS
+= LIBVA_PATCH_M4
56 $(eval
$(autotools-package
))