tahoma2d/ci-scripts/osx/travis-install.sh
Jeremy Bullock 5957d4d678
Remove Scan Stuff (#79)
* Remove Scan Stuff

* Fix Travis?

* Travis 2
2020-07-08 00:31:12 -06:00

18 lines
695 B
Bash
Executable file

#!/bin/bash
brew update
brew install glew lz4 lzo libusb libmypaint opencv jpeg-turbo
brew tap tcr/tcr
brew install clang-format
# from Homebrew 1.6.0 the old formula for obtaining Qt5.9.2 becomes invalid.
# so we start to use the latest version of Qt. (#1910)
brew install qt
# delete older qt versions and make sure to have only the latest
brew cleanup qt
# temp workaround to brew installed glew cmake info overriding glew lib detection
# which causes compiling issues later
if [ -L /usr/local/lib/cmake/glew ]
then
echo "Symbolic link '/usr/local/lib/cmake/glew' detected. Removing to avoid glew lib detection issue!"
ls -l /usr/local/lib/cmake/glew
rm /usr/local/lib/cmake/glew
fi