mirror of
https://github.com/yuzu-emu/build-environments.git
synced 2024-11-24 18:15:38 +01:00
mingw: Install pefile through pacman
Recent Arch Linux packaging policy changes require Python modules to be installed through the package manager, not pip. pip is still installed for compatibility with existing docker scripts on yuzu's side.
This commit is contained in:
parent
41caf444bb
commit
1ed95df536
@ -20,6 +20,8 @@ RUN useradd -m -u 1027 -s /bin/bash yuzu && mkdir -p /tmp/pkgs && \
|
|||||||
wget \
|
wget \
|
||||||
git \
|
git \
|
||||||
glslang \
|
glslang \
|
||||||
|
# TODO: Remove python-pip after a reasonable amount of time has passed to let yuzu PRs rebase its scripts
|
||||||
|
python-pefile \
|
||||||
python-pip \
|
python-pip \
|
||||||
python \
|
python \
|
||||||
ccache \
|
ccache \
|
||||||
@ -51,8 +53,6 @@ RUN wget --no-verbose \
|
|||||||
pacman -U --noconfirm mingw-w64-boost-1.79.0-1-any.pkg.tar.zst && \
|
pacman -U --noconfirm mingw-w64-boost-1.79.0-1-any.pkg.tar.zst && \
|
||||||
rm mingw-w64-boost-1.79.0-1-any.pkg.tar.zst
|
rm mingw-w64-boost-1.79.0-1-any.pkg.tar.zst
|
||||||
|
|
||||||
# Setup extra mingw work arounds
|
|
||||||
RUN pip3 install pefile
|
|
||||||
# Compatibility with the old Ubuntu MingW image
|
# Compatibility with the old Ubuntu MingW image
|
||||||
RUN ln -s /usr/x86_64-w64-mingw32/lib/qt /usr/x86_64-w64-mingw32/lib/qt5
|
RUN ln -s /usr/x86_64-w64-mingw32/lib/qt /usr/x86_64-w64-mingw32/lib/qt5
|
||||||
# Give yuzu user sudo access for AUR usage
|
# Give yuzu user sudo access for AUR usage
|
||||||
|
Loading…
Reference in New Issue
Block a user