From 9e6fcfb4b398aec28e719edd45782b781d832983 Mon Sep 17 00:00:00 2001 From: Samuel John Date: Fri, 23 Aug 2013 15:52:29 +0200 Subject: gst-plugins-base: --with-gobject-introspection should propagate to gstreamer otherwise build will fail. --- Library/Formula/gst-plugins-base.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3