summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Sturm <mstrm@openmailbox.org>2015-09-29 23:02:46 +0200
committerMoritz Ulrich <moritz@tarn-vedra.de>2015-10-02 00:36:27 +0200
commit63e3ec8ce10f7cf13f9877da7ba9b2c21afa1c6a (patch)
treeb1c0796369f57e16a0f94fc5940ec842f34a22dc
parent83a5cfb260e22027b0b9d4736f9b6ed127355864 (diff)
downloadnixlib-63e3ec8ce10f7cf13f9877da7ba9b2c21afa1c6a.tar
nixlib-63e3ec8ce10f7cf13f9877da7ba9b2c21afa1c6a.tar.gz
nixlib-63e3ec8ce10f7cf13f9877da7ba9b2c21afa1c6a.tar.bz2
nixlib-63e3ec8ce10f7cf13f9877da7ba9b2c21afa1c6a.tar.lz
nixlib-63e3ec8ce10f7cf13f9877da7ba9b2c21afa1c6a.tar.xz
nixlib-63e3ec8ce10f7cf13f9877da7ba9b2c21afa1c6a.tar.zst
nixlib-63e3ec8ce10f7cf13f9877da7ba9b2c21afa1c6a.zip
audacity: Use soundtouch
This enables change pitch (without changing tempo) and change tempo
(without changing pitch) effects.
-rw-r--r--pkgs/applications/audio/audacity/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/audio/audacity/default.nix b/pkgs/applications/audio/audacity/default.nix
index 6f25693f734e..67ec6b5a419e 100644
--- a/pkgs/applications/audio/audacity/default.nix
+++ b/pkgs/applications/audio/audacity/default.nix
@@ -1,6 +1,6 @@
 { stdenv, fetchurl, wxGTK, pkgconfig, gettext, gtk, glib, zlib, perl, intltool,
   libogg, libvorbis, libmad, alsaLib, libsndfile, soxr, flac, lame,
-  expat, libid3tag, ffmpeg /*, portaudio - given up fighting their portaudio.patch */
+  expat, libid3tag, ffmpeg, soundtouch /*, portaudio - given up fighting their portaudio.patch */
   }:
 
 stdenv.mkDerivation rec {
@@ -19,11 +19,13 @@ stdenv.mkDerivation rec {
     rm -r lib-src-rm/
   '';
 
+  configureFlags = "--with-libsamplerate";
+
   buildInputs = [
     pkgconfig gettext wxGTK gtk expat alsaLib
     libsndfile soxr libid3tag
-    ffmpeg libmad lame libvorbis flac
-  ]; #ToDo: soundtouch, detach sbsms
+    ffmpeg libmad lame libvorbis flac soundtouch
+  ]; #ToDo: detach sbsms
 
   dontDisableStatic = true;
   doCheck = true;