summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libva/libva.inc
diff options
context:
space:
mode:
authorZoltan Boszormenyi <zboszor@pr.hu>2020-05-07 15:32:59 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-09 18:57:21 +0100
commit29a25abba298ef7de96e69a621600d81fd71b9f1 (patch)
tree3288c4079ce77cc5d06bf8fe3e4e29c34d3c1898 /meta/recipes-graphics/libva/libva.inc
parent991820475e40b276a610192db890f89591fb6658 (diff)
downloadpoky-29a25abba298ef7de96e69a621600d81fd71b9f1.tar.gz
libva-initial: New bootstrap recipe
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>
Diffstat (limited to 'meta/recipes-graphics/libva/libva.inc')
-rw-r--r--meta/recipes-graphics/libva/libva.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-graphics/libva/libva.inc b/meta/recipes-graphics/libva/libva.inc
index e03451240c..ac39e92de7 100644
--- a/meta/recipes-graphics/libva/libva.inc
+++ b/meta/recipes-graphics/libva/libva.inc
@@ -16,7 +16,9 @@ BUGTRACKER = "https://github.com/intel/libva/issues"
16SECTION = "x11" 16SECTION = "x11"
17LICENSE = "MIT" 17LICENSE = "MIT"
18 18
19SRC_URI = "https://github.com/intel/${BPN}/releases/download/${PV}/${BP}.tar.bz2" 19SRC_URI = "https://github.com/intel/libva/releases/download/${PV}/libva-${PV}.tar.bz2"
20
21S = "${WORKDIR}/libva-${PV}"
20 22
21UPSTREAM_CHECK_URI = "https://github.com/intel/libva/releases" 23UPSTREAM_CHECK_URI = "https://github.com/intel/libva/releases"
22 24