This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2020-11-12 05:21:35 +00:00
|
|
|
#!/bin/sh -ex
|
|
|
|
|
|
|
|
brew update
|
|
|
|
brew unlink python@2 || true
|
2020-12-30 22:10:18 +00:00
|
|
|
rm '/usr/local/bin/2to3' || true
|
2021-09-12 19:27:29 +00:00
|
|
|
brew install qt5 p7zip ccache ninja || true
|
2020-11-12 05:21:35 +00:00
|
|
|
pip3 install macpack
|
2021-09-12 19:27:29 +00:00
|
|
|
|
|
|
|
export SDL_VER=2.0.16
|
|
|
|
export FFMPEG_VER=4.4
|
|
|
|
|
|
|
|
mkdir tmp
|
|
|
|
cd tmp/
|
|
|
|
|
|
|
|
# install SDL
|
|
|
|
wget https://github.com/SachinVin/ext-macos-bin/raw/main/sdl2/sdl-${SDL_VER}.7z
|
|
|
|
7z x sdl-${SDL_VER}.7z
|
|
|
|
cp -rv $(pwd)/sdl-${SDL_VER}/* /
|
|
|
|
|
|
|
|
# install FFMPEG
|
|
|
|
wget https://github.com/SachinVin/ext-macos-bin/raw/main/ffmpeg/ffmpeg-${FFMPEG_VER}.7z
|
|
|
|
7z x ffmpeg-${FFMPEG_VER}.7z
|
|
|
|
cp -rv $(pwd)/ffmpeg-${FFMPEG_VER}/* /
|