]> code.ossystems Code Review - openembedded-core.git/commitdiff
gstreamer-vaapi-1.0: check for "opengl" feature
authorIsmo Puustinen <ismo.puustinen@intel.com>
Fri, 9 Dec 2016 02:58:01 +0000 (18:58 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Dec 2016 22:47:31 +0000 (22:47 +0000)
If "opengl" distro feature is not set, libva recipe is skipped. Since
missing libva breaks gstreamer-vaapi-1.0 build, the same check has to be
done in gstreamer-vaapi-1.0 recipe too.

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>
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc

index 6dea9cfc3c69825463d144745f9bc8ee283f3d51..59b032455b4d5cef5fac56fb6548257c4fa15663 100644 (file)
@@ -16,7 +16,9 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.x
 
 S = "${WORKDIR}/${REALPN}-${PV}"
 
-inherit autotools pkgconfig gtk-doc
+inherit autotools pkgconfig gtk-doc distro_features_check
+
+REQUIRED_DISTRO_FEATURES ?= "opengl"
 
 PACKAGES =+ "${PN}-tests"