Skip to contentSkip to conversation

glib-2.0: correct deprecated man/gtk-doc options

PATCH New Alexander Kanavin 1 participant 1 message May 10, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glib-2.0: correct deprecated man/gtk-doc options

From: Alexander Kanavin <[email protected]>

---
 meta/recipes-core/glib-2.0/glib.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-core/glib-2.0/glib.inc +3 -1
index 780aa24573e..1a97a0d02a6 100644
@@ -32,13 +32,15 @@ inherit meson gettext gi-docgen pkgconfig ptest-gnome upstream-version-is-even b
 
 S = "${WORKDIR}/glib-${PV}"
 
+GIDOCGEN_MESON_OPTION = "documentation"
+
 PACKAGECONFIG ??= "libmount \
                    ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'introspection', '', d)} \
                    ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
 PACKAGECONFIG:class-native = ""
 
 PACKAGECONFIG[libmount] = "-Dlibmount=enabled,-Dlibmount=disabled,util-linux"
-PACKAGECONFIG[manpages] = "-Dman=true, -Dman=false, python3-docutils-native"
+PACKAGECONFIG[manpages] = "-Dman-pages=enabled, -Dman-pages=disabled, python3-docutils-native"
 PACKAGECONFIG[libelf] = "-Dlibelf=enabled,-Dlibelf=disabled,elfutils"
 PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false,"
 PACKAGECONFIG[selinux] = "-Dselinux=enabled,-Dselinux=disabled,libselinux"
Signature · 1 line
2.39.2