2014-01-31 17:43:21 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class Kvazaar < Formula
|
|
|
|
homepage "https://github.com/ultravideo/kvazaar"
|
2014-03-16 15:26:44 +00:00
|
|
|
url "https://github.com/ultravideo/kvazaar/archive/v0.3.0.tar.gz"
|
|
|
|
sha1 "cd3924a2692d0b3ebaed7f0c88b300ea15155fb1"
|
2014-01-31 17:43:21 +00:00
|
|
|
|
|
|
|
depends_on 'yasm' => :build
|
|
|
|
|
|
|
|
def install
|
|
|
|
cd 'src' do
|
|
|
|
system 'make'
|
|
|
|
end
|
|
|
|
bin.install 'src/kvazaar'
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2014-03-16 15:26:44 +00:00
|
|
|
system "kvazaar 2>&1 | grep 'HEVC Encoder v. 0.3'"
|
2014-01-31 17:43:21 +00:00
|
|
|
end
|
|
|
|
end
|