forked from clementgallet/libTAS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
executable file
·47 lines (36 loc) · 1.67 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
FROM debian:10
# update
RUN dpkg --add-architecture i386
RUN apt-get update
# libtas
# dependencies
# main
RUN apt-get -y install build-essential automake pkg-config libx11-dev libx11-xcb-dev qtbase5-dev qt5-default libsdl2-dev libxcb1-dev libxcb-keysyms1-dev libxcb-xkb-dev libxcb-cursor-dev libxcb-randr0-dev libudev-dev libasound2-dev libavutil-dev libswresample-dev ffmpeg liblua5.3-dev
# HUD
RUN apt-get -y install libfreetype6-dev libfontconfig1-dev
# fonts
RUN apt-get -y install libfreetype6-dev libfontconfig1-dev
RUN apt-get -y install fonts-liberation
# i386
RUN apt-get -y install g++-multilib
RUN apt-get -y install libx11-6:i386 libx11-dev:i386 libx11-xcb1:i386 libx11-xcb-dev:i386 libasound2:i386 libasound2-dev:i386 libavutil56:i386 libswresample3:i386 libfreetype6:i386 libfreetype6-dev:i386 libfontconfig1:i386 libfontconfig1-dev:i386
# install
RUN apt-get -y install git
RUN mkdir /root/src
RUN cd /root/src && git clone https://github.com/clementgallet/libTAS.git
RUN cd /root/src/libTAS && ./build.sh --with-i386
RUN cd /root/src/libTAS && make install
# additional programs
# wine
RUN apt-get -y install wine
# pcem
# dependencies
RUN apt-get -y install libwxbase3.0-dev libwxgtk3.0-gtk3-dev wx-common libsdl2-dev libopenal-dev
# install
RUN cd /root/src && git clone https://github.com/TASVideos/pcem.git
RUN cd /root/src/pcem && git checkout v16_9b737f6
RUN cd /root/src/pcem && ./configure --enable-release-build
RUN cd /root/src/pcem && autoreconf
RUN cd /root/src/pcem && make
# run
CMD bash