]> code.ossystems Code Review - openembedded-core.git/commitdiff
gnomebase.bbclass: allow a meson-specific version
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Thu, 4 Jan 2018 13:12:31 +0000 (15:12 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Jan 2018 12:01:52 +0000 (12:01 +0000)
gnomebase.bbclass hardcodes the autotools inherit, so make it
configurable and allow meson to be specified instead.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
[RP: patches tweaked to only need the one class]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/gnomebase.bbclass

index 4ccc8e078140be3ad36f506ae3757f7f4d81647f..efcb6caae159fd711f4912f3dec16d95520b468c 100644 (file)
@@ -20,7 +20,8 @@ FILES_${PN} += "${datadir}/application-registry  \
 
 FILES_${PN}-doc += "${datadir}/devhelp"
 
-inherit autotools pkgconfig
+GNOMEBASEBUILDCLASS ??= "autotools"
+inherit ${GNOMEBASEBUILDCLASS} pkgconfig
 
 do_install_append() {
        rm -rf ${D}${localstatedir}/lib/scrollkeeper/*