handbrake 1.0.0 (new formula)
Closes #8064. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
d52f5b601f
commit
b69e72e563
1 changed files with 26 additions and 0 deletions
26
Formula/handbrake.rb
Normal file
26
Formula/handbrake.rb
Normal file
|
@ -0,0 +1,26 @@
|
|||
class Handbrake < Formula
|
||||
desc "Open-source video transcoder available for Linux, Mac, and Windows."
|
||||
homepage "https://handbrake.fr/"
|
||||
url "https://handbrake.fr/rotation.php?file=HandBrake-1.0.0.tar.bz2"
|
||||
sha256 "15fb4593c70d75621212e4499f018c3c93d7ce39f1083bf527d4616ded0044c5"
|
||||
head "https://github.com/HandBrake/HandBrake.git"
|
||||
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "cmake" => :build
|
||||
depends_on "libtool" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "yasm" => :build
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"--disable-xcode",
|
||||
"--disable-gtk"
|
||||
system "make", "-C", "build"
|
||||
system "make", "-C", "build", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"HandBrakeCLI", "--help"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue