#!/bin/bash set -e set -o xtrace export DEBIAN_FRONTEND=noninteractive apt-get install -y \ ca-certificates \ gnupg # Upstream LLVM package repository apt-key add .gitlab-ci/container/llvm-snapshot.gpg.key echo "deb https://apt.llvm.org/buster/ llvm-toolchain-buster-9 main" >/etc/apt/sources.list.d/llvm9.list sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list echo 'deb https://deb.debian.org/debian buster-backports main' >/etc/apt/sources.list.d/backports.list apt-get update apt-get dist-upgrade -y apt-get install -y --no-remove \ ccache \ cmake \ g++ \ gcc \ git \ git-lfs \ libexpat1 \ libgbm-dev \ libgles2-mesa-dev \ libllvm9 \ liblz4-1 \ liblz4-dev \ libpng-dev \ libpng16-16 \ libvulkan-dev \ libvulkan1 \ libwayland-client0 \ libwayland-server0 \ libxcb-ewmh-dev \ libxcb-ewmh2 \ libxcb-keysyms1 \ libxcb-keysyms1-dev \ libxcb-randr0 \ libxcb-xfixes0 \ libxkbcommon-dev \ libxkbcommon0 \ libxrandr-dev \ libxrandr2 \ libxrender-dev \ libxrender1 \ meson \ p7zip \ pkg-config \ python \ python3-distutils \ python3-pil \ python3-requests \ python3-yaml \ wget \ xauth \ xvfb # We need multiarch for Wine dpkg --add-architecture i386 apt-get update apt-get install -y --no-remove \ wine \ wine32 \ wine64 ############### Set up Wine env variables export WINEDEBUG="-all" export WINEPREFIX="/dxvk-wine64" ############### Install DXVK DXVK_VERSION="1.6" # We don't want crash dialogs cat >crashdialog.reg <