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/'
|
2013-03-23 22:01:12 +00:00
|
|
|
url 'http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.0.6.tar.xz'
|
2013-04-07 09:23:53 +00:00
|
|
|
mirror 'http://ftp.osuosl.org/pub/blfs/svn/g/gst-plugins-good-1.0.6.tar.xz'
|
2013-03-23 22:01:12 +00:00
|
|
|
sha256 '67f7690a9826d9a6ab28b9af2536a6f3e833ee412bd59dd603c48fb3c6823e0d'
|
2010-08-14 11:28:33 +00:00
|
|
|
|
2013-02-05 18:58:53 +00:00
|
|
|
depends_on :x11
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2013-02-12 15:03:02 +00:00
|
|
|
depends_on 'xz' => :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
|
2013-01-26 13:16:55 +00:00
|
|
|
# gst-plugins-good-0.10.30/REQUIREMENTS and Homebrew formulae
|
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
|
2012-08-16 18:57:39 +00:00
|
|
|
depends_on 'libsoup' => :optional
|
2010-08-14 11:28:33 +00:00
|
|
|
|
|
|
|
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
|