initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_LIBVA
|
||||
bool "libva"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm/libpthread-stubs
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_LIBDRM
|
||||
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBXFIXES if BR2_PACKAGE_XORG7
|
||||
help
|
||||
The main motivation for VA-API (Video Acceleration API) is to
|
||||
enable hardware accelerated video decode/encode at various
|
||||
entry-points (VLD, IDCT, Motion Compensation etc.) for the
|
||||
prevailing coding standards today (MPEG-2, MPEG-4 ASP/H.263,
|
||||
MPEG-4 AVC/H.264, and VC-1/VMW3).
|
||||
|
||||
https://01.org/vaapi
|
||||
|
||||
comment "libva needs a toolchain w/ threads, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,5 @@
|
||||
# From https://github.com/intel/libva/releases/download/2.13.0/libva-2.13.0.tar.bz2.sha1sum
|
||||
sha1 2adb2c023371dd68fe0d23e58afcf0b072b79828 libva-2.13.0.tar.bz2
|
||||
# Locally computed
|
||||
sha256 fad383f39f36115814bd0eda1496a4cc01761643bd962635400df2d4470ad460 libva-2.13.0.tar.bz2
|
||||
sha256 c86a782ee845b52472dae9b9d79fb915d333628ac0efe49cdce63644814931de COPYING
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# libva
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBVA_VERSION = 2.13.0
|
||||
LIBVA_SOURCE = libva-$(LIBVA_VERSION).tar.bz2
|
||||
LIBVA_SITE = https://github.com/intel/libva/releases/download/$(LIBVA_VERSION)
|
||||
LIBVA_LICENSE = MIT
|
||||
LIBVA_LICENSE_FILES = COPYING
|
||||
LIBVA_INSTALL_STAGING = 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))
|
||||
Reference in New Issue
Block a user