# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2025 Marcel Telka # include ../../../make-rules/shared-macros.mk COMPONENT_NAME= SDL2_ttf COMPONENT_VERSION= 2.24.0 COMPONENT_SUMMARY= Support for TrueType (.ttf) font files with Simple Directmedia Layer COMPONENT_PROJECT_URL= https://github.com/libsdl-org/SDL_ttf COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz COMPONENT_ARCHIVE_HASH= sha256:0b2bf1e7b6568adbdbc9bb924643f79d9dedafe061fa1ed687d1d9ac4e453bfd COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/releases/download/release-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) COMPONENT_FMRI= image/library/sdl2-ttf COMPONENT_CLASSIFICATION= System/Multimedia Libraries COMPONENT_LICENSE= Zlib COMPONENT_LICENSE_FILE= LICENSE.txt include $(WS_MAKE_RULES)/common.mk CONFIGURE_OPTIONS += --disable-static # Auto-generated dependencies REQUIRED_PACKAGES += library/sdl2 REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += system/library/math