From e2b2bfb285def1fbd01b694238942dd16d1fec9a Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Wed, 3 Feb 2021 00:29:56 +0100 Subject: [PATCH] SDL2 version 2.0.14 --- 3rdparty/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/3rdparty/Makefile b/3rdparty/Makefile index 6c43e007..dcc9a29e 100644 --- a/3rdparty/Makefile +++ b/3rdparty/Makefile @@ -51,18 +51,21 @@ SDLTTFARCH=$(SDLTTF).tar.gz SDLTTFURL=https://www.libsdl.org/projects/SDL_ttf/release/$(SDLTTFARCH) SDLTTFSHA256 = 724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7 # we cannot take the latest version automatically because SDL2DEVEL is not signed :( -SDL2VER = 2.0.12 +SDL2VER = 2.0.14 LATESTSDL2VER = $(shell curl -s -S http://www.libsdl.org/ | grep current | grep stable | sed 's/.*version \([0-9.]*\).*/\1/' ) SDL2 = SDL2-$(SDL2VER) SDL2ARCH = $(SDL2).tar.gz SDL2URL = https://www.libsdl.org/release/$(SDL2ARCH) SDL2SIG = $(SDL2ARCH).sig SDL2SIGURL = $(SDL2URL).sig -SDL2PATCHES = SDL2-NSOSVersion.patch +SDL2PATCHES = +ifeq ($(SDL2VER),2.0.12) +SDL2PATCHES += SDL2-NSOSVersion.patch +endif SDL2DEVEL = SDL2-devel-$(SDL2VER)-mingw.tar.gz SDL2DEVELURL = https://www.libsdl.org/release/$(SDL2DEVEL) SDL2DEVELPATCH = SDL2-devel.patch -SDL2DEVELSHA256 = e614a60f797e35ef9f3f96aef3dc6a1d786de3cc7ca6216f97e435c0b6aafc46 +SDL2DEVELSHA256 = 405eaff3eb18f2e08fe669ef9e63bc9a8710b7d343756f238619761e9b60407d SDL2IMAGEVER = $(LATESTSDL2IMAGEVER) SDL2IMAGE = SDL2_image-$(SDL2IMAGEVER) SDL2IMAGEARCH = $(SDL2IMAGE).tar.gz