Commit 8662b563 authored by nanahira's avatar nanahira

remove irrklang

parent 284d437d
......@@ -3,7 +3,7 @@ LABEL Author="Nanahira <nanahira@momobako.com>"
RUN rm -rf /etc/apt/sources.list.d/* && \
apt update && \
env DEBIAN_FRONTEND=noninteractive apt -y install wget tar git autoconf automake build-essential libfreetype6-dev libevent-dev libsqlite3-dev libgl1-mesa-dev libglu-dev liblua5.3-dev libxxf86vm-dev p7zip-full mono-complete && \
env DEBIAN_FRONTEND=noninteractive apt -y install wget tar git autoconf automake build-essential libfreetype6-dev libevent-dev libsqlite3-dev libgl1-mesa-dev libglu-dev liblua5.3-dev libxxf86vm-dev p7zip-full mono-complete libasound2-dev libasound2 && \
rm -rf /var/tmp/* /tmp/* /var/lib/apt/lists/*
......@@ -13,13 +13,13 @@ COPY . ./
# irrlicht
RUN git clone --depth=1 https://code.mycard.moe/mycard/irrlicht irrlicht_linux && \
# irrklang
wget -O irrKlang.zip https://www.ambiera.at/downloads/irrKlang-64bit-1.6.0.zip && \
7z x -y irrKlang.zip && \
mv irrKlang-64bit-1.6.0 irrklang && \
cp -rf irrklang/bin/linux-gcc-64/libIrrKlang.so . && \
#wget -O irrKlang.zip https://www.ambiera.at/downloads/irrKlang-64bit-1.6.0.zip && \
#7z x -y irrKlang.zip && \
#mv irrKlang-64bit-1.6.0 irrklang && \
#cp -rf irrklang/bin/linux-gcc-64/libIrrKlang.so . && \
# premake
wget -O - https://github.com/premake/premake-core/releases/download/v5.0.0-alpha14/premake-5.0.0-alpha14-linux.tar.gz | tar zfx - && \
env USE_IRRKLANG=1 ./premake5 gmake && \
./premake5 gmake && \
# build
cd build && make config=release -j$(nproc) && cd .. && \
cp -rf bin/release/ygopro . && \
......@@ -29,9 +29,9 @@ RUN git clone --depth=1 https://code.mycard.moe/mycard/irrlicht irrlicht_linux &
7z x -y -opics ygopro-images-zh-CN.zip && \
rm -rf ygopro-images-zh-CN.zip && \
# sound
wget -O - https://code.mycard.moe/mycard/ygopro-sounds/-/archive/master/ygopro-sounds-master.tar.gz | tar zfx - && \
mv ygopro-sounds-master/sound/* sound && \
rm -rf ygopro-sounds-master && \
#wget -O - https://code.mycard.moe/mycard/ygopro-sounds/-/archive/master/ygopro-sounds-master.tar.gz | tar zfx - && \
#mv ygopro-sounds-master/sound/* sound && \
#rm -rf ygopro-sounds-master && \
# fonts
mkdir fonts && \
cd fonts && \
......@@ -49,7 +49,7 @@ RUN git clone --depth=1 https://code.mycard.moe/mycard/irrlicht irrlicht_linux &
rm -rf ygopro-database && \
# cleanup
cp -rf system.conf system_user.conf && \
rm -rf bin obj build premake5 irrlicht_linux irrklang irrKlang.zip
rm -rf bin obj build premake5 irrlicht_linux
RUN ln -s /usr/local/cuda/compat/libcuda.so.1 /usr/lib/x86_64-linux-gnu/libcuda.so.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment