updating sox, adding maintainer, enabling mp3 support
svn path=/nixpkgs/trunk/; revision=17864
This commit is contained in:
parent
dd3564aba9
commit
523d1b8216
@ -2,11 +2,11 @@ args: with args;
|
|||||||
let inherit (args.composableDerivation) composableDerivation edf; in
|
let inherit (args.composableDerivation) composableDerivation edf; in
|
||||||
composableDerivation {} {
|
composableDerivation {} {
|
||||||
|
|
||||||
name = "sox-14.0.0";
|
name = "sox-14.3.0";
|
||||||
|
|
||||||
src = args.fetchurl {
|
src = args.fetchurl {
|
||||||
url = mirror://sourceforge/sox/sox-14.0.0.tar.gz;
|
url = mirror://sourceforge/sox/sox-14.3.0.tar.gz;
|
||||||
sha256 = "1l7v04nlvb96y0w9crvm6nq8g50yxp3bkv6nb1c205s982inlalc";
|
sha256 = "15r39dq9nlwrypm0vpxmbxyqqv0bd6284djbi1fdfrlkjhf43gws";
|
||||||
};
|
};
|
||||||
|
|
||||||
flags =
|
flags =
|
||||||
@ -17,7 +17,12 @@ composableDerivation {} {
|
|||||||
edf { name = "alsa"; enable = { buildInputs = [alsaLib]; }; }
|
edf { name = "alsa"; enable = { buildInputs = [alsaLib]; }; }
|
||||||
// edf { name = "libao"; enable = { buildInputs = [libao]; }; }
|
// edf { name = "libao"; enable = { buildInputs = [libao]; }; }
|
||||||
// edf { name = "oss"; }
|
// edf { name = "oss"; }
|
||||||
// edf { name = "sun_audio"; };
|
// edf { name = "sun_audio"; }
|
||||||
|
// edf { name = "dl-lame"; enable.buildInputs = [ lame ]; } # use shared library
|
||||||
|
// edf { name = "lame"; enable.buildInputs = [ lame ]; }
|
||||||
|
// edf { name = "dl-mad"; enable.buildInputs = [ libmad ]; } # use shared library
|
||||||
|
// edf { name = "mad"; enable.buildInputs =[ libmad ]; }
|
||||||
|
;
|
||||||
# These options should be autodetected by the configure script
|
# These options should be autodetected by the configure script
|
||||||
/*
|
/*
|
||||||
--without-sndfile Don't try to use libsndfile
|
--without-sndfile Don't try to use libsndfile
|
||||||
@ -38,7 +43,12 @@ composableDerivation {} {
|
|||||||
cfg = {
|
cfg = {
|
||||||
ossSupport = false;
|
ossSupport = false;
|
||||||
sun_audioSupport = false;
|
sun_audioSupport = false;
|
||||||
};
|
} // lib.listToAttrs [
|
||||||
|
{ name = "dl-lameSupport"; value = true; }
|
||||||
|
{ name = "dl-madSupport"; value = true; }
|
||||||
|
];
|
||||||
|
|
||||||
|
configureFlags = ["-enable-dl-lame"];
|
||||||
|
|
||||||
|
|
||||||
optionals = [ "libsndfile" "libogg" "flac" "ffmpeg" "libmad" "lame"
|
optionals = [ "libsndfile" "libogg" "flac" "ffmpeg" "libmad" "lame"
|
||||||
@ -49,6 +59,7 @@ composableDerivation {} {
|
|||||||
meta = {
|
meta = {
|
||||||
description = "Sample Rate Converter for audio";
|
description = "Sample Rate Converter for audio";
|
||||||
homepage = http://www.mega-nerd.com/SRC/index.html;
|
homepage = http://www.mega-nerd.com/SRC/index.html;
|
||||||
|
maintainers = [lib.maintainers.marcweber];
|
||||||
# you can choose one of the following licenses:
|
# you can choose one of the following licenses:
|
||||||
license = [
|
license = [
|
||||||
"GPL"
|
"GPL"
|
||||||
|
Loading…
Reference in New Issue
Block a user