Skip to content

Commit aece723

Browse files
huthbonzini
authored andcommitted
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 <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent c3527c5 commit aece723

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

meson.build

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4251,6 +4251,24 @@ summary_info += {'curses support': curses}
42514251
summary_info += {'brlapi support': brlapi}
42524252
summary(summary_info, bool_yn: true, section: 'User interface')
42534253

4254+
# Audio backends
4255+
summary_info = {}
4256+
if targetos not in ['darwin', 'haiku', 'windows']
4257+
summary_info += {'OSS support': oss}
4258+
summary_info += {'sndio support': sndio}
4259+
elif targetos == 'darwin'
4260+
summary_info += {'CoreAudio support': coreaudio}
4261+
elif targetos == 'windows'
4262+
summary_info += {'DirectSound support': dsound}
4263+
endif
4264+
if targetos == 'linux'
4265+
summary_info += {'ALSA support': alsa}
4266+
summary_info += {'PulseAudio support': pulse}
4267+
endif
4268+
summary_info += {'Pipewire support': pipewire}
4269+
summary_info += {'JACK support': jack}
4270+
summary(summary_info, bool_yn: true, section: 'Audio backends')
4271+
42544272
# Network backends
42554273
summary_info = {}
42564274
if targetos == 'darwin'
@@ -4271,20 +4289,6 @@ summary_info += {'virgl support': virgl}
42714289
summary_info += {'blkio support': blkio}
42724290
summary_info += {'curl support': curl}
42734291
summary_info += {'Multipath support': mpathpersist}
4274-
if targetos not in ['darwin', 'haiku', 'windows']
4275-
summary_info += {'OSS support': oss}
4276-
summary_info += {'sndio support': sndio}
4277-
elif targetos == 'darwin'
4278-
summary_info += {'CoreAudio support': coreaudio}
4279-
elif targetos == 'windows'
4280-
summary_info += {'DirectSound support': dsound}
4281-
endif
4282-
if targetos == 'linux'
4283-
summary_info += {'ALSA support': alsa}
4284-
summary_info += {'PulseAudio support': pulse}
4285-
endif
4286-
summary_info += {'Pipewire support': pipewire}
4287-
summary_info += {'JACK support': jack}
42884292
summary_info += {'Linux AIO support': libaio}
42894293
summary_info += {'Linux io_uring support': linux_io_uring}
42904294
summary_info += {'ATTR/XATTR support': libattr}

0 commit comments

Comments
 (0)