mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
SDL3_ttf is a TrueType font rendering library for SDL3, based on freetype, with optional harfbuzz support. https://github.com/libsdl-org/SDL_ttf Signed-off-by: Michael Fischer <mf@go-sys.de> Signed-off-by: Julien Olivain <ju.o@free.fr>
26 lines
680 B
Makefile
26 lines
680 B
Makefile
################################################################################
|
|
#
|
|
# sdl3_ttf
|
|
#
|
|
################################################################################
|
|
|
|
SDL3_TTF_VERSION = 3.2.2
|
|
SDL3_TTF_SOURCE = SDL3_ttf-$(SDL3_TTF_VERSION).tar.gz
|
|
SDL3_TTF_SITE = https://www.libsdl.org/projects/SDL_ttf/release
|
|
SDL3_TTF_LICENSE = Zlib
|
|
SDL3_TTF_LICENSE_FILES = LICENSE.txt
|
|
SDL3_TTF_INSTALL_STAGING = YES
|
|
|
|
SDL3_TTF_DEPENDENCIES = sdl3 freetype host-pkgconf
|
|
|
|
SDL3_TTF_CONF_OPTS = \
|
|
-DSDLTTF_VENDORED=OFF \
|
|
-DSDLTTF_HARFBUZZ=OFF
|
|
|
|
ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
|
|
SDL3_TTF_DEPENDENCIES += harfbuzz
|
|
SDL3_TTF_CONF_OPTS += -DSDLTTF_HARFBUZZ=ON
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|