aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/kvazaar.rb
blob: 1b79fdc9c8e528a8f4b6fee929d3446e95bc9e3f (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.2.4.tar.gz"
  sha1 "636c26955b0b69249f51bc8661a8d57ad4c581df"

  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.2'"
  end
end