homebrew-core/Formula/mlt.rb
Brett Koonce 0cb9258b1e mlt 0.9.2
2014-07-19 23:41:09 -07:00

39 lines
787 B
Ruby

require "formula"
class Mlt < Formula
homepage "http://www.mltframework.org/"
url "https://downloads.sourceforge.net/mlt/mlt/mlt-0.9.2.tar.gz"
sha1 "eb1cdb8a1d9e69512716431054e5da7eb3bedb6d"
depends_on "pkg-config" => :build
depends_on "atk"
depends_on "ffmpeg"
depends_on "frei0r"
depends_on "libdv"
depends_on "libsamplerate"
depends_on "libvorbis"
depends_on "sdl"
depends_on "sox"
depends_on "gtk+" => :optional
if build.with? "gtk"
depends_on "pango"
depends_on "gdk-pixbuf"
end
def install
args = ["--prefix=#{prefix}",
"--disable-jackrack",
"--disable-swfdec"]
args << "--disable-gtk" if build.without? "gtk"
system "./configure", *args
system "make"
system "make", "install"
end
end