blob: 19970bd0d0ab22712db6721e4aec132f06b2bcfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  | 
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
    system "make", "-C", "src"
    bin.install 'src/kvazaar'
  end
  test do
    system "kvazaar 2>&1 | grep 'HEVC Encoder v. 0.3'"
  end
end
  |