2
2
3
3
set -euo pipefail
4
4
5
- echo travis_fold:start:Python
5
+ echo -e " travis_fold:start:Python\e[2K"
6
+ echo " Install Python 3.8 from python.org"
6
7
curl -O https://www.python.org/ftp/python/3.8.5/python-3.8.5-macosx10.9.pkg
7
8
sudo installer -package python-3.8.5-macosx10.9.pkg -target /
8
9
sudo ln -s /usr/local/bin/python3 /usr/local/bin/python
9
10
hash -r
10
- echo travis_fold:end:Python
11
+ echo -e " travis_fold:end:Python\e[2K "
11
12
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"
13
15
curl -O https://download.qt.io/archive/qt/4.8/4.8.7/qt-opensource-mac-4.8.7.dmg
14
16
hdiutil attach qt-opensource-mac-4.8.7.dmg
15
17
sudo installer -package ' /Volumes/Qt 4.8.7/packages/Qt_headers.pkg' -target /
16
18
sudo installer -package ' /Volumes/Qt 4.8.7/packages/Qt_imports.pkg' -target /
17
19
sudo installer -package ' /Volumes/Qt 4.8.7/packages/Qt_libraries.pkg' -target /
18
20
hdiutil detach ' /Volumes/Qt 4.8.7'
19
- echo travis_fold:end:Qt4.8
21
+ echo -e " travis_fold:end:Qt4.8\e[2K "
20
22
21
- echo travis_fold:start:ccache
23
+ echo -e " travis_fold:start:ccache\e[2K"
24
+ echo ' Install ccache (compile it ourselves)'
22
25
curl -O -L https://github.com/ccache/ccache/releases/download/v3.7.11/ccache-3.7.11.tar.xz
23
26
tar xf ccache-3.7.11.tar.xz
24
27
pushd ccache-3.7.11
29
32
for compiler in clang clang++ cc gcc c++ g++; do
30
33
ln -sf ccache /usr/local/bin/$compiler
31
34
done
32
- echo travis_fold:end:ccache
35
+ echo -e " travis_fold:end:ccache\e[2K "
33
36
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)'
35
39
curl -O -L https://dl.bintray.com/homebrew/mirror/pkg-config-0.29.2.tar.gz
36
40
tar xf pkg-config-0.29.2.tar.gz
37
41
pushd pkg-config-0.29.2
@@ -41,20 +45,22 @@ pushd pkg-config-0.29.2
41
45
make
42
46
make install
43
47
popd
44
- echo travis_fold:end:pkg-config
48
+ echo -e " travis_fold:end:pkg-config\e[2K "
45
49
46
- echo travis_fold:start:libpng
50
+ echo -e " travis_fold:start:libpng\e[2K"
51
+ echo ' Install libpng (compile it ourselves)'
47
52
curl -O -L https://downloads.sourceforge.net/libpng/libpng-1.6.37.tar.xz
48
53
tar xf libpng-1.6.37.tar.xz
49
54
pushd libpng-1.6.37
50
55
./configure --disable-dependency-tracking --disable-silent-rules --prefix=/usr/local
51
56
make
52
57
make install
53
58
popd
54
- echo travis_fold:end:libpng
59
+ echo -e " travis_fold:end:libpng\e[2K "
55
60
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)'
57
63
curl -O -L https://download.savannah.gnu.org/releases/freetype/freetype-2.6.1.tar.gz
58
64
mkdir -p build
59
65
tar -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