sox: Add WavPack support

r128gain's tests include processing some WavPack files with sox.  Allow
opting into linking with wavpack so those tests can be run.
This commit is contained in:
Aluísio Augusto Silva Gonçalves 2020-06-12 03:26:53 -03:00
parent 23c9c3779d
commit 09f5becdd0
No known key found for this signature in database
GPG Key ID: DA6EA2FACDB1CBD2

View File

@ -8,6 +8,7 @@
, enableFLAC ? true, flac ? null
, enablePNG ? true, libpng ? null
, enableLibsndfile ? true, libsndfile ? null
, enableWavpack ? true, wavpack ? null
# amrnb and amrwb are unfree, disabled by default
, enableAMR ? false, amrnb ? null, amrwb ? null
, enableLibpulseaudio ? true, libpulseaudio ? null
@ -36,6 +37,7 @@ stdenv.mkDerivation rec {
optional enableFLAC flac ++
optional enablePNG libpng ++
optional enableLibsndfile libsndfile ++
optional enableWavpack wavpack ++
optionals enableAMR [ amrnb amrwb ] ++
optional enableLibpulseaudio libpulseaudio ++
optional (stdenv.isDarwin) CoreAudio;