Skip to content

Commit

Permalink
ffmpeg: add ability to disable SecureTransport (#7191)
Browse files Browse the repository at this point in the history
It uses private APIs which Apple doesn't allow on AppStore releases.
  • Loading branch information
saghul authored and MikeMcQuaid committed Nov 25, 2016
1 parent b31e2e4 commit d564bca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Formula/ffmpeg.rb
Expand Up @@ -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"

Expand Down Expand Up @@ -109,6 +110,7 @@ def install
]

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"
Expand Down

0 comments on commit d564bca

Please sign in to comment.