Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

19
package/libva/Config.in Normal file
View File

@@ -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

3
package/libva/libva.hash Normal file
View File

@@ -0,0 +1,3 @@
# Locally computed
sha256 0b4a3649ee8d683b9cce2ef094df4fb039d276c0cef7e49337c43d3b297b9f42 libva-2.24.1.tar.gz
sha256 c86a782ee845b52472dae9b9d79fb915d333628ac0efe49cdce63644814931de COPYING

38
package/libva/libva.mk Normal file
View File

@@ -0,0 +1,38 @@
################################################################################
#
# libva
#
################################################################################
LIBVA_VERSION = 2.24.1
LIBVA_SITE = $(call github,intel,libva,$(LIBVA_VERSION))
LIBVA_LICENSE = MIT
LIBVA_LICENSE_FILES = COPYING
LIBVA_INSTALL_STAGING = YES
LIBVA_DEPENDENCIES = host-pkgconf libdrm
LIBVA_CFLAGS = $(TARGET_CFLAGS) -std=gnu99
# libdrm is a hard-dependency
LIBVA_CONF_OPTS = \
-Ddisable_drm=false \
-Ddriverdir="/usr/lib/va"
ifeq ($(BR2_PACKAGE_XORG7),y)
LIBVA_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXfixes
LIBVA_CONF_OPTS += -Dwith_x11=yes
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
LIBVA_DEPENDENCIES += libgl
LIBVA_CONF_OPTS += -Dwith_glx=yes
endif
else
LIBVA_CONF_OPTS += -Dwith_glx=no -Dwith_x11=no
endif
ifeq ($(BR2_PACKAGE_WAYLAND),y)
LIBVA_DEPENDENCIES += wayland
LIBVA_CONF_OPTS += -Dwith_wayland=yes
else
LIBVA_CONF_OPTS += -Dwith_wayland=no
endif
$(eval $(meson-package))