File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 29
29
if [ -n " $IS_OSX " ]; then
30
30
31
31
source travis_osx_brew_cache.sh
32
-
32
+
33
33
BREW_SLOW_BUILIDING_PACKAGES=$( printf ' %s\n' \
34
34
" x265 20" \
35
35
" cmake 15" \
36
36
" ffmpeg_opencv 10" \
37
37
)
38
-
38
+
39
39
# Contrib adds significantly to project's build time
40
40
if [ " $ENABLE_CONTRIB " -eq 1 ]; then
41
41
BREW_TIME_LIMIT=$(( BREW_TIME_LIMIT - 10 * 60 ))
42
42
fi
43
-
43
+
44
44
function generate_ffmpeg_formula {
45
45
local FF=" ffmpeg"
46
46
local LFF=" ffmpeg_opencv"
47
47
local FF_FORMULA; FF_FORMULA=$( brew formula " $FF " )
48
48
local LFF_FORMULA; LFF_FORMULA=" $( dirname " $FF_FORMULA " ) /${LFF} .rb"
49
-
49
+
50
50
local REGENERATE
51
51
if [ -f " $LFF_FORMULA " ]; then
52
52
local UPSTREAM_VERSION VERSION
@@ -82,7 +82,7 @@ if (/^\s*depends_on "(x264|x265|xvid)"$/) {$_=""; next;}
82
82
)
83
83
fi
84
84
}
85
-
85
+
86
86
fi
87
87
88
88
function pre_build {
@@ -91,8 +91,8 @@ function pre_build {
91
91
92
92
if [ -n " $IS_OSX " ]; then
93
93
echo " Running for OSX"
94
-
95
- brew update --merge
94
+
95
+ brew update --force
96
96
brew_add_local_bottles
97
97
98
98
# Don't query analytical info online on `brew info`,
You can’t perform that action at this time.
0 commit comments