mirror of
https://git.yoctoproject.org/poky
synced 2026-07-02 17:13:39 +02:00
Mesa needs libva.pc and libva headers to enable the VAAPI state tracker and drivers. This recipe is a variant of the full libva package build as in: * it only depends on libdrm to build so it doesn't introduce the circular dependency between mesa and libva, and * it doesn't include the libraries in the final package. However, there is another issue with build dependency handling in Yocto. libva depends on mesa and mesa depends on this package. Any package that depends on libva therefore would pull in libva and this package resulting in an error in the prepare-sysroot phase because they would install identical files into the per-recipe sysroot. Using the package name "*-initial" avoids this because of the interaction between sstate.bbclass and staging.bbclass: any package with the pattern "*-initial" in the name is excluded from the dependency list unless explicitly added to DEPENDS. (From OE-Core rev: b697f0446f9b016c6c229edda1bf20ca3a7c88ce) Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
1.0 KiB
PHP
28 lines
1.0 KiB
PHP
SUMMARY = "Video Acceleration (VA) API for Linux"
|
|
DESCRIPTION = "Video Acceleration API (VA API) is a library (libVA) \
|
|
and API specification which enables and provides access to graphics \
|
|
hardware (GPU) acceleration for video processing on Linux and UNIX \
|
|
based operating systems. Accelerated processing includes video \
|
|
decoding, video encoding, subpicture blending and rendering. The \
|
|
specification was originally designed by Intel for its GMA (Graphics \
|
|
Media Accelerator) series of GPU hardware, the API is however not \
|
|
limited to GPUs or Intel specific hardware, as other hardware and \
|
|
manufacturers can also freely use this API for hardware accelerated \
|
|
video decoding."
|
|
|
|
HOMEPAGE = "https://01.org/linuxmedia/vaapi"
|
|
BUGTRACKER = "https://github.com/intel/libva/issues"
|
|
|
|
SECTION = "x11"
|
|
LICENSE = "MIT"
|
|
|
|
SRC_URI = "https://github.com/intel/libva/releases/download/${PV}/libva-${PV}.tar.bz2"
|
|
|
|
S = "${WORKDIR}/libva-${PV}"
|
|
|
|
UPSTREAM_CHECK_URI = "https://github.com/intel/libva/releases"
|
|
|
|
DEPENDS = "libdrm"
|
|
|
|
inherit meson pkgconfig features_check
|