homebrew-core/Formula/kvazaar.rb
2014-03-18 11:14:32 -05:00

20 lines
414 B
Ruby

require "formula"
class Kvazaar < Formula
homepage "https://github.com/ultravideo/kvazaar"
url "https://github.com/ultravideo/kvazaar/archive/v0.3.0.tar.gz"
sha1 "cd3924a2692d0b3ebaed7f0c88b300ea15155fb1"
depends_on 'yasm' => :build
def install
cd 'src' do
system 'make'
end
bin.install 'src/kvazaar'
end
test do
system "kvazaar 2>&1 | grep 'HEVC Encoder v. 0.3'"
end
end