From: Ross Burton Date: Wed, 15 Jul 2026 14:05:00 +0000 (+0100) Subject: xorg-app-common: add builder class variable X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3370e01e46e1f290f628c3839711de2ce0c3906;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git xorg-app-common: add builder class variable 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/xorg-app/xorg-app-common.inc b/meta/recipes-graphics/xorg-app/xorg-app-common.inc index 5dbe8abe86..23a526413a 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/"