[meta-intel] [PATCH 2/2] gstreamer-vaapi-1.0: check for "opengl" feature

Ismo Puustinen ismo.puustinen at intel.com
Thu Dec 1 00:09:05 PST 2016


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 at intel.com>
---
 common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
index 6dea9cf..59b0324 100644
--- a/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
@@ -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"
 
-- 
2.9.3



More information about the meta-intel mailing list