forked from lotia/homebrew-versions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gst-plugins-good010.rb
42 lines (38 loc) · 1.44 KB
/
gst-plugins-good010.rb
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
require 'formula'
class GstPluginsGood010 < Formula
homepage 'http://gstreamer.freedesktop.org/'
url 'http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-0.10.31.tar.bz2'
sha256 '7e27840e40a7932ef2dc032d7201f9f41afcaf0b437daf5d1d44dc96d9e35ac6'
depends_on :x11
depends_on 'pkg-config' => :build
depends_on 'gettext'
depends_on 'homebrew/versions/gst-plugins-base010'
depends_on 'cairo'
# The set of optional dependencies is based on the intersection of
# gst-plugins-good-0.10.30/REQUIREMENTS and Homebrew formulae
depends_on 'orc' => :optional
depends_on 'gtk+' => :optional
depends_on 'check' => :optional
depends_on 'aalib' => :optional
depends_on 'libcdio' => :optional
depends_on 'esound' => :optional
depends_on 'flac' => :optional
depends_on 'jpeg' => :optional
depends_on 'libcaca' => :optional
depends_on 'libdv' => :optional
depends_on 'libshout' => :optional
depends_on 'speex' => :optional
depends_on 'taglib' => :optional
depends_on 'libsoup' => :optional
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-schemas-install",
"--disable-gtk-doc",
"--disable-goom",
"--with-default-videosink=ximagesink"
system "make"
system "make install"
end
end