[OE-core] [PATCH 2/9] gnomebase-meson.bbclass: add a meson-specific version

Burton, Ross ross.burton at intel.com
Fri Jan 5 11:47:29 UTC 2018


Do we even need gnomebase-meson with this?  I can see a future where GNOME
is entirely Meson and then we could just switch the default
GNOMEBASEBUILDCLASS from autotools to meson.

(prior art being the tarball compression type)

Ross

On 4 January 2018 at 13:12, Alexander Kanavin <
alexander.kanavin at linux.intel.com> wrote:

> 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>
> ---
>  meta/classes/gnomebase-meson.bbclass | 2 ++
>  meta/classes/gnomebase.bbclass       | 3 ++-
>  2 files changed, 4 insertions(+), 1 deletion(-)
>  create mode 100644 meta/classes/gnomebase-meson.bbclass
>
> diff --git a/meta/classes/gnomebase-meson.bbclass
> b/meta/classes/gnomebase-meson.bbclass
> new file mode 100644
> index 00000000000..92e2e3f3b18
> --- /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 4ccc8e07814..efcb6caae15 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/*
> --
> 2.15.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180105/a50bc6f8/attachment-0002.html>


More information about the Openembedded-core mailing list