mirror of
https://github.com/yuzu-emu/build-environments
synced 2024-11-26 05:48:04 +00:00
41 lines
1.2 KiB
Docker
41 lines
1.2 KiB
Docker
FROM archlinux:latest
|
|
MAINTAINER yuzu
|
|
# Add mingw-repo "ownstuff" is a AUR with an up to date mingw64
|
|
RUN useradd -m -s /bin/bash yuzu && mkdir -p /tmp/pkgs && \
|
|
echo "[ownstuff]" >> /etc/pacman.conf && \
|
|
echo "SigLevel = Optional TrustAll" >> /etc/pacman.conf && \
|
|
echo "Server = https://martchus.no-ip.biz/repo/arch/ownstuff/os/\$arch" >> /etc/pacman.conf && \
|
|
pacman -Syu --noconfirm && \
|
|
pacman -Syu --noconfirm && \
|
|
pacman -S --needed --noconfirm --noprogressbar \
|
|
base-devel \
|
|
gnupg \
|
|
wget \
|
|
git \
|
|
python-pip \
|
|
python \
|
|
ccache \
|
|
p7zip \
|
|
cmake \
|
|
ninja \
|
|
mingw-w64-gcc \
|
|
mingw-w64-tools \
|
|
mingw-w64-sdl2 \
|
|
mingw-w64-qt5-base \
|
|
mingw-w64-qt5-tools \
|
|
mingw-w64-qt5-graphicaleffects \
|
|
mingw-w64-qt5-multimedia \
|
|
mingw-w64-qt5-winextras \
|
|
python2 \
|
|
mingw-w64-opus \
|
|
mingw-w64-winpthreads && \
|
|
pacman -Scc --noconfirm && \
|
|
rm -rf /usr/share/man/ /tmp/ /var/tmp/
|
|
|
|
COPY mingw-setup.sh /tmp/
|
|
RUN cd /tmp/ && bash -e mingw-setup.sh
|
|
# Compatibility with the old Ubuntu MingW image
|
|
RUN ln -s /usr/x86_64-w64-mingw32/lib/qt /usr/x86_64-w64-mingw32/lib/qt5
|
|
|
|
# Cleanup
|
|
USER root
|