aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/kvazaar.rb
blob: 1d67b7a217bbf80d08e0e74095837119b1fbadb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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