2010-08-14 11:28:33 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class GstPluginsGood < Formula
|
2010-08-14 11:28:33 +00:00
|
|
|
homepage 'http://gstreamer.freedesktop.org/'
|
2012-02-05 11:46:28 +00:00
|
|
|
url 'http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-0.10.30.tar.bz2'
|
|
|
|
md5 '62fd7a3ef187c4f99b3d7c352d58dae9'
|
2010-08-14 11:28:33 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-08-14 11:28:33 +00:00
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'gst-plugins-base'
|
2011-02-21 20:33:45 +00:00
|
|
|
|
|
|
|
# The set of optional dependencies is based on the intersection of
|
2012-02-05 11:46:28 +00:00
|
|
|
# gst-plugins-good-0.10.30/REQUIREMENTS and Homebrew formulas
|
2011-02-21 20:33:45 +00:00
|
|
|
depends_on 'orc' => :optional
|
|
|
|
depends_on 'gtk+' => :optional
|
2010-08-14 11:28:33 +00:00
|
|
|
depends_on 'check' => :optional
|
2011-02-21 20:33:45 +00:00
|
|
|
depends_on 'aalib' => :optional
|
|
|
|
depends_on 'libcdio' => :optional
|
2012-02-05 11:46:28 +00:00
|
|
|
depends_on 'esound' => :optional
|
2010-08-14 11:28:33 +00:00
|
|
|
depends_on 'flac' => :optional
|
2012-02-05 11:46:28 +00:00
|
|
|
depends_on 'jpeg' => :optional
|
2010-08-14 11:28:33 +00:00
|
|
|
depends_on 'libcaca' => :optional
|
2010-10-22 22:03:18 +00:00
|
|
|
depends_on 'libdv' => :optional
|
2010-08-14 11:28:33 +00:00
|
|
|
depends_on 'libshout' => :optional
|
|
|
|
depends_on 'speex' => :optional
|
|
|
|
depends_on 'taglib' => :optional
|
|
|
|
|
|
|
|
def install
|
2012-03-15 00:37:19 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-schemas-install",
|
|
|
|
"--disable-gtk-doc",
|
|
|
|
"--disable-goom",
|
|
|
|
"--with-default-videosink=ximagesink"
|
2010-08-14 11:28:33 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|