Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 8/8] gstreamer-vaapi-1.0: check for "opengl"	feature
Date: Thu,  8 Dec 2016 18:58:01 -0800	[thread overview]
Message-ID: <20161209025801.20775-8-raj.khem@gmail.com> (raw)
In-Reply-To: <20161209025801.20775-1-raj.khem@gmail.com>

From: Ismo Puustinen <ismo.puustinen@intel.com>

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>
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
index 6dea9cf..59b0324 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-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.10.2



      parent reply	other threads:[~2016-12-09  2:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-09  2:57 [PATCH 1/8] gstreamer1.0: Upgrade to 1.10.1 Khem Raj
2016-12-09  2:57 ` [PATCH 2/8] systemd-boot: Use PV in recipe name Khem Raj
2016-12-09  2:57 ` [PATCH 3/8] gstreamer1.0-plugins-bad: Define and use WAYLAND_PROTOCOLS_SYSROOT_DIR for output of pkg-config Khem Raj
2016-12-09  2:57 ` [PATCH 4/8] gstreamer1.0-rtsp-server: Add libcheck to deps Khem Raj
2016-12-09  2:57 ` [PATCH 5/8] gstreamer1.0-vaapi: Import from meta-intel Khem Raj
2016-12-09  2:57 ` [PATCH 6/8] puzzles: Upgrade and fix with clang Khem Raj
2016-12-09  2:58 ` [PATCH 7/8] libva: check for "opengl" feature Khem Raj
2016-12-09  2:58 ` Khem Raj [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161209025801.20775-8-raj.khem@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox