File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 4545 USE_CCACHE : 1
4646 UNICODE_WIDTH : 32
4747 PLAT : x86_64
48- FFMPEG_FORMULA_VERSION : ' '
4948 SDIST : ${{ matrix.build_sdist || 0 }}
5049 ENABLE_HEADLESS : ${{ matrix.without_gui }}
5150 ENABLE_CONTRIB : ${{ matrix.with_contrib }}
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ if [ -n "$IS_OSX" ]; then
5656 function generate_ffmpeg_formula {
5757 local FF=" ffmpeg"
5858 local LFF=" ffmpeg_opencv"
59- local FF_FORMULA; FF_FORMULA=$( brew formula " ${FF}${FFMPEG_FORMULA_VERSION} " )
59+ local FF_FORMULA; FF_FORMULA=$( brew formula " ${FF} " )
6060 local LFF_FORMULA; LFF_FORMULA=" $( dirname " $FF_FORMULA " ) /${LFF} .rb"
6161
6262 local REGENERATE
@@ -76,9 +76,8 @@ if [ -n "$IS_OSX" ]; then
7676 if [ -n " $REGENERATE " ]; then
7777 echo " Regenerating custom ffmpeg formula"
7878 # Bottle block syntax: https://docs.brew.sh/Bottles#bottle-dsl-domain-specific-language
79- # FfmpegAT4 is a class in ffmpeg@4 formula
8079 perl -wpe ' BEGIN {our ($found_blank, $bottle_block);}
81- if (/(^class )(FfmpegAT4 )(\s.*)/) {$_=$1."FfmpegOpencv ".$3."\n"; next;}
80+ if (/(^class )(Ffmpeg )(\s.*)/) {$_=$1."Opencv ".$3."\n"; next;}
8281 if (!$found_blank && /^$/) {$_.="conflicts_with \"ffmpeg\"\n\n"; $found_blank=1; next;}
8382 if (!$bottle_block && /^\s*bottle do$/) { $bottle_block=1; next; }
8483 if ($bottle_block) { if (/^\s*end\s*$/) { $bottle_block=0} elsif (/^\s*sha256\s/) {$_=""} next; }
You can’t perform that action at this time.
0 commit comments