audacity: 2.1.1 -> 2.1.2

+6 -12
+6 -12
pkgs/applications/audio/audacity/default.nix
··· 1 - { stdenv, fetchurl, wxGTK, pkgconfig, gettext, gtk, glib, zlib, perl, intltool, 2 libogg, libvorbis, libmad, alsaLib, libsndfile, soxr, flac, lame, fetchpatch, 3 expat, libid3tag, ffmpeg, soundtouch /*, portaudio - given up fighting their portaudio.patch */ 4 }: 5 6 stdenv.mkDerivation rec { 7 - version = "2.1.1"; 8 name = "audacity-${version}"; 9 10 src = fetchurl { 11 url = "https://github.com/audacity/audacity/archive/Audacity-${version}.tar.gz"; 12 - sha256 = "15c5ff7ac1c0b19b08f4bdcb0f4988743da2f9ed3fab41d6f07600e67cb9ddb6"; 13 }; 14 patches = [(fetchpatch { 15 name = "new-ffmpeg.patch"; ··· 18 sha256 = "19fr674mw844zmkp1476yigkcnmb6zyn78av64ccdwi3p68i00rf"; 19 })]; 20 21 - # fix with gcc-5 from http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2012-December/245884.html 22 - postPatch = '' 23 - substituteInPlace lib-src/libnyquist/nyquist/ffts/src/fftlib.c \ 24 - --replace 'inline void' 'static inline void' 25 - ''; 26 - 27 preConfigure = /* we prefer system-wide libs */ '' 28 mv lib-src lib-src-rm 29 mkdir lib-src ··· 31 rm -r lib-src-rm/ 32 ''; 33 34 - configureFlags = "--with-libsamplerate"; 35 36 buildInputs = [ 37 - pkgconfig gettext wxGTK gtk expat alsaLib 38 - libsndfile soxr libid3tag 39 ffmpeg libmad lame libvorbis flac soundtouch 40 ]; #ToDo: detach sbsms 41
··· 1 + { stdenv, fetchurl, wxGTK30, pkgconfig, gettext, gtk, glib, zlib, perl, intltool, 2 libogg, libvorbis, libmad, alsaLib, libsndfile, soxr, flac, lame, fetchpatch, 3 expat, libid3tag, ffmpeg, soundtouch /*, portaudio - given up fighting their portaudio.patch */ 4 }: 5 6 stdenv.mkDerivation rec { 7 + version = "2.1.2"; 8 name = "audacity-${version}"; 9 10 src = fetchurl { 11 url = "https://github.com/audacity/audacity/archive/Audacity-${version}.tar.gz"; 12 + sha256 = "1ggr6g0mk36rqj7ahsg8b0b1r9kphwajzvxgn43md263rm87n04h"; 13 }; 14 patches = [(fetchpatch { 15 name = "new-ffmpeg.patch"; ··· 18 sha256 = "19fr674mw844zmkp1476yigkcnmb6zyn78av64ccdwi3p68i00rf"; 19 })]; 20 21 preConfigure = /* we prefer system-wide libs */ '' 22 mv lib-src lib-src-rm 23 mkdir lib-src ··· 25 rm -r lib-src-rm/ 26 ''; 27 28 + configureFlags = [ "--with-libsamplerate" ]; 29 30 buildInputs = [ 31 + pkgconfig gettext wxGTK30 expat alsaLib 32 + libsndfile soxr libid3tag gtk 33 ffmpeg libmad lame libvorbis flac soundtouch 34 ]; #ToDo: detach sbsms 35