Skip to contentSkip to conversation

renderdoc: add x11 to REQUIRED_DISTRO_FEATURES

PATCH New Adrian Ratiu 1 participant 1 message Oct 4, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 renderdoc: add x11 to REQUIRED_DISTRO_FEATURES

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)

---

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(-)
meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb +3 -1
index b6e0c92f6..c7e872409 100644
@@ -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
Signature · 1 line
2.23.0