2014-01-31 17:43:21 +00:00
|
|
|
class Kvazaar < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "HEVC encoder"
|
2014-01-31 17:43:21 +00:00
|
|
|
homepage "https://github.com/ultravideo/kvazaar"
|
2015-08-26 00:48:04 +00:00
|
|
|
url "https://github.com/ultravideo/kvazaar/archive/v0.5.0.tar.gz"
|
|
|
|
sha256 "2facdbffcf739171127487cd7d1e48c925560f39755a16542c4a40e65e293070"
|
2014-01-31 17:43:21 +00:00
|
|
|
|
2015-02-19 14:59:20 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-08-26 01:22:36 +00:00
|
|
|
sha256 "1cf96786d4613d94b93a8091027ea9d14ae6c801d11996def7c4b408316032e6" => :yosemite
|
|
|
|
sha256 "aa78c8fa2657ccac25a0c3ac30d7840f281ab8af8a59aafb8058a122090e1b97" => :mavericks
|
|
|
|
sha256 "5fc3c49c10479539474539e1bee928f89a3586f1f44e2f346c3b6484ff6395d2" => :mountain_lion
|
2015-02-19 14:59:20 +00:00
|
|
|
end
|
|
|
|
|
2015-02-19 14:11:47 +00:00
|
|
|
depends_on "yasm" => :build
|
2014-01-31 17:43:21 +00:00
|
|
|
|
|
|
|
def install
|
2014-04-17 04:24:36 +00:00
|
|
|
system "make", "-C", "src"
|
2015-02-19 14:11:47 +00:00
|
|
|
bin.install "src/kvazaar"
|
2014-01-31 17:43:21 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2015-02-19 14:11:47 +00:00
|
|
|
assert_match "HEVC Encoder", shell_output("#{bin}/kvazaar 2>&1", 1)
|
2014-01-31 17:43:21 +00:00
|
|
|
end
|
|
|
|
end
|