blob: e4af10f4f13021e51132813fdf4d9f23200bedb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
class Chromaprint < Formula
homepage "https://acoustid.org/chromaprint"
url "https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-1.1.tar.gz"
sha256 "6b14d7ea4964581b73bd3f8038c8857c01e446421c1ae99cbbf64de26b47cd12"
bottle do
cellar :any
sha256 "ef34e1c1bb3016fa27ea0bba10a01d65c0f6c60737a7fbb7b8ffc08156c54815" => :yosemite
sha256 "3f78eb0feb44cd6375fae0de9f51bd3a3354b69a7d3e066231198ac4d39c38fe" => :mavericks
sha256 "46f4596410d895c122bb306154ac6eec6d03008c40206183679888a62b7cb1a7" => :mountain_lion
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 "make", "install"
end
end
|