3af337aea7
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 lines
1.0 KiB
Makefile
31 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# libva-intel-driver
|
|
#
|
|
################################################################################
|
|
|
|
LIBVA_INTEL_DRIVER_VERSION = 1.7.1
|
|
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
|
|
# needed to work around https://bugs.freedesktop.org/show_bug.cgi?id=79478
|
|
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_INTEL_DRIVER_DEPENDENCIES += wayland
|
|
LIBVA_INTEL_DRIVER_CONF_OPTS += --enable-wayland
|
|
else
|
|
LIBVA_INTEL_DRIVER_CONF_OPTS += --disable-wayland
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|