226bbae9d1
Switched to github helper, upstream does not provide a tarball for this release. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# libva
|
|
#
|
|
################################################################################
|
|
|
|
LIBVA_VERSION = 2.7.0
|
|
LIBVA_SITE = $(call github,intel,libva,$(LIBVA_VERSION))
|
|
LIBVA_LICENSE = MIT
|
|
LIBVA_LICENSE_FILES = COPYING
|
|
LIBVA_INSTALL_STAGING = YES
|
|
# github tarball does not include configure
|
|
LIBVA_AUTORECONF = YES
|
|
LIBVA_DEPENDENCIES = host-pkgconf libdrm
|
|
|
|
# libdrm is a hard-dependency
|
|
LIBVA_CONF_OPTS = \
|
|
--enable-drm \
|
|
--with-drivers-path="/usr/lib/va"
|
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
|
LIBVA_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXfixes
|
|
LIBVA_CONF_OPTS += --enable-x11
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
|
|
LIBVA_DEPENDENCIES += libgl
|
|
LIBVA_CONF_OPTS += --enable-glx
|
|
endif
|
|
else
|
|
LIBVA_CONF_OPTS += --disable-glx --disable-x11
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_WAYLAND),y)
|
|
LIBVA_DEPENDENCIES += wayland
|
|
LIBVA_CONF_ENV += ac_cv_path_WAYLAND_SCANNER=$(HOST_DIR)/usr/bin/wayland-scanner
|
|
LIBVA_CONF_OPTS += --enable-wayland
|
|
else
|
|
LIBVA_CONF_OPTS += --disable-wayland
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|