From ea7a81fc5e51238340f0543b3203fa99e8c4c996 Mon Sep 17 00:00:00 2001 From: Tomasz Pajor Date: Sat, 7 Jan 2017 20:06:47 +0100 Subject: [PATCH] chromaprint 1.4.2 Closes #8595. Signed-off-by: Tomasz Pajor --- Formula/chromaprint.rb | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/Formula/chromaprint.rb b/Formula/chromaprint.rb index 1575fba007..b5647c7ae5 100644 --- a/Formula/chromaprint.rb +++ b/Formula/chromaprint.rb @@ -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