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