Skip to content

Commit 2122f20

Browse files
committed
*WIP* Drop subtitles support in ffmpeg
Also remove postgis just in case
1 parent 532e14c commit 2122f20

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

travis_config.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ if [ -n "$IS_OSX" ]; then
7777
if (!$bottle_block && /^\s*bottle do$/) { $bottle_block=1; next; }
7878
if ($bottle_block) { if (/^\s*end\s*$/) { $bottle_block=0} elsif (/^\s*sha256\s/) {$_=""} next; }
7979
if (/^\s*depends_on "(x264|x265|xvid|frei0r|rubberband|libvidstab)"$/) {$_=""; next;}
80-
if (/^\s*--enable-(gpl|libx264|libx265|libxvid|frei0r|librubberband|libvidstab)$/) {$_=""; next;}
80+
if (/^\s*--enable-(gpl|libx264|libx265|libxvid|frei0r|librubberband|libvidstab|libass)$/) {$_=""; next;}
8181
' <"$FF_FORMULA" >"$LFF_FORMULA"
8282
diff -u "$FF_FORMULA" "$LFF_FORMULA" || test $? -le 1
8383

@@ -106,6 +106,11 @@ function pre_build {
106106
if [ -n "$CACHE_STAGE" ]; then
107107
ELAPSED_TIME=$(($(date +%s) - $TRAVIS_TIMER_START_TIME/10**9))
108108
echo "Elapsed time: "$(($ELAPSED_TIME/60))"m (${ELAPSED_TIME}s)"
109+
# Drop redundant dependants to reduce package update overhead
110+
local pkg
111+
pkg=postgis; brew list $pkg > /dev/null && brew rm $pkg
112+
pkg=libass; brew list $pkg > /dev/null && brew rm $pkg
113+
109114
brew update
110115
generate_ffmpeg_formula
111116
brew_add_local_bottles

0 commit comments

Comments
 (0)