gst-plugins-good@0.10: fix build with Xcode 8
This commit is contained in:
parent
0fcb9e2aae
commit
8baf93837c
1 changed files with 14 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue