Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/setup-debian-buster.sh
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | PACKAGES=( | ||||
python3-zmq | python3-zmq | ||||
qemu-user-static | qemu-user-static | ||||
qttools5-dev | qttools5-dev | ||||
qttools5-dev-tools | qttools5-dev-tools | ||||
shellcheck | shellcheck | ||||
software-properties-common | software-properties-common | ||||
tar | tar | ||||
wget | wget | ||||
wine | |||||
) | ) | ||||
function join_by() { | function join_by() { | ||||
local IFS="$1" | local IFS="$1" | ||||
shift | shift | ||||
echo "$*" | echo "$*" | ||||
} | } | ||||
Show All 24 Lines | |||||
update-alternatives --install /usr/bin/clang++ clang++ "$(command -v clang++-8)" 100 | update-alternatives --install /usr/bin/clang++ clang++ "$(command -v clang++-8)" 100 | ||||
# Use a lower priority to keep clang-8 the default | # Use a lower priority to keep clang-8 the default | ||||
update-alternatives --install /usr/bin/clang clang "$(command -v clang-10)" 50 | update-alternatives --install /usr/bin/clang clang "$(command -v clang-10)" 50 | ||||
update-alternatives --install /usr/bin/clang++ clang++ "$(command -v clang++-10)" 50 | update-alternatives --install /usr/bin/clang++ clang++ "$(command -v clang++-10)" 50 | ||||
# Use the mingw posix variant | # Use the mingw posix variant | ||||
update-alternatives --set x86_64-w64-mingw32-g++ $(command -v x86_64-w64-mingw32-g++-posix) | update-alternatives --set x86_64-w64-mingw32-g++ $(command -v x86_64-w64-mingw32-g++-posix) | ||||
update-alternatives --set x86_64-w64-mingw32-gcc $(command -v x86_64-w64-mingw32-gcc-posix) | update-alternatives --set x86_64-w64-mingw32-gcc $(command -v x86_64-w64-mingw32-gcc-posix) | ||||
# Install wine from the winehq repo to get the latest version | |||||
wget -qO - https://dl.winehq.org/wine-builds/winehq.key | apt-key add - | |||||
apt-add-repository https://dl.winehq.org/wine-builds/debian/ | |||||
# This is needed to get libfaudio0 which is not packaged for debian 10 | |||||
wget -O- -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/Release.key | apt-key add - | |||||
echo "deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/ ./" | tee /etc/apt/sources.list.d/wine-obs.list | |||||
apt-get update | |||||
DEBIAN_FRONTEND=noninteractive apt install -y --install-recommends winehq-devel |