mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
chromaprint: switch FFT implementation to ffmpeg, build fpcalc
FFmpeg is prefered over FFTW3, and a mutual dependency of picard and acoustid-fingerprinter
This commit is contained in:
parent
78bcfef61a
commit
d41b8b3091
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, fftw, boost }:
|
||||
{ stdenv, fetchurl, cmake, ffmpeg, boost }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "chromaprint-${version}";
|
||||
@ -9,11 +9,17 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "04nd8xmy4kgnpfffj6hw893f80bwhp43i01zpmrinn3497mdf53b";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake fftw boost ];
|
||||
buildInputs = [ cmake ffmpeg boost ];
|
||||
|
||||
meta = {
|
||||
cmakeFlags = [ "-DBUILD_EXAMPLES=ON" ];
|
||||
|
||||
postInstall = "installBin examples/fpcalc";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://acoustid.org/chromaprint";
|
||||
description = "AcoustID audio fingerprinting library";
|
||||
license = stdenv.lib.licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ emery ];
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user