diff options
| author | Stein Magnus Jodal | 2010-10-23 00:15:43 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-10-22 17:46:37 -0700 |
| commit | 786a5b5c0b711f90ab3ab24cbd41df4db885098a (patch) | |
| tree | b5b6c9f364f063fabb355c3d50f4b75780f6fc35 /Library | |
| parent | f16f24b07223942ecb9eae12ebcc7802bd599bb3 (diff) | |
| download | homebrew-786a5b5c0b711f90ab3ab24cbd41df4db885098a.tar.bz2 | |
New formula: gst-plugins-bad
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gst-plugins-bad.rb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Library/Formula/gst-plugins-bad.rb b/Library/Formula/gst-plugins-bad.rb new file mode 100644 index 000000000..38558e244 --- /dev/null +++ b/Library/Formula/gst-plugins-bad.rb @@ -0,0 +1,32 @@ +require 'formula' + +class GstPluginsBad <Formula + homepage 'http://gstreamer.freedesktop.org/' + url 'http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-0.10.20.tar.bz2' + md5 '7c84766f6d24f41ba90c3f6141012ab8' + + depends_on 'pkg-config' => :build + depends_on 'gettext' + depends_on 'gst-plugins-base' + + # These optional dependencies are based on the intersection of + # gst-plugins-bad-0.10.20/REQUIREMENTS and Homebrew formulas + depends_on 'dirac' => :optional + depends_on 'libdvdread' => :optional + depends_on 'libmms' => :optional + + # These are not mentioned in REQUIREMENTS, but configure look for them + depends_on 'libexif' => :optional + depends_on 'faac' => :optional + depends_on 'faad2' => :optional + depends_on 'libsndfile' => :optional + depends_on 'schroedinger' => :optional + + def install + ENV.append "CFLAGS", "-no-cpp-precomp -funroll-loops -fstrict-aliasing" + system "./configure", "--prefix=#{prefix}", "--disable-debug", + "--disable-dependency-tracking", "--disable-sdl" + system "make" + system "make install" + end +end |
