aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-06-02 19:18:32 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-06-06 09:42:15 +0200
commitaece7238c4ebf4d95780df95f1a4743a7fa52ca9 (patch)
tree5780974ac350acab6b89df4511c2fcf350577680 /meson.build
parentc3527c5e492f2ee37bd0697de3fe8dbb9dbffa24 (diff)
meson.build: Group the audio backend entries in a separate summary section
Let's make it easier for the users to spot audio-related entries in the summary of the meson output. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230602171832.533739-4-thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build32
1 files changed, 18 insertions, 14 deletions
diff --git a/meson.build b/meson.build
index b0adf5b461..97b32e9beb 100644
--- a/meson.build
+++ b/meson.build
@@ -4251,6 +4251,24 @@ summary_info += {'curses support': curses}
summary_info += {'brlapi support': brlapi}
summary(summary_info, bool_yn: true, section: 'User interface')
+# Audio backends
+summary_info = {}
+if targetos not in ['darwin', 'haiku', 'windows']
+ summary_info += {'OSS support': oss}
+ summary_info += {'sndio support': sndio}
+elif targetos == 'darwin'
+ summary_info += {'CoreAudio support': coreaudio}
+elif targetos == 'windows'
+ summary_info += {'DirectSound support': dsound}
+endif
+if targetos == 'linux'
+ summary_info += {'ALSA support': alsa}
+ summary_info += {'PulseAudio support': pulse}
+endif
+summary_info += {'Pipewire support': pipewire}
+summary_info += {'JACK support': jack}
+summary(summary_info, bool_yn: true, section: 'Audio backends')
+
# Network backends
summary_info = {}
if targetos == 'darwin'
@@ -4271,20 +4289,6 @@ summary_info += {'virgl support': virgl}
summary_info += {'blkio support': blkio}
summary_info += {'curl support': curl}
summary_info += {'Multipath support': mpathpersist}
-if targetos not in ['darwin', 'haiku', 'windows']
- summary_info += {'OSS support': oss}
- summary_info += {'sndio support': sndio}
-elif targetos == 'darwin'
- summary_info += {'CoreAudio support': coreaudio}
-elif targetos == 'windows'
- summary_info += {'DirectSound support': dsound}
-endif
-if targetos == 'linux'
- summary_info += {'ALSA support': alsa}
- summary_info += {'PulseAudio support': pulse}
-endif
-summary_info += {'Pipewire support': pipewire}
-summary_info += {'JACK support': jack}
summary_info += {'Linux AIO support': libaio}
summary_info += {'Linux io_uring support': linux_io_uring}
summary_info += {'ATTR/XATTR support': libattr}