class GstPluginsBase < Formula desc "GStreamer plugins (well-supported, basic set)" homepage "http://gstreamer.freedesktop.org/" url "https://download.gnome.org/sources/gst-plugins-base/1.6/gst-plugins-base-1.6.1.tar.xz" sha256 "9533dcfaa4ee32d435483d9fa88c06b1eba6e9bb234aacd7583f207199f44ba3" bottle do sha256 "a8b0cf88b5d999bf0f920a2136576da1a8ae2574a50ed6c0755c008b8bdd5ad9" => :el_capitan sha256 "a2161b82a858c0ec0a1d7a0ea14c41664e507053a756e6874450d557a6142d15" => :yosemite sha256 "3be63e57479cf37569e17f31106ce0b98dd347b377bc8f7dd80286785c8bde0e" => :mavericks end head do url "git://anongit.freedesktop.org/gstreamer/gst-plugins-base" depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libtool" => :build end depends_on "pkg-config" => :build depends_on "gettext" depends_on "gstreamer" # The set of optional dependencies is based on the intersection of # gst-plugins-base-0.10.35/REQUIREMENTS and Homebrew formulae depends_on "gobject-introspection" depends_on "orc" => :optional depends_on "gtk+" => :optional depends_on "libogg" => :optional depends_on "pango" => :optional depends_on "theora" => :optional depends_on "libvorbis" => :optional def install # gnome-vfs turned off due to lack of formula for it. args = %W[ --prefix=#{prefix} --enable-experimental --disable-libvisual --disable-alsa --disable-cdparanoia --without-x --disable-x --disable-xvideo --disable-xshm --disable-debug --disable-dependency-tracking --enable-introspection=yes ] if build.head? ENV["NOCONFIGURE"] = "yes" system "./autogen.sh" end system "./configure", *args system "make" system "make", "install" end end