diff options
author | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-07-16 22:56:28 +0200 |
---|---|---|
committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-07-30 18:12:31 +0200 |
commit | c64aad5e8c62e1898cdf7bbf91f74ec9642bde90 (patch) | |
tree | 36cdd19b437a3c76ec02e20d801abb078921e7b6 | |
parent | 371f66588a9671353ffc8384952e3f726c37c382 (diff) |
gnu: Add sdl3-ttf.
* gnu/packages/sdl.scm (sdl3-ttf): New variable.
Change-Id: I625fd7de35910fc985db5c33abe833c79c7ddaef
-rw-r--r-- | gnu/packages/sdl.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm index 9b5b8c9a10..054d2509a8 100644 --- a/gnu/packages/sdl.scm +++ b/gnu/packages/sdl.scm @@ -822,6 +822,34 @@ for the Simple Direct Media (SDL) cross-platform API layer.") (license license:zlib) (properties '((upstream-name . "SDL3_gfx"))))) +(define-public sdl3-ttf + (package + (name "sdl3-ttf") + (version "3.2.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libsdl-org/SDL_ttf.git") + (commit (string-append "release-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09jiajs9imscwa7b0q4z20znxcvazilks5ilggdvxjiv3cpxzcl3")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f)) ; no tests + (native-inputs + (list pkg-config)) + (propagated-inputs + (list sdl3)) + (inputs + (list harfbuzz freetype)) + (synopsis "TrueType fonts in SDL3") + (description "This package provides a library to load TrueType (.ttf) +font files with Simple Directmedia Layer.") + (home-page "https://wiki.libsdl.org/SDL3/FrontPage") + (license license:zlib))) + (define-public guile-sdl (package (name "guile-sdl") |