mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
meson: rename options as per meson's style guide
see https://mesonbuild.com/Style-guide.html
This commit is contained in:
parent
165c441ced
commit
3bf53f5e22
3 changed files with 7 additions and 7 deletions
|
|
@ -153,7 +153,7 @@ dbus_dep = dependency('dbus-1')
|
|||
#optional dependencies
|
||||
jack_dep = dependency('jack', version : '>= 1.9.10', 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')
|
||||
|
|
@ -169,7 +169,7 @@ subdir('spa')
|
|||
subdir('src')
|
||||
subdir('pkgconfig')
|
||||
|
||||
if get_option('enable_docs')
|
||||
if get_option('docs')
|
||||
doxygen = find_program('doxygen', required : false)
|
||||
if doxygen.found()
|
||||
subdir('doc')
|
||||
|
|
@ -178,7 +178,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')
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@ subdir('tools')
|
|||
subdir('modules')
|
||||
subdir('examples')
|
||||
|
||||
if get_option('enable_gstreamer')
|
||||
if get_option('gstreamer')
|
||||
subdir('gst')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue