[oe] [meta-oe] [PATCH v2] renderdoc: add x11 to REQUIRED_DISTRO_FEATURES
Adrian Ratiu
adrian.ratiu at collabora.com
Fri Oct 4 11:40:26 UTC 2019
This recipe depends on having x11 enabled so we add it to fix:
ERROR: Nothing PROVIDES 'libxcb' (but
meta-oe/meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb
DEPENDS on or otherwise requires it)
libxcb was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)
Signed-off-by: Adrian Ratiu <adrian.ratiu at collabora.com>
---
Changes since v1:
- Added inherit distro_features_check otherwise the
REQUIRED_DISTRO_FEATURES var no-ops (oops!)
meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb
index b6e0c92f6..c7e872409 100644
--- a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb
+++ b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb
@@ -14,7 +14,9 @@ DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms vim-native"
RDEPENDS_${PN} = "libxcb xcb-util-keysyms"
-inherit cmake python3native
+inherit cmake python3native distro_features_check
+
+REQUIRED_DISTRO_FEATURES = "x11"
python __anonymous () {
# only works on glibc systems
--
2.23.0
More information about the Openembedded-devel
mailing list