[OE-core] [PATCH 2/2] glib-2.0: restore API docs generation
Richard Purdie
richard.purdie at linuxfoundation.org
Sat Feb 23 12:05:32 UTC 2019
On Fri, 2019-02-22 at 15:16 +0100, Alexander Kanavin wrote:
> Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
> ---
> meta/recipes-core/glib-2.0/glib.inc | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
> index 4d7fdeebbbd..6305f553b4a 100644
> --- a/meta/recipes-core/glib-2.0/glib.inc
> +++ b/meta/recipes-core/glib-2.0/glib.inc
> @@ -31,6 +31,12 @@ LEAD_SONAME = "libglib-2.0.*"
>
> inherit meson gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even bash-completion gio-module-cache manpages distro_features_check
>
> +GTKDOC_ENABLE_FLAG = "-Dgtk_doc=true"
> +GTKDOC_DISABLE_FLAG = "-Dgtk_doc=false"
> +
> +EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \
> + '${GTKDOC_DISABLE_FLAG}', d)} "
> +
> # This avoids the need to depend on target python3, which in case of mingw is not even possible.
> # meson's python configuration pokes into python3 configuration, so this provides the native config to it.
> unset _PYTHON_SYSCONFIGDATA_NAME
https://autobuilder.yoctoproject.org/typhoon/#/builders/69/builds/326/steps/7/logs/step3b
Cheers,
Richard
More information about the Openembedded-core
mailing list