2017-03-10 18:50:35 +00:00
|
|
|
class GstPluginsGoodAT010 < Formula
|
2017-03-13 17:02:05 +00:00
|
|
|
desc "GStreamer plugins (well-supported, under the LGPL)"
|
2017-03-13 17:02:54 +00:00
|
|
|
homepage "https://gstreamer.freedesktop.org/"
|
2017-03-10 18:50:35 +00:00
|
|
|
url "https://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"
|
2017-03-13 17:03:41 +00:00
|
|
|
depends_on "gst-plugins-base@0.10"
|
2017-03-10 18:50:35 +00:00
|
|
|
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 "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
|
2017-03-13 16:58:17 +00:00
|
|
|
args = %W[
|
|
|
|
--disable-debug
|
|
|
|
--disable-dependency-tracking
|
|
|
|
--prefix=#{prefix}
|
|
|
|
--disable-schemas-install
|
|
|
|
--disable-gtk-doc
|
|
|
|
--disable-goom
|
|
|
|
--with-default-videosink=ximagesink
|
|
|
|
]
|
|
|
|
|
|
|
|
# Prevent "fatal error: 'QuickTime/QuickTime.h' file not found"
|
|
|
|
args << "--disable-osx_video" if DevelopmentTools.clang_build_version >= 800
|
|
|
|
|
|
|
|
system "./configure", *args
|
2017-03-10 18:50:35 +00:00
|
|
|
system "make"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
end
|