kvazaar 1.3.0

Closes #41890.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Caleb Xu 2019-07-12 00:29:06 -04:00 committed by FX Coudert
parent 6762773ab0
commit c905055ddb

View file

@ -1,8 +1,9 @@
class Kvazaar < Formula
desc "Ultravideo HEVC encoder"
homepage "https://github.com/ultravideo/kvazaar"
url "https://github.com/ultravideo/kvazaar/releases/download/v1.2.0/kvazaar-1.2.0.tar.xz"
sha256 "9bc9ba4d825b497705bd6d84817933efbee43cbad0ffaac17d4b464e11e73a37"
url "https://github.com/ultravideo/kvazaar/archive/v1.3.0.tar.gz"
sha256 "f694fe71cc6e3e6f583a9faf380825ea93b2635c4db8d1d3121b9ebcf736ac1c"
head "https://github.com/ultravideo/kvazaar.git"
bottle do
cellar :any
@ -12,14 +13,9 @@ class Kvazaar < Formula
sha256 "918e7ad37489d7bc2c602b47678f85392bcaeca1805e01953e7dabe54c1a153b" => :el_capitan
end
head do
url "https://github.com/ultravideo/kvazaar.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "yasm" => :build
resource "videosample" do
@ -28,7 +24,7 @@ class Kvazaar < Formula
end
def install
system "./autogen.sh" if build.head?
system "./autogen.sh"
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end