Skip to content

Instantly share code, notes, and snippets.

@eugeneware
Created September 6, 2017 08:15
Show Gist options
  • Save eugeneware/183e3f8e0fb4b4bbc290b438ff54b758 to your computer and use it in GitHub Desktop.
Save eugeneware/183e3f8e0fb4b4bbc290b438ff54b758 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/master.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