e8d4298ceb
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
43 lines
1.5 KiB
Ruby
43 lines
1.5 KiB
Ruby
require 'formula'
|
|
|
|
class GstPluginsGood < Formula
|
|
homepage 'http://gstreamer.freedesktop.org/'
|
|
url 'http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.0.7.tar.xz'
|
|
mirror 'http://ftp.osuosl.org/pub/blfs/svn/g/gst-plugins-good-1.0.7.tar.xz'
|
|
sha256 'a016a3b377c86658627aef902b9204108209100b2e88fcc3b695c392af1b4035'
|
|
|
|
depends_on :x11
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'xz' => :build
|
|
depends_on 'gettext'
|
|
depends_on 'gst-plugins-base'
|
|
|
|
# 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
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--disable-schemas-install",
|
|
"--disable-gtk-doc",
|
|
"--disable-goom",
|
|
"--with-default-videosink=ximagesink"
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end
|