22
33set -euo pipefail
44
5- echo travis_fold:start:Python
5+ echo -e " travis_fold:start:Python\e[2K"
6+ echo " Install Python 3.8 from python.org"
67curl -O https://www.python.org/ftp/python/3.8.5/python-3.8.5-macosx10.9.pkg
78sudo installer -package python-3.8.5-macosx10.9.pkg -target /
89sudo ln -s /usr/local/bin/python3 /usr/local/bin/python
910hash -r
10- echo travis_fold:end:Python
11+ echo -e " travis_fold:end:Python\e[2K "
1112
12- echo travis_fold:start:Qt4.8
13+ echo -e " travis_fold:start:Qt4.8\e[2K"
14+ echo " Install Qt 4.8 from qt.io"
1315curl -O https://download.qt.io/archive/qt/4.8/4.8.7/qt-opensource-mac-4.8.7.dmg
1416hdiutil attach qt-opensource-mac-4.8.7.dmg
1517sudo installer -package ' /Volumes/Qt 4.8.7/packages/Qt_headers.pkg' -target /
1618sudo installer -package ' /Volumes/Qt 4.8.7/packages/Qt_imports.pkg' -target /
1719sudo installer -package ' /Volumes/Qt 4.8.7/packages/Qt_libraries.pkg' -target /
1820hdiutil detach ' /Volumes/Qt 4.8.7'
19- echo travis_fold:end:Qt4.8
21+ echo -e " travis_fold:end:Qt4.8\e[2K "
2022
21- echo travis_fold:start:ccache
23+ echo -e " travis_fold:start:ccache\e[2K"
24+ echo ' Install ccache (compile it ourselves)'
2225curl -O -L https://github.com/ccache/ccache/releases/download/v3.7.11/ccache-3.7.11.tar.xz
2326tar xf ccache-3.7.11.tar.xz
2427pushd ccache-3.7.11
2932for compiler in clang clang++ cc gcc c++ g++; do
3033 ln -sf ccache /usr/local/bin/$compiler
3134done
32- echo travis_fold:end:ccache
35+ echo -e " travis_fold:end:ccache\e[2K "
3336
34- echo travis_fold:start:pkg-config
37+ echo -e " travis_fold:start:pkg-config\e[2K"
38+ echo ' Install pkg-config (compile it ourselves)'
3539curl -O -L https://dl.bintray.com/homebrew/mirror/pkg-config-0.29.2.tar.gz
3640tar xf pkg-config-0.29.2.tar.gz
3741pushd pkg-config-0.29.2
@@ -41,20 +45,22 @@ pushd pkg-config-0.29.2
4145make
4246make install
4347popd
44- echo travis_fold:end:pkg-config
48+ echo -e " travis_fold:end:pkg-config\e[2K "
4549
46- echo travis_fold:start:libpng
50+ echo -e " travis_fold:start:libpng\e[2K"
51+ echo ' Install libpng (compile it ourselves)'
4752curl -O -L https://downloads.sourceforge.net/libpng/libpng-1.6.37.tar.xz
4853tar xf libpng-1.6.37.tar.xz
4954pushd libpng-1.6.37
5055./configure --disable-dependency-tracking --disable-silent-rules --prefix=/usr/local
5156make
5257make install
5358popd
54- echo travis_fold:end:libpng
59+ echo -e " travis_fold:end:libpng\e[2K "
5560
56- echo travis_fold:start:freetype
61+ echo -e " travis_fold:start:freetype\e[2K"
62+ echo ' Install libpng (just unpack into the build directory)'
5763curl -O -L https://download.savannah.gnu.org/releases/freetype/freetype-2.6.1.tar.gz
5864mkdir -p build
5965tar -x -C build -f freetype-2.6.1.tar.gz
60- echo travis_fold:end:freetype
66+ echo -e " travis_fold:end:freetype\e[2K "
0 commit comments