diff options
Diffstat (limited to 'gui-apps/lavalauncher/files/lavalauncher-1.7.1-optional-man.patch')
-rw-r--r-- | gui-apps/lavalauncher/files/lavalauncher-1.7.1-optional-man.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gui-apps/lavalauncher/files/lavalauncher-1.7.1-optional-man.patch b/gui-apps/lavalauncher/files/lavalauncher-1.7.1-optional-man.patch new file mode 100644 index 000000000000..612548e17a78 --- /dev/null +++ b/gui-apps/lavalauncher/files/lavalauncher-1.7.1-optional-man.patch @@ -0,0 +1,27 @@ +diff --git a/meson.build b/meson.build +index 029f711..50beccd 100644 +--- a/meson.build ++++ b/meson.build +@@ -6,7 +6,6 @@ project( + default_options: [ + 'c_std=c11', + 'warning_level=3', +- 'werror=true', + ] + ) + +@@ -61,6 +60,7 @@ scdoc = dependency( + 'scdoc', + version: '>=1.9.2', + native: true, ++ required: get_option('man-page'), + ) + if scdoc.found() + scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true) +diff --git a/meson_options.txt b/meson_options.txt +new file mode 100644 +index 0000000..2e41905 +--- /dev/null ++++ b/meson_options.txt +@@ -0,0 +1 @@ ++option('man-page', type: 'feature', value: 'auto', description: 'Generate and install man pages') |