diff mbox series

[05/12] xorg-app-common: add builder class variable

Message ID 20260715140507.2329605-5-ross.burton@arm.com
State New
Headers show
Series [01/12] libxml2: clean up xmlconf mode fixups | expand

Commit Message

Ross Burton July 15, 2026, 2:05 p.m. UTC
Add a variable XORGBUILDCLASS to control which builder class is used.

Defaults to autotools for no change, but this lets recipes switch to
Meson if they can.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-graphics/xorg-app/xorg-app-common.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/xorg-app/xorg-app-common.inc b/meta/recipes-graphics/xorg-app/xorg-app-common.inc
index 5dbe8abe862..23a526413ad 100644
--- a/meta/recipes-graphics/xorg-app/xorg-app-common.inc
+++ b/meta/recipes-graphics/xorg-app/xorg-app-common.inc
@@ -11,6 +11,9 @@  REQUIRED_DISTRO_FEATURES = "x11"
 SRC_URI_EXT = "bz2"
 SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.${SRC_URI_EXT}"
 
-inherit autotools pkgconfig features_check
+XORGBUILDCLASS ??= "autotools"
+inherit_defer ${XORGBUILDCLASS}
+
+inherit pkgconfig features_check
 
 FILES:${PN} += " ${libdir}/X11/${BPN} ${datadir}/X11/app-defaults/"