homebrew-core/Formula/mlt.rb

48 lines
1.1 KiB
Ruby
Raw Normal View History

require "formula"
class Mlt < Formula
desc "Author, manage, and run multitrack audio/video compositions"
homepage "http://www.mltframework.org/"
2014-07-20 00:49:42 +00:00
url "https://downloads.sourceforge.net/mlt/mlt/mlt-0.9.2.tar.gz"
sha1 "eb1cdb8a1d9e69512716431054e5da7eb3bedb6d"
2014-11-16 03:28:09 +00:00
revision 1
2014-10-06 20:17:41 +00:00
bottle do
sha1 "8a672be9b09bf79c099755f822afd7837ee715a9" => :mavericks
sha1 "6fbdbc9c2422836ce659989f096d1670570d1c57" => :mountain_lion
sha1 "b5804ee50a521ee7f09c82fb3d58947ad4413990" => :lion
end
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
2014-11-16 03:28:09 +00:00
if build.with? "gtk+"
depends_on "pango"
depends_on "gdk-pixbuf"
end
def install
args = ["--prefix=#{prefix}",
"--disable-jackrack",
"--disable-swfdec"]
2014-11-16 03:28:09 +00:00
args << "--disable-gtk" if build.without? "gtk+"
system "./configure", *args
system "make"
system "make", "install"
end
end