|
|
@@ -2,23 +2,27 @@ |
|
|
|
|
|
|
|
set -e |
|
|
|
|
|
|
|
if [ "${TARGET}" = "macos-native" ] || [ "${TARGET}" = "macos-universal" ]; then |
|
|
|
exit 0 |
|
|
|
fi |
|
|
|
|
|
|
|
if [ "${TARGET}" = "macos" ]; then |
|
|
|
rm -f /etc/apt/sources.list.d/*.list |
|
|
|
sudo add-apt-repository -y ppa:kxstudio-debian/kxstudio |
|
|
|
sudo add-apt-repository -y ppa:kxstudio-debian/mingw |
|
|
|
sudo add-apt-repository -y ppa:kxstudio-debian/toolchain |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install kxstudio-repos |
|
|
|
sudo apt-get update -qq |
|
|
|
exit 0 |
|
|
|
fi |
|
|
|
|
|
|
|
sudo add-apt-repository -y ppa:kxstudio-debian/kxstudio |
|
|
|
sudo add-apt-repository -y ppa:kxstudio-debian/mingw |
|
|
|
sudo add-apt-repository -y ppa:kxstudio-debian/toolchain |
|
|
|
|
|
|
|
if [ "${TARGET}" = "linux" ]; then |
|
|
|
if [ "${TARGET}" = "linux" ] || [ "${TARGET}" = "win32" ] || [ "${TARGET}" = "win64" ]; then |
|
|
|
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add - |
|
|
|
sudo apt-add-repository -y 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' |
|
|
|
sudo add-apt-repository -y ppa:kxstudio-debian/ubuntus |
|
|
|
sudo apt-add-repository -y 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' |
|
|
|
sudo dpkg --add-architecture i386 |
|
|
|
elif [ "${TARGET}" = "linux-strict" ] || [ "${TARGET}" = "linux-juce-strict" ]; then |
|
|
|
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test |
|
|
|
fi |
|
|
|
|
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install kxstudio-repos |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -y -o APT::Immediate-Configure=false libc6 libc6:i386 libgcc-s1:i386 |
|
|
|
sudo apt-get install -y -f |