parent
80bf2e3641
commit
07fad592c5
@ -28,7 +28,7 @@ assert withOnlineServices -> withTaglib;
|
|||||||
assert withReplaygain -> withTaglib;
|
assert withReplaygain -> withTaglib;
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.2.0";
|
version = "2.3.2";
|
||||||
pname = "cantata";
|
pname = "cantata";
|
||||||
fstat = x: fn: "-DENABLE_" + fn + "=" + (if x then "ON" else "OFF");
|
fstat = x: fn: "-DENABLE_" + fn + "=" + (if x then "ON" else "OFF");
|
||||||
fstats = x: map (fstat x);
|
fstats = x: map (fstat x);
|
||||||
@ -42,18 +42,9 @@ in stdenv.mkDerivation rec {
|
|||||||
owner = "CDrummond";
|
owner = "CDrummond";
|
||||||
repo = "cantata";
|
repo = "cantata";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1b633chgfs8rya78bzzck5zijna15d1y4nmrz4dcjp862ks5y5q6";
|
sha256 = "11hjday5vj0wzkc8yb5wbs05jwa8mvgxswd5qvhpci0zkl975yzn";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# patch is needed for 2.2.0 with qt 5.10 (doesn't harm earlier versions)
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/CDrummond/cantata/commit/4da7a9128f2c5eaf23ae2a5006d300dc4f21fc6a.patch";
|
|
||||||
sha256 = "1z21ax3542z7hm628xv110lmplaspb407jzgfk16xkphww5qyphj";
|
|
||||||
name = "fix_qt_510.patch";
|
|
||||||
})
|
|
||||||
|
|
||||||
];
|
|
||||||
buildInputs = [ vlc qtbase qtmultimedia qtsvg ]
|
buildInputs = [ vlc qtbase qtmultimedia qtsvg ]
|
||||||
++ stdenv.lib.optionals withTaglib [ taglib taglib_extras ]
|
++ stdenv.lib.optionals withTaglib [ taglib taglib_extras ]
|
||||||
++ stdenv.lib.optionals withReplaygain [ ffmpeg speex mpg123 ]
|
++ stdenv.lib.optionals withReplaygain [ ffmpeg speex mpg123 ]
|
||||||
|
Loading…
Reference in New Issue
Block a user