Skip to content

Instantly share code, notes, and snippets.

@JMoVS
Created November 7, 2016 18:31
Show Gist options
  • Save JMoVS/1d1dcec2315b2efb312b5d19859a3e22 to your computer and use it in GitHub Desktop.
Save JMoVS/1d1dcec2315b2efb312b5d19859a3e22 to your computer and use it in GitHub Desktop.
handbrake brew formula for the time being
class Handbrake < Formula
desc "Open-source video transcoder available for Linux, Mac, and Windows."
homepage "https://handbrake.fr/"
url "https://github.com/HandBrake/HandBrake/archive/0.10.5.tar.gz"
sha256 "1e3aab0be004b05129579f1068a8d4664b23f83d55ca2d8c72f9935c319d2e0a"
head "https://github.com/JMoVS/HandBrake.git", #:branch => "MD5_to_SHA256"
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", "--debug=none",
"--disable-xcode",
"--disable-gtk"
cd "build" do
system "make"
bin.install "HandBrakeCLI"
end
end
test do
system bin/"HandBrakeCLI", "--help"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment