2020-11-12 10:51:35 +05:30
|
|
|
#!/bin/sh -ex
|
|
|
|
|
2023-01-06 04:46:40 +05:30
|
|
|
brew install ccache ninja || true
|
2020-11-12 10:51:35 +05:30
|
|
|
pip3 install macpack
|
2021-09-13 00:57:29 +05:30
|
|
|
|
2023-01-06 04:46:40 +05:30
|
|
|
export FFMPEG_VER=5.1
|
|
|
|
export QT_VER=5.15.8
|
2021-09-13 00:57:29 +05:30
|
|
|
|
|
|
|
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-06 04:46:40 +05:30
|
|
|
|
|
|
|
# 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/
|