summary refs log tree commit diff
path: root/pkgs/applications/misc/audio
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2009-10-18 04:43:56 +0000
committerMarc Weber <marco-oweber@gmx.de>2009-10-18 04:43:56 +0000
commit523d1b8216215883ea76d1703f63c5ce87f9f890 (patch)
tree62f35713a905d97c907129e9e056d5a902f4bd16 /pkgs/applications/misc/audio
parentdd3564aba9cb4c7b52bb88f08a0c528780f438c5 (diff)
downloadnixlib-523d1b8216215883ea76d1703f63c5ce87f9f890.tar
nixlib-523d1b8216215883ea76d1703f63c5ce87f9f890.tar.gz
nixlib-523d1b8216215883ea76d1703f63c5ce87f9f890.tar.bz2
nixlib-523d1b8216215883ea76d1703f63c5ce87f9f890.tar.lz
nixlib-523d1b8216215883ea76d1703f63c5ce87f9f890.tar.xz
nixlib-523d1b8216215883ea76d1703f63c5ce87f9f890.tar.zst
nixlib-523d1b8216215883ea76d1703f63c5ce87f9f890.zip
updating sox, adding maintainer, enabling mp3 support
svn path=/nixpkgs/trunk/; revision=17864
Diffstat (limited to 'pkgs/applications/misc/audio')
-rw-r--r--pkgs/applications/misc/audio/sox/default.nix21
1 files changed, 16 insertions, 5 deletions
diff --git a/pkgs/applications/misc/audio/sox/default.nix b/pkgs/applications/misc/audio/sox/default.nix
index e3dcf3ec80c8..3e200a312c73 100644
--- a/pkgs/applications/misc/audio/sox/default.nix
+++ b/pkgs/applications/misc/audio/sox/default.nix
@@ -2,11 +2,11 @@ args: with args;
 let inherit (args.composableDerivation) composableDerivation edf; in
 composableDerivation {} {
 
-    name = "sox-14.0.0";
+    name = "sox-14.3.0";
 
     src = args.fetchurl {
-      url = mirror://sourceforge/sox/sox-14.0.0.tar.gz;
-      sha256 = "1l7v04nlvb96y0w9crvm6nq8g50yxp3bkv6nb1c205s982inlalc";
+      url = mirror://sourceforge/sox/sox-14.3.0.tar.gz;
+      sha256 = "15r39dq9nlwrypm0vpxmbxyqqv0bd6284djbi1fdfrlkjhf43gws";
     };
 
     flags =
@@ -17,7 +17,12 @@ composableDerivation {} {
     edf { name = "alsa"; enable = { buildInputs = [alsaLib]; }; }
     // edf { name = "libao"; enable = { buildInputs = [libao]; }; }
     // 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
     /*
     --without-sndfile       Don't try to use libsndfile
@@ -38,7 +43,12 @@ composableDerivation {} {
   cfg = {
     ossSupport = 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"
@@ -49,6 +59,7 @@ composableDerivation {} {
   meta = {
     description = "Sample Rate Converter for audio";
     homepage = http://www.mega-nerd.com/SRC/index.html;
+    maintainers = [lib.maintainers.marcweber];
     # you can choose one of the following licenses:
     license = [
       "GPL"