mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
meson: adds post meson setup/--reconfigure summary for auto features
As suggested by George Kiagiadakis, adds calls to summary() function for each feature that is by default set to auto, so that an overview of their effective state is printed at the end of meson setup or meson --reconfigure command. Currently ordering is a bit messy but tidying it up would detach the summary() functions from the dependencies they rely on and could be done later along with meson_options.txt re-ordering so that the two match as much as possible.
This commit is contained in:
parent
243d534476
commit
71d39e90ed
6 changed files with 34 additions and 1 deletions
|
|
@ -26,7 +26,9 @@ if ncurses_dep.found()
|
|||
)
|
||||
endif
|
||||
|
||||
build_pw_cat = false
|
||||
if not get_option('pw-cat').disabled() and sndfile_dep.found()
|
||||
build_pw_cat = true
|
||||
|
||||
pwcat_sources = [
|
||||
'pw-cat.c',
|
||||
|
|
@ -54,3 +56,4 @@ if not get_option('pw-cat').disabled() and sndfile_dep.found()
|
|||
elif not sndfile_dep.found() and get_option('pw-cat').enabled()
|
||||
error('pw-cat is enabled but required dependency `sndfile` was not found.')
|
||||
endif
|
||||
summary({'Build pw-cat tool': build_pw_cat}, bool_yn: true, section: 'pw-cat/pw-play/pw-dump tool')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue