aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
987 B
Makefile
30 lines
987 B
Makefile
################################################################################
|
|
#
|
|
# libva-intel-driver
|
|
#
|
|
################################################################################
|
|
|
|
LIBVA_INTEL_DRIVER_VERSION = 1.3.2
|
|
LIBVA_INTEL_DRIVER_SOURCE = libva-intel-driver-$(LIBVA_INTEL_DRIVER_VERSION).tar.bz2
|
|
LIBVA_INTEL_DRIVER_SITE = http://www.freedesktop.org/software/vaapi/releases/libva-intel-driver
|
|
LIBVA_INTEL_DRIVER_LICENSE = MIT
|
|
LIBVA_INTEL_DRIVER_LICENSE_FILES = COPYING
|
|
LIBVA_INTEL_DRIVER_AUTORECONF = YES
|
|
LIBVA_INTEL_DRIVER_DEPENDENCIES = host-pkgconf libdrm libva
|
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
|
LIBVA_INTEL_DRIVER_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXfixes
|
|
LIBVA_INTEL_DRIVER_CONF_OPTS += --enable-x11
|
|
else
|
|
LIBVA_INTEL_DRIVER_CONF_OPTS += --disable-x11
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_WAYLAND),y)
|
|
LIBVA_DEPENDENCIES += wayland
|
|
LIBVA_INTEL_DRIVER_CONF_OPTS += --enable-wayland
|
|
else
|
|
LIBVA_INTEL_DRIVER_CONF_OPTS += --disable-wayland
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|