File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 45
45
USE_CCACHE : 1
46
46
UNICODE_WIDTH : 32
47
47
PLAT : x86_64
48
- FFMPEG_FORMULA_VERSION : ' '
49
48
SDIST : ${{ matrix.build_sdist || 0 }}
50
49
ENABLE_HEADLESS : ${{ matrix.without_gui }}
51
50
ENABLE_CONTRIB : ${{ matrix.with_contrib }}
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ if [ -n "$IS_OSX" ]; then
56
56
function generate_ffmpeg_formula {
57
57
local FF=" ffmpeg"
58
58
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} " )
60
60
local LFF_FORMULA; LFF_FORMULA=" $( dirname " $FF_FORMULA " ) /${LFF} .rb"
61
61
62
62
local REGENERATE
@@ -76,9 +76,8 @@ if [ -n "$IS_OSX" ]; then
76
76
if [ -n " $REGENERATE " ]; then
77
77
echo " Regenerating custom ffmpeg formula"
78
78
# Bottle block syntax: https://docs.brew.sh/Bottles#bottle-dsl-domain-specific-language
79
- # FfmpegAT4 is a class in ffmpeg@4 formula
80
79
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;}
82
81
if (!$found_blank && /^$/) {$_.="conflicts_with \"ffmpeg\"\n\n"; $found_blank=1; next;}
83
82
if (!$bottle_block && /^\s*bottle do$/) { $bottle_block=1; next; }
84
83
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