]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
xorg-app-common: add builder class variable
authorRoss Burton <ross.burton@arm.com>
Wed, 15 Jul 2026 14:05:00 +0000 (15:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Jul 2026 19:51:32 +0000 (20:51 +0100)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-app/xorg-app-common.inc

index 5dbe8abe862a481ef4b92a813872273bd6b75d7f..23a526413ad56d22a81f1c40833d7b20dededa6a 100644 (file)
@@ -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/"