mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00
libva-intel-utils: add recipe
We need a later version of libva than what is available in oe-core for the media components. Create our own copy of the recipe and include it only when someone has included one of meta-intel MACHINEs. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
parent
dbae24f5bb
commit
70d3ae20a2
|
@ -40,3 +40,7 @@ PREFERRED_PROVIDER_nativesdk-zlib ?= "nativesdk-zlib"
|
|||
PREFERRED_PROVIDER_libva ?= "libva"
|
||||
PREFERRED_PROVIDER_libva-native ?= "libva-native"
|
||||
PREFERRED_PROVIDER_nativesdk-libva ?= "nativesdk-libva"
|
||||
|
||||
PREFERRED_PROVIDER_libva-utils ?= "libva-utils"
|
||||
PREFERRED_PROVIDER_libva-native ?= "libva-utils-native"
|
||||
PREFERRED_PROVIDER_nativesdk-libva-utils ?= "nativesdk-libva-utils"
|
||||
|
|
|
@ -22,6 +22,10 @@ PREFERRED_PROVIDER_libva = "libva-intel"
|
|||
PREFERRED_PROVIDER_libva-native = "libva-intel-native"
|
||||
PREFERRED_PROVIDER_nativesdk-libva = "nativesdk-libva-intel"
|
||||
|
||||
PREFERRED_PROVIDER_libva-utils = "libva-utils-intel"
|
||||
PREFERRED_PROVIDER_libva-native = "libva-utils-intel-native"
|
||||
PREFERRED_PROVIDER_nativesdk-libva-utils = "nativesdk-libva-utils-intel"
|
||||
|
||||
XSERVER_X86_ASPEED_AST = "xf86-video-ast \
|
||||
"
|
||||
|
||||
|
|
32
recipes-graphics/libva/libva-intel-utils_2.9.0.bb
Normal file
32
recipes-graphics/libva/libva-intel-utils_2.9.0.bb
Normal file
|
@ -0,0 +1,32 @@
|
|||
SUMMARY = "libva-utils is a collection of utilities from libva project"
|
||||
|
||||
DESCRIPTION = "libva-utils is a collection of utilities \
|
||||
and examples to exercise VA-API in accordance with the libva \
|
||||
project.VA-API is an open-source library and API specification, \
|
||||
which provides access to graphics hardware acceleration capabilities \
|
||||
for video processing. It consists of a main library and driver-specific \
|
||||
acceleration backends for each supported hardware vendor"
|
||||
|
||||
HOMEPAGE = "https://01.org/linuxmedia/vaapi"
|
||||
BUGTRACKER = "https://github.com/intel/libva-utils/issues"
|
||||
|
||||
SECTION = "x11"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b148fc8adf19dc9aec17cf9cd29a9a5e"
|
||||
|
||||
SRC_URI = "git://github.com/intel/libva-utils.git;branch=v2.9-branch"
|
||||
SRCREV = "ee781a3f5d70a7ff801940136b1d45d002b83091"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
|
||||
|
||||
DEPENDS = "libva"
|
||||
|
||||
inherit meson pkgconfig features_check
|
||||
|
||||
# depends on libva which requires opengl
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
|
||||
PACKAGECONFIG[x11] = "-Dx11=true, -Dx11=false,virtual/libx11 libxext libxfixes"
|
||||
PACKAGECONFIG[wayland] = "-Dwayland=true, -Dwayland=false,wayland-native wayland"
|
Loading…
Reference in New Issue
Block a user