homebrew-core/Formula/mlt.rb
2019-11-21 07:42:31 +11:00

35 lines
1.1 KiB
Ruby

class Mlt < Formula
desc "Author, manage, and run multitrack audio/video compositions"
homepage "https://www.mltframework.org/"
url "https://github.com/mltframework/mlt/archive/v6.18.0.tar.gz"
sha256 "9ea6775300b9f997460f5d6adde1ea41e525ecfd30a70b987e13800e4c387ddb"
bottle do
sha256 "a5edb6d726441d05ea1c7f1db7f49739ce6f4305e6227b3a0a5a8d7757f2a092" => :catalina
sha256 "ecd5481375de9153bac1acd8a6811639d5bab2afb30fdf4b801db8c334a8eec0" => :mojave
sha256 "16921107de0a40396aa5105174989890acee5f4853f6ca6d6de3f045d80177d1" => :high_sierra
end
depends_on "pkg-config" => :build
depends_on "ffmpeg"
depends_on "frei0r"
depends_on "libdv"
depends_on "libsamplerate"
depends_on "libvorbis"
depends_on "sdl"
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