aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSamuel John2013-08-23 15:52:29 +0200
committerSamuel John2013-08-23 16:02:29 +0200
commit9e6fcfb4b398aec28e719edd45782b781d832983 (patch)
tree02fdd86ad2083319ec48c78f114d66de80d9ce50 /Library
parent270f29742b1dcd72b2746e8438fe86e9809569b2 (diff)
downloadhomebrew-9e6fcfb4b398aec28e719edd45782b781d832983.tar.bz2
gst-plugins-base: --with-gobject-introspection
should propagate to gstreamer otherwise build will fail.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gst-plugins-base.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/gst-plugins-base.rb b/Library/Formula/gst-plugins-base.rb
index a1cc37923..52728950c 100644
--- a/Library/Formula/gst-plugins-base.rb
+++ b/Library/Formula/gst-plugins-base.rb
@@ -16,8 +16,11 @@ class GstPluginsBase < Formula
depends_on 'pkg-config' => :build
depends_on 'xz' => :build
depends_on 'gettext'
- depends_on 'gstreamer'
-
+ if build.with? 'gobject-introspection'
+ depends_on 'gstreamer' => 'with-gobject-introspection'
+ else
+ depends_on 'gstreamer'
+ end
# 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