mirror of
https://github.com/kirbylink/mpv-natives
synced 2026-11-27 11:42:26 +01:00
build: fix macOS CI (brew meson, cocoa/gl-cocoa, system zlib)
pip installs are blocked by PEP 668 on the macOS runners, so install meson via brew. Enable cocoa and gl-cocoa: on macOS the OpenGL render API backend of libmpv requires them (system frameworks only). Build no zlib ourselves - macOS ships it in the system like iconv. Use PKG_CONFIG_PATH additively instead of overriding PKG_CONFIG_LIBDIR so system pkg-config files (icu-uc, ...) stay visible.
This commit is contained in:
@@ -55,11 +55,8 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
brew install ccache nasm ninja
|
||||
python3 -m pip install --user meson
|
||||
export PATH="$HOME/Library/Python/3.12/bin:$PATH"
|
||||
# export so meson finds pip-installed tools
|
||||
echo "$HOME/Library/Python/3.12/bin" >> "$GITHUB_PATH"
|
||||
# PEP 668: pip installs are blocked on the macOS runner, use brew.
|
||||
brew install ccache nasm ninja meson
|
||||
|
||||
# Run the vendored build script from inside the mpv source tree, so the
|
||||
# native build writes macos_prefix/ and the meson build next to mpv's
|
||||
|
||||
Reference in New Issue
Block a user