From d564bca94e0289428db5023c9f0d9376deb0b636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Fri, 25 Nov 2016 09:32:45 +0100 Subject: [PATCH] ffmpeg: add ability to disable SecureTransport (#7191) It uses private APIs which Apple doesn't allow on AppStore releases. --- Formula/ffmpeg.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/ffmpeg.rb b/Formula/ffmpeg.rb index 2c6d04b315..1b1932003a 100644 --- a/Formula/ffmpeg.rb +++ b/Formula/ffmpeg.rb @@ -35,6 +35,7 @@ class Ffmpeg < Formula option "with-zimg", "Enable z.lib zimg library" option "without-lame", "Disable MP3 encoder" option "without-qtkit", "Disable deprecated QuickTime framework" + option "without-securetransport", "Disable use of SecureTransport" option "without-x264", "Disable H.264 encoder" option "without-xvid", "Disable Xvid MPEG-4 video encoder" @@ -109,6 +110,7 @@ class Ffmpeg < Formula ] args << "--disable-indev=qtkit" if build.without? "qtkit" + args << "--disable-securetransport" if build.without? "securetransport" args << "--enable-ffplay" if build.with? "sdl2" args << "--enable-frei0r" if build.with? "frei0r" args << "--enable-libass" if build.with? "libass"