[3/4] xdg-utils: allow to build for wayland

Message ID 20220531190620.186764-3-f_l_k@t-online.de
State New
Headers show
Series [1/4] xorg-lib-common: allow to build for wayland | expand

Commit Message

Markus Volk May 31, 2022, 7:06 p.m. UTC
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Patch

diff --git a/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb b/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb
index 73acf6b744..ef698d9f09 100644
--- a/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb
+++ b/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb
@@ -31,8 +31,9 @@  UPSTREAM_CHECK_REGEX = "xdg-utils-(?P<pver>((\d+[\.\-_]*)+)((rc|alpha|beta)\d+)?
 # Needs brokensep as this doesn't use automake
 inherit autotools-brokensep features_check
 
-# The xprop requires x11 in DISTRO_FEATURES
-REQUIRED_DISTRO_FEATURES = "x11"
+ANY_OF_DISTRO_FEATURES = "x11 wayland"
 
 DEPENDS = "xmlto-native libxslt-native"
-RDEPENDS:${PN} += "xprop"
+
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
+PACKAGECONFIG[x11] = ",,,xprop"