2010-06-16 19:09:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class GstPluginsBase <Formula
|
|
|
|
homepage 'http://gstreamer.freedesktop.org/'
|
2010-08-14 11:27:36 +00:00
|
|
|
url 'http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.10.30.tar.bz2'
|
|
|
|
md5 '3ad90152b58563e1314af26c263f3c4c'
|
2010-06-16 19:09:57 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-06-16 19:09:57 +00:00
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'gstreamer'
|
|
|
|
depends_on 'liboil'
|
|
|
|
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
|