[oe-commits] [openembedded-core] 02/19: gnomebase-meson.bbclass: add a meson-specific version

git at git.openembedded.org git at git.openembedded.org
Thu Jan 4 17:04:24 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 4f43532d3c016b879cde28f1806c91a21b3cef34
Author: Alexander Kanavin <alexander.kanavin at linux.intel.com>
AuthorDate: Thu Jan 4 15:12:31 2018 +0200

    gnomebase-meson.bbclass: add a meson-specific version
    
    gnomebase.bbclass hardcodes the autotools inherit, so make it
    configurable and set appropriately from both classes.
    
    Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/gnomebase-meson.bbclass | 2 ++
 meta/classes/gnomebase.bbclass       | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/classes/gnomebase-meson.bbclass b/meta/classes/gnomebase-meson.bbclass
new file mode 100644
index 0000000..92e2e3f
--- /dev/null
+++ b/meta/classes/gnomebase-meson.bbclass
@@ -0,0 +1,2 @@
+GNOMEBASEBUILDCLASS = "meson"
+inherit gnomebase
diff --git a/meta/classes/gnomebase.bbclass b/meta/classes/gnomebase.bbclass
index 4ccc8e0..efcb6ca 100644
--- a/meta/classes/gnomebase.bbclass
+++ b/meta/classes/gnomebase.bbclass
@@ -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/*

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list