mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Using latest sdl2 version
This commit is contained in:
parent
02abd39479
commit
b58b04f6b2
12
Dockerfile
12
Dockerfile
@ -4,17 +4,7 @@ FROM alpine:latest
|
|||||||
COPY . /src
|
COPY . /src
|
||||||
|
|
||||||
|
|
||||||
RUN apk add build-base wget git bash cmake python3 glu-dev
|
RUN apk add build-base wget git bash cmake python3 glu-dev sdl2-dev
|
||||||
|
|
||||||
# Installing SDL2 from source because current SDL2 package in alpine
|
|
||||||
# has some tricks that make PPSSPP compilation to fail
|
|
||||||
ENV SDL_VERSION=2.0.20
|
|
||||||
RUN wget https://github.com/libsdl-org/SDL/archive/refs/tags/release-${SDL_VERSION}.tar.gz && \
|
|
||||||
tar -xf release-${SDL_VERSION}.tar.gz && cd SDL-release-${SDL_VERSION} && mkdir build && cd build && \
|
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release .. && \
|
|
||||||
make -j$(getconf _NPROCESSORS_ONLN) clean && \
|
|
||||||
make -j$(getconf _NPROCESSORS_ONLN) && \
|
|
||||||
make -j$(getconf _NPROCESSORS_ONLN) install
|
|
||||||
|
|
||||||
RUN cd src/ffmpeg && ./linux_x86-64.sh
|
RUN cd src/ffmpeg && ./linux_x86-64.sh
|
||||||
RUN cd src && ./b.sh --headless
|
RUN cd src && ./b.sh --headless
|
||||||
|
Loading…
Reference in New Issue
Block a user