summary refs log tree commit diff
path: root/pkgs/applications/audio/audacity
diff options
context:
space:
mode:
authorArnout Engelen <arnout@bzzt.net>2020-07-24 12:58:42 +0200
committerArnout Engelen <arnout@bzzt.net>2020-07-24 12:58:42 +0200
commit20872cb0ad51bdc0692da404ef5d137f81a5ec3e (patch)
treec0d7e2700b4141f5a9377a160b7b732e047d43a4 /pkgs/applications/audio/audacity
parent5717d9d2f7ca0662291910c52f1d7b95b568fec2 (diff)
downloadnixpkgs-20872cb0ad51bdc0692da404ef5d137f81a5ec3e.tar
nixpkgs-20872cb0ad51bdc0692da404ef5d137f81a5ec3e.tar.gz
nixpkgs-20872cb0ad51bdc0692da404ef5d137f81a5ec3e.tar.bz2
nixpkgs-20872cb0ad51bdc0692da404ef5d137f81a5ec3e.tar.lz
nixpkgs-20872cb0ad51bdc0692da404ef5d137f81a5ec3e.tar.xz
nixpkgs-20872cb0ad51bdc0692da404ef5d137f81a5ec3e.tar.zst
nixpkgs-20872cb0ad51bdc0692da404ef5d137f81a5ec3e.zip
audacity: 2.4.1 -> 2.4.2
Diffstat (limited to 'pkgs/applications/audio/audacity')
-rw-r--r--pkgs/applications/audio/audacity/default.nix24
1 files changed, 9 insertions, 15 deletions
diff --git a/pkgs/applications/audio/audacity/default.nix b/pkgs/applications/audio/audacity/default.nix
index 18f2b4f67cd..58f25d46e0b 100644
--- a/pkgs/applications/audio/audacity/default.nix
+++ b/pkgs/applications/audio/audacity/default.nix
@@ -1,28 +1,21 @@
-{ stdenv, fetchzip, wxGTK30, pkgconfig, file, gettext,
+{ stdenv, fetchzip, wxGTK31, pkgconfig, file, gettext,
   libvorbis, libmad, libjack2, lv2, lilv, serd, sord, sratom, suil, alsaLib, libsndfile, soxr, flac, lame,
   expat, libid3tag, ffmpeg_3, soundtouch, /*, portaudio - given up fighting their portaudio.patch */
-  autoconf, automake, libtool
+  pcre, vamp-plugin-sdk, portmidi, twolame, git,
+  cmake, libtool
   }:
 
 with stdenv.lib;
 
 stdenv.mkDerivation rec {
-  version = "2.4.1";
+  version = "2.4.2";
   pname = "audacity";
 
   src = fetchzip {
     url = "https://github.com/audacity/audacity/archive/Audacity-${version}.tar.gz";
-    sha256 = "1xk0piv72d2xd3p7igr916fhcbrm76fhjr418k1rlqdzzg1hfljn";
+    sha256 = "0lklcvqkxrr2gkb9gh3422iadzl2rv9v0a8s76rwq43lj2im7546";
   };
 
-  preConfigure = /* we prefer system-wide libs */ ''
-    autoreconf -vi # use system libraries
-
-    # we will get a (possibly harmless) warning during configure without this
-    substituteInPlace configure \
-      --replace /usr/bin/file ${file}/bin/file
-  '';
-
   configureFlags = [
     "--with-libsamplerate"
   ];
@@ -43,11 +36,12 @@ stdenv.mkDerivation rec {
     "-lswscale"
   ];
 
-  nativeBuildInputs = [ pkgconfig autoconf automake libtool ];
+  nativeBuildInputs = [ pkgconfig cmake libtool git ];
   buildInputs = [
-    file gettext wxGTK30 expat alsaLib
-    libsndfile soxr libid3tag libjack2 lv2 lilv serd sord sratom suil wxGTK30.gtk
+    file gettext wxGTK31 expat alsaLib
+    libsndfile soxr libid3tag libjack2 lv2 lilv serd sord sratom suil wxGTK31.gtk
     ffmpeg_3 libmad lame libvorbis flac soundtouch
+    pcre vamp-plugin-sdk portmidi twolame
   ]; #ToDo: detach sbsms
 
   enableParallelBuilding = true;