2014-07-15 21:19:02 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libva-intel-driver
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-02-12 17:52:36 +01:00
|
|
|
LIBVA_INTEL_DRIVER_VERSION = 2.1.0
|
2017-04-02 10:13:26 +02:00
|
|
|
LIBVA_INTEL_DRIVER_SOURCE = intel-vaapi-driver-$(LIBVA_INTEL_DRIVER_VERSION).tar.bz2
|
2017-02-19 09:16:06 +01:00
|
|
|
LIBVA_INTEL_DRIVER_SITE = \
|
2017-04-02 10:13:26 +02:00
|
|
|
https://github.com/01org/intel-vaapi-driver/releases/download/$(LIBVA_INTEL_DRIVER_VERSION)
|
2014-07-15 21:19:02 +02:00
|
|
|
LIBVA_INTEL_DRIVER_LICENSE = MIT
|
|
|
|
LIBVA_INTEL_DRIVER_LICENSE_FILES = COPYING
|
|
|
|
LIBVA_INTEL_DRIVER_DEPENDENCIES = host-pkgconf libdrm libva
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
|
|
|
LIBVA_INTEL_DRIVER_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXfixes
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBVA_INTEL_DRIVER_CONF_OPTS += --enable-x11
|
2014-07-15 21:19:02 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBVA_INTEL_DRIVER_CONF_OPTS += --disable-x11
|
2014-07-15 21:19:02 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_WAYLAND),y)
|
2015-03-31 18:10:14 +02:00
|
|
|
LIBVA_INTEL_DRIVER_DEPENDENCIES += wayland
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBVA_INTEL_DRIVER_CONF_OPTS += --enable-wayland
|
2014-07-15 21:19:02 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBVA_INTEL_DRIVER_CONF_OPTS += --disable-wayland
|
2014-07-15 21:19:02 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|