libva: check for "opengl" feature
In case "opengl" is missing from DISTRO_FEATURES, libva fails to satisfy its dependencies. The dependency check is done by BitBake when meta-world-pkgdata gathers information about all available packages during image builds, even if libva isn't included in the build. This patch makes libva recipe be skipped if the "opengl" DISTRO_FEATURE isn't found. (From OE-Core rev: a78c420c4a2cf298e790b71b564a9f52949b966a) Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
934afbbf90
commit
a316b0b197
|
@ -23,7 +23,9 @@ SRC_URI[sha256sum] = "22bc139498065a7950d966dbdb000cad04905cbd3dc8f3541f80d36c46
|
|||
|
||||
DEPENDS = "libdrm virtual/mesa virtual/libgles1 virtual/libgles2 virtual/egl"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools pkgconfig distro_features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
||||
EXTRA_OECONF = "--disable-dummy-driver"
|
||||
|
||||
|
|
Loading…
Reference in New Issue