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 depends_on "libsoup" => :optional
def install def install
system "./configure", "--disable-debug", args = %W[
"--disable-dependency-tracking", --disable-debug
"--prefix=#{prefix}", --disable-dependency-tracking
"--disable-schemas-install", --prefix=#{prefix}
"--disable-gtk-doc", --disable-schemas-install
"--disable-goom", --disable-gtk-doc
"--with-default-videosink=ximagesink" --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"
system "make", "install" system "make", "install"
end end