mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Update to SDL 2.24.0
This updates all references to SDL 2.0.22 to SDL 2.24.0, including the Docker container that I maintain for Linux CI. Be warned, this release of SDL updates the versioning scheme to be less dumb. The previous version is 2.0.22, this release is 2.24.0 (so the last number can be properly used for patch-level version releases).
This commit is contained in:
@@ -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 /
|
||||
|
||||
Reference in New Issue
Block a user