meson: rename options as per meson's style guide

see https://mesonbuild.com/Style-guide.html
This commit is contained in:
Rasmus Thomsen 2018-05-19 11:44:28 +02:00 committed by Wim Taymans
parent 55cb38d0a8
commit e56344e55e
3 changed files with 7 additions and 7 deletions

View file

@ -155,7 +155,7 @@ jack_dep = dependency('jack', version : '>= 1.9.10', required : false)
pulseaudio_dep = dependency('libpulse', version : '>= 11.1', 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') glib_dep = dependency('glib-2.0', version : '>=2.32.0')
gobject_dep = dependency('gobject-2.0') gobject_dep = dependency('gobject-2.0')
gmodule_dep = dependency('gmodule-2.0') gmodule_dep = dependency('gmodule-2.0')
@ -174,7 +174,7 @@ subdir('pipewire-jack')
subdir('pipewire-pulseaudio') subdir('pipewire-pulseaudio')
subdir('alsa-plugins') subdir('alsa-plugins')
if get_option('enable_docs') if get_option('docs')
doxygen = find_program('doxygen', required : false) doxygen = find_program('doxygen', required : false)
if doxygen.found() if doxygen.found()
subdir('doc') subdir('doc')
@ -183,7 +183,7 @@ if get_option('enable_docs')
endif endif
endif endif
if get_option('enable_man') if get_option('man')
xmltoman = find_program('xmltoman', required : false) xmltoman = find_program('xmltoman', required : false)
if xmltoman.found() if xmltoman.found()
subdir('man') subdir('man')

View file

@ -1,12 +1,12 @@
option('enable_docs', option('docs',
description: 'Build documentation', description: 'Build documentation',
type: 'boolean', type: 'boolean',
value: false) value: false)
option('enable_man', option('man',
description: 'Build manpages', description: 'Build manpages',
type: 'boolean', type: 'boolean',
value: false) value: false)
option('enable_gstreamer', option('gstreamer',
description: 'Build GStreamer plugins', description: 'Build GStreamer plugins',
type: 'boolean', type: 'boolean',
value: false) value: false)

View file

@ -6,6 +6,6 @@ subdir('tools')
subdir('modules') subdir('modules')
subdir('examples') subdir('examples')
if get_option('enable_gstreamer') if get_option('gstreamer')
subdir('gst') subdir('gst')
endif endif