-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (29 loc) · 861 Bytes
/
Dockerfile
File metadata and controls
35 lines (29 loc) · 861 Bytes
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
FROM gnuton/vitasdk-docker
RUN apt-get update
RUN apt-get install -y \
file \
libarchive-tools \
git \
netcat
# vitaGL
WORKDIR /build
RUN git clone --depth=1 https://github.com/Rinnegatamante/vitaGL.git
WORKDIR /build/vitaGL
RUN HAVE_GLSL_SUPPORT=1 make install
# SDL
WORKDIR /build
RUN git clone --depth=1 https://github.com/Northfear/SDL.git
WORKDIR /build/SDL
RUN git checkout vitagl
RUN cmake -S. -Bbuild -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DVIDEO_VITA_VGL=ON
RUN cmake --build build -- -j$(nproc)
RUN cmake --install build
# raylib
WORKDIR /build
RUN git clone --depth=1 https://github.com/Rinnegatamante/raylib-5.5-vita.git
WORKDIR /build/raylib-5.5-vita/src
RUN make clean
RUN make -j"$(nproc)"
RUN make install
WORKDIR /build/git
CMD ["bash"]