mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-08 06:58:08 +02:00
meson: adds summary() to auto features
This commit is contained in:
parent
6ef84a1309
commit
d8365fe33e
2 changed files with 13 additions and 0 deletions
|
|
@ -6,12 +6,20 @@ python_doc = pymod.find_installation(
|
|||
modules: ['sphinx', 'sphinx_rtd_theme', 'breathe', 'sphinx.ext.graphviz'],
|
||||
required: get_option('doc')
|
||||
)
|
||||
summary({'Python 3 Sphinx related modules': python_doc.found()},
|
||||
bool_yn: true,
|
||||
section: 'For documentation'
|
||||
)
|
||||
|
||||
python_gir = pymod.find_installation(
|
||||
'python3',
|
||||
modules: ['lxml'],
|
||||
required: get_option('introspection')
|
||||
)
|
||||
summary({'Python 3 lxml module': python_gir.found()},
|
||||
bool_yn: true,
|
||||
section: 'For introspection'
|
||||
)
|
||||
|
||||
if get_option('doc').enabled() or get_option('introspection').enabled()
|
||||
doxygen_p = find_program('doxygen', version: '>= 1.8.0', required: true)
|
||||
|
|
@ -20,10 +28,14 @@ elif get_option('doc').auto() or get_option('introspection').auto()
|
|||
else
|
||||
doxygen_p = disabler()
|
||||
endif
|
||||
summary({'Doxygen': doxygen_p.found()}, bool_yn: true, section: 'For introspection')
|
||||
summary({'Doxygen': doxygen_p.found()}, bool_yn: true, section: 'For documentation')
|
||||
|
||||
sphinx_p = find_program('sphinx-build',
|
||||
version: '>= 2.1.0', required: get_option('doc'))
|
||||
summary({'sphinx-build': sphinx_p.found()}, bool_yn: true, section: 'For documentation')
|
||||
gir_p = find_program('g-ir-scanner', required: get_option('introspection'))
|
||||
summary({'g-ir-scanner': gir_p.found()}, bool_yn: true, section: 'For introspection')
|
||||
|
||||
build_doc = python_doc.found() and doxygen_p.found() and sphinx_p.found()
|
||||
build_gir = python_gir.found() and doxygen_p.found() and gir_p.found()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
systemd = dependency('systemd', required: get_option('systemd'))
|
||||
summary({'systemd conf data': systemd.found()}, bool_yn: true)
|
||||
|
||||
if systemd.found()
|
||||
systemd_config = configuration_data()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue