2021-03-05 13:08:38 +01:00
|
|
|
#!/bin/sh -ex
|
2014-10-04 15:23:23 +04:00
|
|
|
|
2021-01-17 15:58:43 +00:00
|
|
|
# workaround python issue on travis
|
2021-05-02 13:54:20 +00:00
|
|
|
[ -z "${TRAVIS}" ] && HOMEBREW_NO_AUTO_UPDATE=1 brew uninstall --ignore-dependencies python@3.8 || true
|
|
|
|
[ -z "${TRAVIS}" ] && HOMEBREW_NO_AUTO_UPDATE=1 brew uninstall --ignore-dependencies python@3.9 || true
|
|
|
|
[ -z "${TRAVIS}" ] && HOMEBREW_NO_AUTO_UPDATE=1 brew uninstall --ignore-dependencies qt@6 || true
|
2021-01-17 15:58:43 +00:00
|
|
|
|
2020-10-09 13:56:21 +00:00
|
|
|
# Some of these tools can come from places other than brew, so check before installing
|
|
|
|
command -v ccache >/dev/null 2>&1 || brew install ccache
|
|
|
|
command -v cmake >/dev/null 2>&1 || brew install cmake
|
2021-03-05 13:07:26 +01:00
|
|
|
command -v qmake >/dev/null 2>&1 || brew install qt@5
|
2021-03-05 13:25:46 +01:00
|
|
|
export PATH="/usr/local/opt/qt@5/bin:$PATH" # needed to use qmake in none default path as qt now points to qt6
|
2020-10-20 23:22:37 +02:00
|
|
|
|
2021-03-05 13:25:46 +01:00
|
|
|
ccache --version
|
|
|
|
cmake --version
|
2021-03-05 13:10:22 +01:00
|
|
|
qmake --version
|
|
|
|
|
2021-05-02 13:54:20 +00:00
|
|
|
curl -fSL -R -J https://downloads.openmw.org/osx/dependencies/openmw-deps-8f5ef6e.zip -o ~/openmw-deps.zip
|
2018-06-26 14:01:10 +00:00
|
|
|
unzip -o ~/openmw-deps.zip -d /private/tmp/openmw-deps > /dev/null
|
2021-05-05 11:46:59 +02:00
|
|
|
|
|
|
|
# additional libraries
|
2021-05-05 13:35:39 +02:00
|
|
|
[ -z "${TRAVIS}" ] && HOMEBREW_NO_AUTO_UPDATE=1 brew install fontconfig
|