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>
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/"