New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
#!/usr/bin/env bash
# This script is to be executed as root to provision necessary stuff
# to run distribution build on a blank Ubuntu Focal 64 image
set -xe
dpkg --add-architecture i386
apt-get update
apt-get install -y locales
locale-gen en_US.UTF-8
TZ="America/Paris" \
DEBIAN_FRONTEND="noninteractive" \
apt-get install -y --no-install-recommends \
autoconf \
automake \
bc \
bison \
build-essential \
ca-certificates \
cpio \
cmake \
fakeroot \
file \
flex \
gettext \
gawk \
git \
gperf \
gcc-multilib \
g++-multilib \
help2man \
less \
libarchive-dev \
libcurl4-openssl-dev \
libssl-dev \
libtool \
libtool-bin \
lzma \
make \
mercurial \
meson \
mingw-w64 \
ncurses-dev \
nsis \
rsync \
pkg-config \
python \
python-dev \
python3-distutils \
subversion \
swig \
texinfo \
unrar \
unzip \
wget \
xvfb \
zip
## for winehq-staging
# gnupg \
# libgpgme-dev \
# software-properties-common \
# wget -nc https://dl.winehq.org/wine-builds/winehq.key
# apt-key add winehq.key
# add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
# apt-get update
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections
echo ttf-mscorefonts-installer msttcorefonts/present-mscorefonts-eula note | debconf-set-selections
apt-get install -y --install-recommends \
wine-stable winbind
apt-get clean -y