output/shout: declare minimum version 2.4.0

This version was released 7 years ago, and it's reasonable to require
at least this version.
This commit is contained in:
Max Kellermann 2022-04-26 16:45:34 +02:00
parent e08c13ad7e
commit c779fc37eb
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -1,6 +1,8 @@
ver 0.23.7 (not yet released)
* decoder
- opus: fix missing song length on high-latency files
* output
- shout: require at least libshout 2.4.0
* mixer
- software: update volume of disabled outputs
* support libiconv

View File

@ -99,7 +99,7 @@ if get_option('recorder')
need_encoder = true
endif
libshout_dep = dependency('shout', required: get_option('shout'))
libshout_dep = dependency('shout', version: '>= 2.4.0', required: get_option('shout'))
output_features.set('HAVE_SHOUT', libshout_dep.found())
if libshout_dep.found()
output_plugins_sources += 'ShoutOutputPlugin.cxx'