Skip to content

Commit ebef0c7

Browse files
committed
ci/mac: install ffmpeg-full with homebrew when available
homebrew slimmed down their ffmpeg formula and stripping it off some essential functionality. use ffmpeg-full instead when available. this is a new formula and not available on older homebrew version. additionally, this is keg only formula and not automatically symlinked system wide. make sure ffmpeg is not installed in parallel and install ffmpeg-full system wide.
1 parent 00774f5 commit ebef0c7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,15 @@ jobs:
295295
else
296296
brew update
297297
fi
298+
if brew info ffmpeg-full &> /dev/null; then
299+
brew install -q ffmpeg-full
300+
brew unlink ffmpeg
301+
brew link ffmpeg-full
302+
else
303+
brew install -q ffmpeg
304+
fi
298305
brew install -q autoconf automake pkgconf libtool python freetype fribidi little-cms2 \
299-
luajit libass ffmpeg meson rust uchardet mujs libplacebo molten-vk vulkan-loader vulkan-headers \
306+
luajit libass meson rust uchardet mujs libplacebo molten-vk vulkan-loader vulkan-headers \
300307
libarchive libbluray libcaca libcdio-paranoia libdvdnav rubberband zimg
301308
302309
- name: Build with meson

0 commit comments

Comments
 (0)