gst-plugins-good@0.10: fix build with Xcode 8

This commit is contained in:
ilovezfs 2017-03-13 09:58:17 -07:00 committed by Mike McQuaid
parent 0fcb9e2aae
commit 8baf93837c

View file

@ -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