diff --git a/src/spice2x/external/docker/Dockerfile b/src/spice2x/external/docker/Dockerfile index 5032225..fa01867 100644 --- a/src/spice2x/external/docker/Dockerfile +++ b/src/spice2x/external/docker/Dockerfile @@ -25,10 +25,11 @@ ENV PATH="$PATH:/opt/llvm-mingw-xp/bin" RUN curl -fsSL "https://github.com/mon/windows-dll-compat-checker/releases/download/v1.3/windows_dll_compat_checker-linux-x86_64.tar.xz" \ | tar -xJ -C /usr/local/bin -# libjpeg-turbo for JPEG encoding. Only the mingw-w64 toolchains get it; -# the WinXP targets build without JPEG support entirely. -RUN su user -c "yay --noconfirm -S mingw-w64-libjpeg-turbo" +# Stock makepkg.conf builds serially; this makes the AUR compiles below parallel. +RUN printf '%s\n' 'MAKEFLAGS="-j$(nproc)"' > /home/user/.makepkg.conf \ + && chown user: /home/user/.makepkg.conf -# x264 for the API H.264 video stream. Only the mingw-w64 toolchains need it; -# the WinXP targets build without the stream encoder. -RUN su user -c "yay --noconfirm -S mingw-w64-x264" +# libjpeg-turbo for JPEG encoding, x264 for the API H.264 video stream. Only the +# mingw-w64 toolchains get these; the WinXP targets build without JPEG support +# and without the stream encoder. +RUN su user -c "yay --noconfirm -S mingw-w64-libjpeg-turbo mingw-w64-x264"