SDL3_ttf: Add new package SDL3_fft
PATCH 1/1 SDL3_ttf: Add new package SDL3_fft
SDL3_ttf is a TrueType font library. It allows you to use TrueType fonts in your SDL3 applications.
Signed-off-by Michael Fischer <[email protected]>
--- package/sdl3_ttf/Config.in | 9 +++++++++ package/sdl3_ttf/sdl3_ttf.hash | 3 +++ package/sdl3_ttf/sdl3_ttf.mk | 25 +++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 package/sdl3_ttf/Config.in create mode 100644 package/sdl3_ttf/sdl3_ttf.hash create mode 100644 package/sdl3_ttf/sdl3_ttf.mk
package/sdl3_ttf/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_SDL3_TTF + bool "sdl3_ttf" + depends on BR2_PACKAGE_SDL3 + select BR2_PACKAGE_FREETYPE + help + SDL3_ttf is a TrueType font library. It allows you to + use TrueType fonts in your SDL3 applications. + + http://www.libsdl.org/projects/SDL_ttf/
package/sdl3_ttf/sdl3_ttf.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally calculated +sha256 fab27d078842c458bedcce32afaf17da7d21da7e873d0d8deadd10edc440e96b SDL3_ttf-3.1.0.tar.gz +sha256 7826eca0a0f7e591f38dd844e207a200aac81a59b20d8a30c3af8c6282af13e6 LICENSE.txt
package/sdl3_ttf/sdl3_ttf.mk new file +25 -0
@@ -0,0 +1,25 @@ +################################################################################ +# +# sdl3_ttf +# +################################################################################ + +SDL3_TTF_VERSION = 3.1.0 +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))
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot