a15269e9e3
Closes Homebrew/homebrew#17794. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
42 lines
1.2 KiB
Ruby
42 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-1.0.5.tar.xz'
|
|
sha256 '37ce6e09b99ef3879111c861ee5090582b4fd4c764e81ab6eb2b2b4dd77d7173'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'xz' => :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' => :optional
|
|
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}
|
|
--disable-debug
|
|
--disable-dependency-tracking
|
|
--enable-experimental
|
|
--disable-libvisual
|
|
--disable-alsa
|
|
--disable-cdparanoia
|
|
--without-x
|
|
--disable-x
|
|
--disable-xvideo
|
|
--disable-xshm
|
|
]
|
|
system "./configure", *args
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end
|