homebrew-core/Formula/gst-plugins-base.rb
Birger J. Nordølum 6fba71fdb1 Update the the GStreamer packages.
gstreamer-0.10.34
gst-plugins-bad-0.10.22
gst-plugins-base-0.10.34
gst-plugins-good-0.10.29
gst-plugins-ugly-0.10.18
gst-rtsp-0.10.8

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-05 21:42:14 -07:00

32 lines
1.2 KiB
Ruby

require 'formula'
class GstPluginsBase < Formula
homepage 'http://gstreamer.freedesktop.org/'
url 'http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.10.34.tar.bz2'
sha256 '7f347a60cd4317c7ea44c23e52d6e6233d2fa278b3fe3df7cbefe2bc2e253989'
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.32/REQUIREMENTS and Homebrew formulas
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
system "autoreconf -f -i" unless File.exist? "configure"
# gnome-vfs turned off due to lack of formula for it. MacPorts has it.
system "./configure", "--prefix=#{prefix}", "--disable-debug",
"--disable-dependency-tracking", "--enable-experimental",
"--disable-libvisual", "--disable-gst_v4l", "--disable-alsa",
"--disable-cdparanoia", "--without-x", "--disable-x", "--disable-xvideo",
"--disable-xshm", "--disable-gnome_vfs"
system "make"
system "make install"
end
end