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
|
2014-04-17 04:24:36 +00:00
|
|
|
system "make", "-C", "src"
|
2014-01-31 17:43:21 +00:00
|
|
|
bin.install 'src/kvazaar'
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2014-05-22 01:51:56 +00:00
|
|
|
system "#{bin}/kvazaar 2>&1 | grep 'HEVC Encoder v. 0.3'"
|
2014-01-31 17:43:21 +00:00
|
|
|
end
|
|
|
|
end
|