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>
23 lines
806 B
Makefile
23 lines
806 B
Makefile
################################################################################
|
|
#
|
|
# sdl_ttf
|
|
#
|
|
################################################################################
|
|
|
|
# There is unlikely to be a new SDL_ttf release for the foreseeable future:
|
|
# https://bugzilla.libsdl.org/show_bug.cgi?id=5344#c1
|
|
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
|
|
|
|
SDL_TTF_INSTALL_STAGING = YES
|
|
SDL_TTF_DEPENDENCIES = sdl freetype
|
|
SDL_TTF_CONF_OPTS = \
|
|
--without-x \
|
|
--with-freetype-prefix=$(STAGING_DIR)/usr \
|
|
--with-sdl-prefix=$(STAGING_DIR)/usr
|
|
|
|
SDL_TTF_MAKE_OPTS = INCLUDES="-I$(STAGING_DIR)/usr/include/SDL" LDFLAGS="-L$(STAGING_DIR)/usr/lib"
|
|
$(eval $(autotools-package))
|