diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b01999c..6383e10b 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:641092ceb715783183ff3cb6ec4932aecfa2161d135195c29e72c2ad665a4619 + container: ghcr.io/infoteddy/vvvvvv-build@sha256:2965b59331026ce108836e5226cfda5e08a8c8440156b58944dff0fe5cf93f94 env: CXXFLAGS: -I/usr/local/include/SDL2 @@ -117,7 +117,7 @@ jobs: runs-on: windows-latest env: - SDL_VERSION: 2.0.20 + SDL_VERSION: 2.0.22 steps: - uses: actions/checkout@v1 diff --git a/desktop_version/Dockerfile b/desktop_version/Dockerfile index b9d50f71..788ddae5 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 -O https://www.libsdl.org/release/SDL2-2.0.20.tar.gz -RUN tar -xf SDL2-2.0.20.tar.gz -RUN mkdir SDL2-2.0.20/build +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 # 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.20/build +WORKDIR /tmp/SDL2-2.0.22/build RUN ../configure RUN make -j $(nproc) RUN make install WORKDIR /tmp -RUN rm -rf SDL2-2.0.20.tar.gz SDL2-2.0.20/ +RUN rm -rf SDL2-2.0.22.tar.gz SDL2-2.0.22/ WORKDIR / diff --git a/desktop_version/README.md b/desktop_version/README.md index b8a69671..a8f79e68 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.20+. All other dependencies +The engine depends solely on [SDL2](https://libsdl.org/) 2.0.22+. 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.20\include" -DSDL2_LIBRARIES="C:\SDL2-2.0.20\lib\x86\SDL2;C:\SDL2-2.0.20\lib\x86\SDL2main" +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" ``` Note that on some systems, the `SDL2_LIBRARIES` list on Windows may need