provision_xenial64.sh
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sun, 17 Dec 2017 01:29:32 +0100
changeset 36 ad68e85dc416
parent 31 d265395c11ad
permissions -rwxr-xr-x
Fixes dependencies missing or unpacked incorrectly. Now Beremiz on windows starts, and mingw's gcc run. Still, test project doesn't build.
#!/usr/bin/env bash

# This script is to be executed as root to provision necessary stuff
# to run distribution build on a blank Ubuntu Xenial 64 image

set -xe
dpkg --add-architecture i386
apt-get update

apt-get install -y --no-install-recommends \
     autoconf        \
     automake        \
     bison           \
     build-essential \
     ca-certificates \
     flex            \
     gettext         \
     git             \
     lzma            \
     make            \
     mercurial       \
     mingw-w64       \
     nsis            \
     swig            \
     texinfo         \
     unrar           \
     unzip           \
     wget            \
     xvfb

     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

apt-get clean -y