From 63e3ec8ce10f7cf13f9877da7ba9b2c21afa1c6a Mon Sep 17 00:00:00 2001 From: Martin Sturm Date: Tue, 29 Sep 2015 23:02:46 +0200 Subject: [PATCH] audacity: Use soundtouch This enables change pitch (without changing tempo) and change tempo (without changing pitch) effects. --- pkgs/applications/audio/audacity/default.nix | 8 +++++--- 1 file 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;