From e56344e55e8e69fea8bd57c4ed2042a68afe8d11 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Sat, 19 May 2018 11:44:28 +0200 Subject: [PATCH] meson: rename options as per meson's style guide see https://mesonbuild.com/Style-guide.html --- meson.build | 6 +++--- meson_options.txt | 6 +++--- src/meson.build | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/meson.build b/meson.build index becc0e62a..491ebc84d 100644 --- a/meson.build +++ b/meson.build @@ -155,7 +155,7 @@ jack_dep = dependency('jack', version : '>= 1.9.10', required : false) pulseaudio_dep = dependency('libpulse', version : '>= 11.1', required : false) -if get_option('enable_gstreamer') +if get_option('gstreamer') glib_dep = dependency('glib-2.0', version : '>=2.32.0') gobject_dep = dependency('gobject-2.0') gmodule_dep = dependency('gmodule-2.0') @@ -174,7 +174,7 @@ subdir('pipewire-jack') subdir('pipewire-pulseaudio') subdir('alsa-plugins') -if get_option('enable_docs') +if get_option('docs') doxygen = find_program('doxygen', required : false) if doxygen.found() subdir('doc') @@ -183,7 +183,7 @@ if get_option('enable_docs') endif endif -if get_option('enable_man') +if get_option('man') xmltoman = find_program('xmltoman', required : false) if xmltoman.found() subdir('man') diff --git a/meson_options.txt b/meson_options.txt index 8e7976865..3d21b2b4b 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,12 +1,12 @@ -option('enable_docs', +option('docs', description: 'Build documentation', type: 'boolean', value: false) -option('enable_man', +option('man', description: 'Build manpages', type: 'boolean', value: false) -option('enable_gstreamer', +option('gstreamer', description: 'Build GStreamer plugins', type: 'boolean', value: false) diff --git a/src/meson.build b/src/meson.build index b30f784d6..0ad7778d6 100644 --- a/src/meson.build +++ b/src/meson.build @@ -6,6 +6,6 @@ subdir('tools') subdir('modules') subdir('examples') -if get_option('enable_gstreamer') +if get_option('gstreamer') subdir('gst') endif