2020-11-12 05:21:35 +00:00
|
|
|
#!/bin/sh -ex
|
|
|
|
|
2023-01-05 23:16:40 +00:00
|
|
|
brew install ccache ninja || true
|
2020-11-12 05:21:35 +00:00
|
|
|
pip3 install macpack
|
2021-09-12 19:27:29 +00:00
|
|
|
|
2023-01-05 23:16:40 +00:00
|
|
|
export FFMPEG_VER=5.1
|
|
|
|
export QT_VER=5.15.8
|
2021-09-12 19:27:29 +00:00
|
|
|
|
|
|
|
mkdir tmp
|
|
|
|
cd tmp/
|
|
|
|
|
|
|
|
# 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}/* /
|
2023-01-05 23:16:40 +00:00
|
|
|
|
|
|
|
# install Qt
|
|
|
|
wget https://github.com/SachinVin/ext-macos-bin/raw/main/qt/qt-${QT_VER}.7z
|
|
|
|
7z x qt-${QT_VER}.7z
|
|
|
|
sudo cp -rv $(pwd)/qt-${QT_VER}/* /usr/local/
|