Merge pull request #70658 from dsg22/feature-chromaprint-1.4.3
chromaprint: 1.3.2 -> 1.4.3
This commit is contained in:
commit
8b0f365582
2 changed files with 9 additions and 4 deletions
|
@ -28,6 +28,11 @@ let
|
|||
url = "https://github.com/clementine-player/Clementine/pull/5630.patch";
|
||||
sha256 = "0px7xp1m4nvrncx8sga1qlxppk562wrk2qqk19iiry84nxg20mk4";
|
||||
})
|
||||
(fetchpatch {
|
||||
# Fixes compilation with chromaprint >= 1.4
|
||||
url = "https://github.com/clementine-player/Clementine/commit/d3ea0c8482dfd3f6264a30cfceb456076d76e6cd.patch";
|
||||
sha256 = "1ifrs5aqdzw16jbnf0z1ilir20chdnr9k5n21r99miq9hzjpbh12";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
|
|
@ -2,18 +2,18 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "chromaprint";
|
||||
version = "1.3.2";
|
||||
version = "1.4.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://bitbucket.org/acoustid/chromaprint/downloads/${pname}-${version}.tar.gz";
|
||||
sha256 = "0lln8dh33gslb9cbmd1hcv33pr6jxdwipd8m8gbsyhksiq6r1by3";
|
||||
url = "https://github.com/acoustid/chromaprint/releases/download/v${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "10kz8lncal4s2rp2rqpgc6xyjp0jzcrihgkx7chf127vfs5n067a";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [ boost ffmpeg ];
|
||||
|
||||
cmakeFlags = [ "-DBUILD_EXAMPLES=ON" ];
|
||||
cmakeFlags = [ "-DBUILD_EXAMPLES=ON" "-DBUILD_TOOLS=ON" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://acoustid.org/chromaprint;
|
||||
|
|
Loading…
Reference in a new issue