use github api to get SDL ttf latest version
This commit is contained in:
parent
147324a9a4
commit
1c87dda306
2
3rdparty/Makefile
vendored
2
3rdparty/Makefile
vendored
@ -79,7 +79,7 @@ SDL2TTFARCH = $(SDL2TTF).tar.gz
|
||||
SDL2TTFSIG = $(SDL2TTFARCH).sig
|
||||
SDL2TTFURL = https://www.libsdl.org/projects/SDL_ttf/release/$(SDL2TTFARCH)
|
||||
SDL2TTFSIGURL = $(SDL2TTFURL).sig
|
||||
LATESTSDL2TTFVER = $(shell curl -s -S https://www.libsdl.org/projects/SDL_ttf/|grep release/|grep .tar.gz |head -n1|sed 's/.*SDL2_ttf-\([0-9.]*\).tar.gz.*/\1/')
|
||||
LATESTSDL2TTFVER = $(shell curl -s -S https://api.github.com/repos/libsdl-org/SDL_ttf/tags | jq -r .[0].name|sed 's/.*-\([0-9.]*\)/\1/')
|
||||
LIBPNGVER = 1.6.37
|
||||
LIBPNG = libpng-$(LIBPNGVER)
|
||||
LIBPNGARCH = $(LIBPNG).tar.gz
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user