void-packages/srcpkgs/NetworkManager/patches/no-gtk-doc.patch
2021-07-02 23:02:55 -03:00

29 lines
1 KiB
Diff

Reason: We only want to build man pages, not development docs
Upstream: An issue has been filed - https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/689
Index: b/meson.build
===================================================================
--- a/meson.build
+++ b/meson.build
@@ -943,10 +943,8 @@ if enable_qt
endif
if enable_docs
- assert(enable_introspection, '-Ddocs=true requires -Dintrospection=true')
assert(meson.version().version_compare('>= 0.46.0'), '-Ddocs requires meson >= 0.46')
subdir('man')
- subdir('docs')
endif
configure_file(
Index: b/src/libnmc-setting/meson.build
===================================================================
--- a/src/libnmc-setting/meson.build
+++ b/src/libnmc-setting/meson.build
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
-if enable_docs
+if enable_docs and enable_introspection
settings_docs_input_xml = custom_target(
'settings-docs-input.xml',
input: [nm_settings_docs_xml_gir, nm_property_infos_xml['nmcli']],