homebrew-core/Formula/gst-plugins-good.rb
Jack Nagel 0803200bdd gst-plugins-good: use the right compiler
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-14 19:37:19 -05:00

40 lines
1.3 KiB
Ruby

require 'formula'
class GstPluginsGood < Formula
homepage 'http://gstreamer.freedesktop.org/'
url 'http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-0.10.30.tar.bz2'
md5 '62fd7a3ef187c4f99b3d7c352d58dae9'
depends_on 'pkg-config' => :build
depends_on 'gettext'
depends_on 'gst-plugins-base'
# The set of optional dependencies is based on the intersection of
# gst-plugins-good-0.10.30/REQUIREMENTS and Homebrew formulas
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
def install
ENV['OBJC'] = ENV.cc
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