diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6383e10b..4743067f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,7 +64,7 @@ jobs: name: Build (CentOS 7) runs-on: ubuntu-latest - container: ghcr.io/infoteddy/vvvvvv-build@sha256:2965b59331026ce108836e5226cfda5e08a8c8440156b58944dff0fe5cf93f94 + container: ghcr.io/infoteddy/vvvvvv-build@sha256:50a2f769db3ca180286e9a76c1bf06b7016544a78e1fc7a9a0cc1144c675ced1 env: CXXFLAGS: -I/usr/local/include/SDL2 diff --git a/desktop_version/Dockerfile b/desktop_version/Dockerfile index 788ddae5..1c408f78 100644 --- a/desktop_version/Dockerfile +++ b/desktop_version/Dockerfile @@ -2,9 +2,9 @@ FROM centos:7 # run first to improve caching (other things update more often than SDL2) WORKDIR /tmp -RUN curl -LJO https://github.com/libsdl-org/SDL/releases/download/release-2.0.22/SDL2-2.0.22.tar.gz -RUN tar -xf SDL2-2.0.22.tar.gz -RUN mkdir SDL2-2.0.22/build +RUN curl -LJO https://github.com/libsdl-org/SDL/releases/download/release-2.24.0/SDL2-2.24.0.tar.gz +RUN tar -xf SDL2-2.24.0.tar.gz +RUN mkdir SDL2-2.24.0/build # add EPEL (for SDL2) RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm @@ -20,12 +20,12 @@ RUN yum-builddep -y SDL2 RUN yum clean all -WORKDIR /tmp/SDL2-2.0.22/build +WORKDIR /tmp/SDL2-2.24.0/build RUN ../configure RUN make -j $(nproc) RUN make install WORKDIR /tmp -RUN rm -rf SDL2-2.0.22.tar.gz SDL2-2.0.22/ +RUN rm -rf SDL2-2.24.0.tar.gz SDL2-2.24.0/ WORKDIR / diff --git a/desktop_version/README.md b/desktop_version/README.md index a8f79e68..799d02f7 100644 --- a/desktop_version/README.md +++ b/desktop_version/README.md @@ -6,7 +6,7 @@ VVVVVV's official desktop versions are built with the following environments: - macOS: Xcode CLT, currently targeting 10.9 SDK - GNU/Linux: CentOS 7 -The engine depends solely on [SDL2](https://libsdl.org/) 2.0.22+. All other dependencies +The engine depends solely on [SDL2](https://libsdl.org/) 2.24.0+. All other dependencies are statically linked into the engine. The development libraries for Windows can be downloaded from SDL's website, Linux developers can find the dev libraries from their respective repositories, and macOS developers should compile and install from source. @@ -23,7 +23,7 @@ To generate the projects on Windows: # Put your SDL2 folders somewhere nice! mkdir flibitBuild cd flibitBuild -cmake -A Win32 -G "Visual Studio 10 2010" .. -DSDL2_INCLUDE_DIRS="C:\SDL2-2.0.22\include" -DSDL2_LIBRARIES="C:\SDL2-2.0.22\lib\x86\SDL2;C:\SDL2-2.0.22\lib\x86\SDL2main" +cmake -A Win32 -G "Visual Studio 10 2010" .. -DSDL2_INCLUDE_DIRS="C:\SDL2-2.24.0\include" -DSDL2_LIBRARIES="C:\SDL2-2.24.0\lib\x86\SDL2;C:\SDL2-2.24.0\lib\x86\SDL2main" ``` Note that on some systems, the `SDL2_LIBRARIES` list on Windows may need