File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ class Ffmpeg < Formula
57
57
option "without-securetransport" , "Disable use of SecureTransport"
58
58
option "without-x264" , "Disable H.264 encoder"
59
59
option "without-xvid" , "Disable Xvid MPEG-4 video encoder"
60
+ option "without-gpl" , "Disable building GPL licensed parts of FFmpeg"
60
61
61
62
deprecated_option "with-ffplay" => "with-sdl2"
62
63
deprecated_option "with-sdl" => "with-sdl2"
@@ -111,7 +112,6 @@ def install
111
112
--prefix=#{ prefix }
112
113
--enable-shared
113
114
--enable-pthreads
114
- --enable-gpl
115
115
--enable-version3
116
116
--enable-hardcoded-tables
117
117
--enable-avresample
@@ -120,6 +120,7 @@ def install
120
120
--host-ldflags=#{ ENV . ldflags }
121
121
]
122
122
123
+ args << "--enable-gpl" if build . with? "gpl"
123
124
args << "--disable-indev=qtkit" if build . without? "qtkit"
124
125
args << "--disable-securetransport" if build . without? "securetransport"
125
126
args << "--enable-chromaprint" if build . with? "chromaprint"
You can’t perform that action at this time.
0 commit comments