diff mbox series

[v2,2/8] rxvt-unicode: add x11 DISTRO_FEATURE check

Message ID 20241113155511.1948551-2-ross.burton@arm.com
State New
Headers show
Series [v2,1/8] rxvt-unicode: change virtual/x-terminal-emulator PROVIDES to RPROVIDES | expand

Commit Message

Ross Burton Nov. 13, 2024, 3:55 p.m. UTC
rxvt is a classic X11 application, so add the feature check so it doesn't
get pulled into world builds without x11.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc b/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc
index 2ee3edefa76..8cd41f33923 100644
--- a/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc
+++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc
@@ -13,7 +13,9 @@  SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2
 	   file://rxvt.desktop \
 	   file://rxvt.png"
 
-inherit autotools pkgconfig update-alternatives
+inherit autotools features_check pkgconfig update-alternatives
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 RPROVIDES:${PN} = "virtual-x-terminal-emulator"
 ALTERNATIVE:${PN} = "x-terminal-emulator"