1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-27 17:11:34 +00:00

Update file before_install.osx.sh

This commit is contained in:
psi29a 2024-01-06 21:56:30 +00:00
parent 6ee5332921
commit a44ef90e95

View file

@ -6,11 +6,14 @@ export HOMEBREW_NO_INSTALL_CLEANUP=1
# purge large and unnecessary packages that get in our way
brew uninstall ruby php openjdk node postgresql maven google-cloud-sdk || true
# purge things pre-installed that cause issues
brew uninstall xquartz gd fontconfig freetype harfbuzz brotli
brew tap --repair
brew update --quiet
# Some of these tools can come from places other than brew, so check before installing
brew reinstall xquartz gd fontconfig freetype harfbuzz brotli
brew install xquartz gd fontconfig freetype harfbuzz brotli
# Fix: can't open file: @loader_path/libbrotlicommon.1.dylib (No such file or directory)
# TODO: this is also now broke :()
@ -24,7 +27,10 @@ command -v qmake >/dev/null 2>&1 || brew install qt@5
export PATH="/opt/homebrew/opt/qt@5/bin:$PATH"
# try to find fontconfig
find /opt | grep -i libfreetype
find /opt | grep -i freetype
#mkdir -p /opt/homebrew/opt/fontconfig/lib/
#/opt/homebrew/Cellar/freetype/2.13.2.reinstall/lib/libfreetype.dylib
# Install deps