aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDavid Christenson2015-03-17 01:07:06 -0600
committerMike McQuaid2015-03-18 08:09:33 +0000
commit69344a1bc0e9dc9d51f75c0fbdef3c0b4caf22db (patch)
tree6bee30bd0059f3676ed1bd937a39b2e9b5bd8545 /Library
parent140ebba9e8471423c8f1de5c78c9edab19f307a2 (diff)
downloadhomebrew-69344a1bc0e9dc9d51f75c0fbdef3c0b4caf22db.tar.bz2
chromaprint 1.2
Update to latest stable release, add test. Closes #37787. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/chromaprint.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/chromaprint.rb b/Library/Formula/chromaprint.rb
index e4af10f4f..50525e884 100644
--- a/Library/Formula/chromaprint.rb
+++ b/Library/Formula/chromaprint.rb
@@ -1,7 +1,7 @@
class Chromaprint < Formula
homepage "https://acoustid.org/chromaprint"
- url "https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-1.1.tar.gz"
- sha256 "6b14d7ea4964581b73bd3f8038c8857c01e446421c1ae99cbbf64de26b47cd12"
+ url "https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-1.2.tar.gz"
+ sha256 "822b8949a322ac04c6f8a3ed78f5e689bcc493c6ca0972bf627c913c8430031a"
bottle do
cellar :any
@@ -21,4 +21,8 @@ class Chromaprint < Formula
system "cmake", ".", *args
system "make", "install"
end
+
+ test do
+ system "#{bin}/fpcalc", test_fixtures("test.mp3") if build.with? "examples"
+ end
end