From 8baf93837c1495ecb53fdcea85f7872fb6528531 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Mon, 13 Mar 2017 09:58:17 -0700 Subject: [PATCH] gst-plugins-good@0.10: fix build with Xcode 8 --- Formula/gst-plugins-good@0.10.rb | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/Formula/gst-plugins-good@0.10.rb b/Formula/gst-plugins-good@0.10.rb index 56c963f597..e256312434 100644 --- a/Formula/gst-plugins-good@0.10.rb +++ b/Formula/gst-plugins-good@0.10.rb @@ -27,13 +27,20 @@ class GstPluginsGoodAT010 < Formula 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" + args = %W[ + --disable-debug + --disable-dependency-tracking + --prefix=#{prefix} + --disable-schemas-install + --disable-gtk-doc + --disable-goom + --with-default-videosink=ximagesink + ] + + # Prevent "fatal error: 'QuickTime/QuickTime.h' file not found" + args << "--disable-osx_video" if DevelopmentTools.clang_build_version >= 800 + + system "./configure", *args system "make" system "make", "install" end