chromaprint 1.4.2
Closes #8595. Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
This commit is contained in:
parent
7eb8889e1e
commit
ea7a81fc5e
1 changed files with 3 additions and 13 deletions
|
@ -1,9 +1,8 @@
|
|||
class Chromaprint < Formula
|
||||
desc "Core component of the AcoustID project (Audio fingerprinting)"
|
||||
homepage "https://acoustid.org/chromaprint"
|
||||
url "https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-1.3.tar.gz"
|
||||
sha256 "3dc3ff97abdce63abc1f52d5f5f8e72c22f9a690dd6625271aa96d3a585b695a"
|
||||
revision 1
|
||||
url "https://github.com/acoustid/chromaprint/releases/download/v1.4.2/chromaprint-1.4.2.tar.gz"
|
||||
sha256 "989609a7e841dd75b34ee793bd1d049ce99a8f0d444b3cea39d57c3e5d26b4d4"
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -13,19 +12,10 @@ class Chromaprint < Formula
|
|||
sha256 "611f98dcc4855ad23b30ae5db399e5c6c6b659dc31fb09d5c7e573002e335448" => :mavericks
|
||||
end
|
||||
|
||||
option "without-examples", "Don't build examples (including fpcalc)"
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "ffmpeg" if build.with? "examples"
|
||||
|
||||
def install
|
||||
args = std_cmake_args
|
||||
args << "-DBUILD_EXAMPLES=ON" if build.with? "examples"
|
||||
system "cmake", ".", *args
|
||||
system "cmake", ".", *std_cmake_args
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/fpcalc", test_fixtures("test.mp3") if build.with? "examples"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue