]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libmodulemd: add manpages
authorRoss Burton <ross.burton@arm.com>
Mon, 9 Jun 2025 11:19:35 +0000 (12:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jun 2025 16:43:20 +0000 (17:43 +0100)
Inherit manpages and optionally enable the manpages. They're in the
repository so don't need more tools to build.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb

index 79fabfc8683e67964e4ea2069d8cef5bba82611b..c31fc44ce4ffbfc188890cac0c78dd702d65721f 100644 (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"