diff options
-rw-r--r-- | conf/layer.conf | 4 | ||||
-rw-r--r-- | conf/machine/include/meta-intel.inc | 4 | ||||
-rw-r--r-- | recipes-graphics/libva/libva-intel-utils_2.9.0.bb | 32 |
3 files changed, 40 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index 6e9d86e8..6b379a6c 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -40,3 +40,7 @@ PREFERRED_PROVIDER_nativesdk-zlib ?= "nativesdk-zlib" | |||
40 | PREFERRED_PROVIDER_libva ?= "libva" | 40 | PREFERRED_PROVIDER_libva ?= "libva" |
41 | PREFERRED_PROVIDER_libva-native ?= "libva-native" | 41 | PREFERRED_PROVIDER_libva-native ?= "libva-native" |
42 | PREFERRED_PROVIDER_nativesdk-libva ?= "nativesdk-libva" | 42 | PREFERRED_PROVIDER_nativesdk-libva ?= "nativesdk-libva" |
43 | |||
44 | PREFERRED_PROVIDER_libva-utils ?= "libva-utils" | ||
45 | PREFERRED_PROVIDER_libva-native ?= "libva-utils-native" | ||
46 | PREFERRED_PROVIDER_nativesdk-libva-utils ?= "nativesdk-libva-utils" | ||
diff --git a/conf/machine/include/meta-intel.inc b/conf/machine/include/meta-intel.inc index 86c94878..460e3eee 100644 --- a/conf/machine/include/meta-intel.inc +++ b/conf/machine/include/meta-intel.inc | |||
@@ -22,6 +22,10 @@ PREFERRED_PROVIDER_libva = "libva-intel" | |||
22 | PREFERRED_PROVIDER_libva-native = "libva-intel-native" | 22 | PREFERRED_PROVIDER_libva-native = "libva-intel-native" |
23 | PREFERRED_PROVIDER_nativesdk-libva = "nativesdk-libva-intel" | 23 | PREFERRED_PROVIDER_nativesdk-libva = "nativesdk-libva-intel" |
24 | 24 | ||
25 | PREFERRED_PROVIDER_libva-utils = "libva-utils-intel" | ||
26 | PREFERRED_PROVIDER_libva-native = "libva-utils-intel-native" | ||
27 | PREFERRED_PROVIDER_nativesdk-libva-utils = "nativesdk-libva-utils-intel" | ||
28 | |||
25 | XSERVER_X86_ASPEED_AST = "xf86-video-ast \ | 29 | XSERVER_X86_ASPEED_AST = "xf86-video-ast \ |
26 | " | 30 | " |
27 | 31 | ||
diff --git a/recipes-graphics/libva/libva-intel-utils_2.9.0.bb b/recipes-graphics/libva/libva-intel-utils_2.9.0.bb new file mode 100644 index 00000000..2ee9ee88 --- /dev/null +++ b/recipes-graphics/libva/libva-intel-utils_2.9.0.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | SUMMARY = "libva-utils is a collection of utilities from libva project" | ||
2 | |||
3 | DESCRIPTION = "libva-utils is a collection of utilities \ | ||
4 | and examples to exercise VA-API in accordance with the libva \ | ||
5 | project.VA-API is an open-source library and API specification, \ | ||
6 | which provides access to graphics hardware acceleration capabilities \ | ||
7 | for video processing. It consists of a main library and driver-specific \ | ||
8 | acceleration backends for each supported hardware vendor" | ||
9 | |||
10 | HOMEPAGE = "https://01.org/linuxmedia/vaapi" | ||
11 | BUGTRACKER = "https://github.com/intel/libva-utils/issues" | ||
12 | |||
13 | SECTION = "x11" | ||
14 | LICENSE = "MIT" | ||
15 | LIC_FILES_CHKSUM = "file://COPYING;md5=b148fc8adf19dc9aec17cf9cd29a9a5e" | ||
16 | |||
17 | SRC_URI = "git://github.com/intel/libva-utils.git;branch=v2.9-branch" | ||
18 | SRCREV = "ee781a3f5d70a7ff801940136b1d45d002b83091" | ||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" | ||
22 | |||
23 | DEPENDS = "libva" | ||
24 | |||
25 | inherit meson pkgconfig features_check | ||
26 | |||
27 | # depends on libva which requires opengl | ||
28 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
29 | |||
30 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" | ||
31 | PACKAGECONFIG[x11] = "-Dx11=true, -Dx11=false,virtual/libx11 libxext libxfixes" | ||
32 | PACKAGECONFIG[wayland] = "-Dwayland=true, -Dwayland=false,wayland-native wayland" | ||