diff mbox series

[1/1] libx11-compose-data: Use CONFLICT_DISTRO_FEATURES to skip when x11

Message ID 9fc3a1d8438cba065e0827df1ce9ae6efcea08d9.1735023394.git.liezhi.yang@windriver.com
State New
Headers show
Series [1/1] libx11-compose-data: Use CONFLICT_DISTRO_FEATURES to skip when x11 | expand

Commit Message

Robert Yang Dec. 24, 2024, 6:58 a.m. UTC
From: Robert Yang <liezhi.yang@windriver.com>

So that PARSE_ALL_RECIPES will work.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-graphics/xorg-lib/libx11-compose-data_1.8.4.bb | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/xorg-lib/libx11-compose-data_1.8.4.bb b/meta/recipes-graphics/xorg-lib/libx11-compose-data_1.8.4.bb
index 2131f46213..4286e0ccb1 100644
--- a/meta/recipes-graphics/xorg-lib/libx11-compose-data_1.8.4.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11-compose-data_1.8.4.bb
@@ -1,11 +1,6 @@ 
 SUMMARY = "Xlib: Compose data files for libx11"
 DESCRIPTION = "This package provides the compose data files for libx11."
 
-python () {
-    if bb.utils.contains('DISTRO_FEATURES', 'x11', True, False, d):
-        raise bb.parse.SkipRecipe("libx11-compose-data is incompatible with x11 distro feature, use libx11 instead.")
-}
-
 require xorg-lib-common.inc
 
 LICENSE = "MIT & BSD-1-Clause & HPND & HPND-sell-variant & ISC"
@@ -19,6 +14,7 @@  SRC_URI += "file://0001-Drop-x11-dependencies.patch \
 SRC_URI[sha256sum] = "c9a287a5aefa9804ce3cfafcf516fe96ed3f7e8e45c0e2ee59e84c86757df518"
 
 REQUIRED_DISTRO_FEATURES = ""
+CONFLICT_DISTRO_FEATURES = "x11"
 
 EXTRA_OECONF += "--disable-xkb"