From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 7/8] libva: check for "opengl" feature
Date: Thu, 8 Dec 2016 18:58:00 -0800 [thread overview]
Message-ID: <20161209025801.20775-7-raj.khem@gmail.com> (raw)
In-Reply-To: <20161209025801.20775-1-raj.khem@gmail.com>
From: Ismo Puustinen <ismo.puustinen@intel.com>
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.
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-graphics/libva/libva_1.7.3.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/libva/libva_1.7.3.bb b/meta/recipes-graphics/libva/libva_1.7.3.bb
index 9994158..a6e5889 100644
--- a/meta/recipes-graphics/libva/libva_1.7.3.bb
+++ b/meta/recipes-graphics/libva/libva_1.7.3.bb
@@ -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"
--
2.10.2
next prev 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 ` Khem Raj [this message]
2016-12-09 2:58 ` [PATCH 8/8] gstreamer-vaapi-1.0: check for "opengl" feature Khem Raj
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-7-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.