From 8744086781b3733a7cb48bc970d16554155b0a52 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Wed, 17 Nov 2021 00:57:51 +0100 Subject: [PATCH] Toolchain: Add Qemu build dependencies to Dockerfile Also add `libsdl2-dev` as a required dependency and reorder the list of packages passed to `apt-get`. --- Documentation/BuildInstructions.md | 2 +- Toolchain/Dockerfile | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Documentation/BuildInstructions.md b/Documentation/BuildInstructions.md index d61595124d7..801ac939b14 100644 --- a/Documentation/BuildInstructions.md +++ b/Documentation/BuildInstructions.md @@ -30,7 +30,7 @@ QEMU version 5 is available in Ubuntu 20.10, but it is recommended to build Qemu Note that you might need additional dev packages: ```console -sudo apt install libgtk-3-dev libpixman-1-dev libspice-server-dev +sudo apt install libgtk-3-dev libpixman-1-dev libsdl2-dev libspice-server-dev ``` ### Windows diff --git a/Toolchain/Dockerfile b/Toolchain/Dockerfile index 85aa705b405..6c72cd42ca0 100644 --- a/Toolchain/Dockerfile +++ b/Toolchain/Dockerfile @@ -10,14 +10,18 @@ RUN apt-get update -y \ curl \ g++-10 \ gcc-10 \ + e2fsprogs \ genext2fs \ gettext \ git \ imagemagick \ - libmpfr-dev \ - libmpc-dev \ libgmp-dev \ - e2fsprogs \ + libgtk-3-dev \ + libmpc-dev \ + libmpfr-dev \ + libpixman-1-dev \ + libsdl2-dev \ + libspice-server-dev \ ninja-build \ qemu-utils \ rsync \