package/sdl_ttf: switch to github, update version

SDL's canonical source is now on GitHub. The git commit that matches
the Hg commit we used so far is b13aa509166e, but we switch to the
HEAD of the SDL-1.2 branch, which just has two additional commits
touching the autotools files.

Signed-off-by: Gleb Mazovetskiy <glex.spb@gmail.com>
[yann.morin.1998@free.fr:
 - explain why we don;t use the exactly-maching commit
  - use full-length commit hash
  - drop the comment: it did not point to the commit we used
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Gleb Mazovetskiy 2021-03-21 07:10:37 +00:00 committed by Yann E. MORIN
parent a0f020f7ae
commit 1ea69180e2
2 changed files with 3 additions and 11 deletions

View File

@ -1,3 +1,3 @@
# Locally calculated
sha256 f7bf5f6a4a21542a6ce5440dc0d81f3a26d029ee689e1fade62925b1e6667bd9 de50cffd41e6.tar.gz
sha256 c24e3b48f5ffa5afb3256d23700506fad72117ac2834147c2e46ee94c3cb12b5 sdl_ttf-70b2940cc75e92aab02a67d2f827caf2836a2c74.tar.gz
sha256 b609721d3d4ac67facaf86f068c8b311b6c5f6cef89b6d84268aa38b7867ab7b COPYING

View File

@ -6,16 +6,8 @@
# There is unlikely to be a new SDL_ttf release for the foreseeable future:
# https://bugzilla.libsdl.org/show_bug.cgi?id=5344#c1
#
# The unreleased version from HEAD as of 2020-11-09 has several bugfixes
# and DPI scaling support:
# https://hg.libsdl.org/SDL_ttf/rev/7dbd7cd826d6
#
# DPI scaling is used for rendering on HiDPI displays and displays
# with non-square pixels.
SDL_TTF_VERSION = de50cffd41e6
SDL_TTF_SOURCE = $(SDL_TTF_VERSION).tar.gz
SDL_TTF_SITE = https://hg.libsdl.org/SDL_ttf/archive
SDL_TTF_VERSION = 70b2940cc75e92aab02a67d2f827caf2836a2c74
SDL_TTF_SITE = $(call github,libsdl-org,SDL_ttf,$(SDL_TTF_VERSION))
SDL_TTF_LICENSE = Zlib
SDL_TTF_LICENSE_FILES = COPYING