Skip to content

Instantly share code, notes, and snippets.

@eugeneware
Created September 6, 2017 08:19
Show Gist options
  • Save eugeneware/da0bf2520a10d9e016c682e971cb7f1b to your computer and use it in GitHub Desktop.
Save eugeneware/da0bf2520a10d9e016c682e971cb7f1b to your computer and use it in GitHub Desktop.
class Mlt < Formula
desc "Author, manage, and run multitrack audio/video compositions"
homepage "https://www.mltframework.org/"
url "https://github.com/mltframework/mlt/archive/ecb09b14ee2706eecee026cee2478049586d8646.tar.gz"
version "6.4.2"
sha256 "28a13699726c9fec5fc93ed70e7213cb3a2608f3a4ffbaf8bdccb7c63b12df53"
depends_on "pkg-config" => :build
depends_on "ffmpeg"
depends_on "frei0r"
depends_on "libdv"
depends_on "libsamplerate"
depends_on "libvorbis"
depends_on "sdl2"
depends_on "sox"
def install
system "./configure", "--prefix=#{prefix}",
"--disable-jackrack",
"--disable-swfdec",
"--disable-gtk",
"--enable-gpl"
system "make"
system "make", "install"
end
test do
system "#{bin}/melt", "-version"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment