libmodulemd: add manpages

Inherit manpages and optionally enable the manpages. They're in the
repository so don't need more tools to build.

(From OE-Core rev: 44ef85ac2b41e78888411cf4577b1128eced6909)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2025-06-09 12:19:35 +01:00 committed by Richard Purdie
parent 789d8d0df1
commit d79324557c

View File

@ -10,9 +10,9 @@ SRCREV = "e7f179eeeb6eee1403f090fc43a3c80bb08b5bfd"
S = "${WORKDIR}/git"
inherit meson gobject-introspection pkgconfig
inherit meson gobject-introspection pkgconfig manpages
EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides"
EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides"
DEPENDS += "glib-2.0 libyaml glib-2.0-native"
@ -21,3 +21,6 @@ BBCLASSEXTEND = "native nativesdk"
GIR_MESON_OPTION = 'skip_introspection'
GIR_MESON_ENABLE_FLAG = 'false'
GIR_MESON_DISABLE_FLAG = 'true'
PACKAGECONFIG ??= ""
PACKAGECONFIG[manpages] = "-Dwith_manpages=enabled,-Dwith_manpages=disabled"