sox: Enable support for FLAC and PNG.
In case you wonder: PNG support is needed for example to generate spectograms. For example: sox shiny-song.flac -n spectrogram -o even-shinier.png Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
4cb061111c
commit
0ffa7dc0f2
@ -4,6 +4,8 @@
|
|||||||
, enableLame ? false, lame ? null
|
, enableLame ? false, lame ? null
|
||||||
, enableLibmad ? true, libmad ? null
|
, enableLibmad ? true, libmad ? null
|
||||||
, enableLibogg ? true, libogg ? null, libvorbis ? null
|
, enableLibogg ? true, libogg ? null, libvorbis ? null
|
||||||
|
, enableFLAC ? true, flac ? null
|
||||||
|
, enablePNG ? true, libpng ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
@ -21,7 +23,9 @@ stdenv.mkDerivation rec {
|
|||||||
optional enableLibao libao ++
|
optional enableLibao libao ++
|
||||||
optional enableLame lame ++
|
optional enableLame lame ++
|
||||||
optional enableLibmad libmad ++
|
optional enableLibmad libmad ++
|
||||||
optionals enableLibogg [ libogg libvorbis ];
|
optionals enableLibogg [ libogg libvorbis ] ++
|
||||||
|
optional enableFLAC flac ++
|
||||||
|
optional enablePNG libpng;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Sample Rate Converter for audio";
|
description = "Sample Rate Converter for audio";
|
||||||
|
Loading…
Reference in New Issue
Block a user