homebrew-core/Formula/gst-plugins-good@0.10.rb

49 lines
1.5 KiB
Ruby
Raw Normal View History

class GstPluginsGoodAT010 < Formula
2017-03-13 17:02:05 +00:00
desc "GStreamer plugins (well-supported, under the LGPL)"
homepage "http://gstreamer.freedesktop.org/"
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"
depends_on "gst-plugins-base@0.10"
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
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
system "make"
system "make", "install"
end
end