blob: 6a94cf3e1f1c4bb9421558e77e609d315b790fe4 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
 | 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"
  revision 1
  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
  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
 |