#!/bin/bash set -e set -o xtrace export DEBIAN_FRONTEND=noninteractive # Ephemeral packages (installed for this script and removed again at the end) STABLE_EPHEMERAL=" \ autoconf \ automake \ autotools-dev \ bzip2 \ cmake \ gnupg \ libgbm-dev \ libtool \ make \ unzip \ wget \ " # We need multiarch for Wine dpkg --add-architecture i386 apt-get update apt-get install -y --no-remove \ $STABLE_EPHEMERAL \ libasan5 \ libarchive-dev \ libclang-cpp10-dev \ liblua5.3-dev \ libxml2-dev \ ocl-icd-opencl-dev \ procps \ time \ wine-development \ wine32-development apt-get install -y --no-remove -t buster-backports \ llvm-8-dev . .gitlab-ci/container/container_pre_build.sh # Debian's pkg-config wrapers for mingw are broken, and there's no sign that # they're going to be fixed, so we'll just have to fix it ourselves # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930492 cat >/usr/local/bin/x86_64-w64-mingw32-pkg-config <