Skip some unnecessary plugin scanning steps
[carla.git] / .travis / install.sh
blob2eddb32144b36d78240981d0d12d350d4de146d5
1 #!/bin/bash
3 set -e
5 if [ "${TARGET}" = "linux" ]; then
6 sudo apt-get install -y \
7 g++-multilib \
8 pkg-config \
9 pyqt5-dev-tools \
10 python3-pyqt5.qtsvg \
11 python3-rdflib \
12 libgtk2.0-dev \
13 libgtk-3-dev \
14 qtbase5-dev \
15 libasound2-dev \
16 libpulse-dev \
17 libmagic-dev \
18 libgl1-mesa-dev \
19 libx11-dev \
20 libx11-6:i386 \
21 liblo-static \
22 fluidsynth2-static \
23 mingw-w64 \
24 binutils-mingw-w64-i686 \
25 binutils-mingw-w64-x86-64 \
26 g++-mingw-w64-i686 \
27 g++-mingw-w64-x86-64 \
28 wine-devel-dev \
29 winehq-stable
31 # Fix for 32bit bridge link
32 sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
34 elif [ "${TARGET}" = "linux-strict" ]; then
35 sudo apt-get install -y \
36 g++-multilib \
37 g++-9-multilib \
38 pkg-config \
39 pyqt5-dev-tools \
40 python3-pyqt5.qtsvg \
41 python3-rdflib \
42 libgtk2.0-dev \
43 libgtk-3-dev \
44 qtbase5-dev \
45 libasound2-dev \
46 libpulse-dev \
47 libmagic-dev \
48 libgl1-mesa-dev \
49 libx11-dev \
50 libx11-6:i386 \
51 liblo-static \
52 fluidsynth2-static
54 # Fix for 32bit bridge link
55 sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
57 elif [ "${TARGET}" = "linux-juce-strict" ]; then
58 sudo apt-get install -y \
59 g++-multilib \
60 g++-9-multilib \
61 pkg-config \
62 pyqt5-dev-tools \
63 python3-pyqt5.qtsvg \
64 python3-rdflib \
65 libgtk2.0-dev \
66 libgtk-3-dev \
67 qtbase5-dev \
68 libasound2-dev \
69 libjack-jackd2-dev \
70 libfreetype6-dev \
71 libmagic-dev \
72 libgl1-mesa-dev \
73 libx11-dev \
74 libxext-dev \
75 libx11-6:i386 \
76 libxext6:i386 \
77 libfreetype6:i386 \
78 liblo-static \
79 fluidsynth2-static
81 # Fix for 32bit bridge links
82 sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
83 sudo ln -s /usr/lib/i386-linux-gnu/libXext.so.6 /usr/lib/i386-linux-gnu/libXext.so
84 sudo ln -s /usr/lib/i386-linux-gnu/libfreetype.so.6 /usr/lib/i386-linux-gnu/libfreetype.so
86 elif [ "${TARGET}" = "macos" ]; then
87 sudo apt-get install -y \
88 pkg-config \
89 apple-x86-setup
91 elif [ "${TARGET}" = "macos-native" ] || [ "${TARGET}" = "macos-universal" ]; then
92 HOMEBREW_NO_AUTO_UPDATE=1 brew install cmake jq meson
93 exit 0
96 elif [ "${TARGET}" = "win32" ]; then
97 sudo apt-get install -y \
98 g++-multilib \
99 mingw-w64 \
100 binutils-mingw-w64-i686 \
101 binutils-mingw-w64-x86-64 \
102 g++-mingw-w64-i686 \
103 g++-mingw-w64-x86-64 \
104 wine-devel-dev \
105 winehq-stable
107 elif [ "${TARGET}" = "win64" ]; then
108 sudo apt-get install -y \
109 mingw-w64 \
110 binutils-mingw-w64-x86-64 \
111 g++-mingw-w64-x86-64 \
112 wine-devel-dev \
113 winehq-stable
115 elif [ "${TARGET}" = "pylint" ]; then
116 sudo apt-get install -y \
117 pylint3 \
118 python3-liblo \
119 python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtopengl python3-rdflib \
120 pyqt5-dev-tools \
121 qtbase5-dev