mirror of
https://github.com/yuzu-emu/build-environments.git
synced 2024-11-22 22:45:47 +01:00
Merge pull request #30 from lat9nq/hidapi
fresh: Add hidapi 0.10.1 from ext-linux-bin
This commit is contained in:
commit
ef6a499d16
@ -13,6 +13,8 @@ ENV UBUNTU_VER=bionic
|
|||||||
RUN useradd -m -u 1027 -s /bin/bash yuzu && \
|
RUN useradd -m -u 1027 -s /bin/bash yuzu && \
|
||||||
apt-get update && apt-get -y full-upgrade && \
|
apt-get update && apt-get -y full-upgrade && \
|
||||||
apt-get install --no-install-recommends -y \
|
apt-get install --no-install-recommends -y \
|
||||||
|
autoconf \
|
||||||
|
automake \
|
||||||
build-essential \
|
build-essential \
|
||||||
ccache \
|
ccache \
|
||||||
file \
|
file \
|
||||||
@ -21,6 +23,8 @@ RUN useradd -m -u 1027 -s /bin/bash yuzu && \
|
|||||||
liblz4-dev \
|
liblz4-dev \
|
||||||
libopus-dev \
|
libopus-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
|
libtool \
|
||||||
|
libusb-1.0-0-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
libzstd-dev \
|
libzstd-dev \
|
||||||
nasm \
|
nasm \
|
||||||
@ -84,11 +88,15 @@ RUN cd /tmp && \
|
|||||||
chown -R root:root boost_1_75_0/ && \
|
chown -R root:root boost_1_75_0/ && \
|
||||||
cp -rv boost_1_75_0/include boost_1_75_0/lib /usr && \
|
cp -rv boost_1_75_0/include boost_1_75_0/lib /usr && \
|
||||||
rm -rf boost*
|
rm -rf boost*
|
||||||
|
# Install hidapi 0.10.1 from yuzu-emu/ext-linux-bin
|
||||||
|
RUN cd /tmp && \
|
||||||
|
wget https://github.com/yuzu-emu/ext-linux-bin/raw/main/hidapi/hidapi_0_10_1.tar.xz &&\
|
||||||
|
tar xvf hidapi_0_10_1.tar.xz && \
|
||||||
|
chown -R root:root hidapi/ && \
|
||||||
|
cp -rv hidapi/include hidapi/lib hidapi/share /usr && \
|
||||||
|
rm -rf hidapi*
|
||||||
# Setup paths for Qt binaries
|
# Setup paths for Qt binaries
|
||||||
ENV LD_LIBRARY_PATH=/opt/qt${QT_PKG_VER}/lib:${LD_LIBRARY_PATH}
|
ENV LD_LIBRARY_PATH=/opt/qt${QT_PKG_VER}/lib:${LD_LIBRARY_PATH}
|
||||||
ENV PATH=/opt/qt${QT_PKG_VER}/bin:${PATH}
|
ENV PATH=/opt/qt${QT_PKG_VER}/bin:${PATH}
|
||||||
USER 1027
|
USER 1027
|
||||||
COPY --chown=yuzu:yuzu settings.yml /home/yuzu/.conan/settings.yml
|
COPY --chown=yuzu:yuzu settings.yml /home/yuzu/.conan/settings.yml
|
||||||
RUN conan install catch2/2.13.0@ -s compiler.libcxx=libstdc++11 --build=missing && \
|
|
||||||
conan install fmt/7.1.2@ -s compiler.libcxx=libstdc++11 --build=missing && \
|
|
||||||
conan install nlohmann_json/3.9.1@ -s compiler.libcxx=libstdc++11 --build=missing
|
|
||||||
|
Loading…
Reference in New Issue
Block a user