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-02-19 14:11:47 +00:00
|
|
|
url "https://github.com/ultravideo/kvazaar/archive/v0.4.0.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "19af3e92a9689819e69fecff6d3f51c3dac98bda774c45ca2403cfe354da2684"
|
2014-01-31 17:43:21 +00:00
|
|
|
|
2015-02-19 14:59:20 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "14925edf1ac9c07c54c872d7b5d3d7708a9f814a" => :yosemite
|
|
|
|
sha1 "f7c026308db68e957324585b74a3ab0746289a6d" => :mavericks
|
|
|
|
sha1 "d0c6b625b2beefbb9dafe2f9eaad678fe97d0fa7" => :mountain_lion
|
|
|
|
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
|