tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
cantata: fix segfault on qt 5.10
Peter Hoeg
8 years ago
92c0720b
e45dfded
+10
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
audio
cantata
default.nix
+10
-1
pkgs/applications/audio/cantata/default.nix
···
1
-
{ stdenv, fetchFromGitHub, cmake, pkgconfig, vlc
2
, qtbase, qtmultimedia, qtsvg, qttools
3
4
# Cantata doesn't build with cdparanoia enabled so we disable that
···
45
sha256 = "1b633chgfs8rya78bzzck5zijna15d1y4nmrz4dcjp862ks5y5q6";
46
};
47
0
0
0
0
0
0
0
0
0
48
buildInputs = [ vlc qtbase qtmultimedia qtsvg ]
49
++ stdenv.lib.optionals withTaglib [ taglib taglib_extras ]
50
++ stdenv.lib.optionals withReplaygain [ ffmpeg speex mpg123 ]
···
1
+
{ stdenv, fetchFromGitHub, fetchpatch, cmake, pkgconfig, vlc
2
, qtbase, qtmultimedia, qtsvg, qttools
3
4
# Cantata doesn't build with cdparanoia enabled so we disable that
···
45
sha256 = "1b633chgfs8rya78bzzck5zijna15d1y4nmrz4dcjp862ks5y5q6";
46
};
47
48
+
patches = [
49
+
# patch is needed for 2.2.0 with qt 5.10 (doesn't harm earlier versions)
50
+
(fetchpatch {
51
+
url = "https://github.com/CDrummond/cantata/commit/4da7a9128f2c5eaf23ae2a5006d300dc4f21fc6a.patch";
52
+
sha256 = "1z21ax3542z7hm628xv110lmplaspb407jzgfk16xkphww5qyphj";
53
+
name = "fix_qt_510.patch";
54
+
})
55
+
56
+
];
57
buildInputs = [ vlc qtbase qtmultimedia qtsvg ]
58
++ stdenv.lib.optionals withTaglib [ taglib taglib_extras ]
59
++ stdenv.lib.optionals withReplaygain [ ffmpeg speex mpg123 ]