GNU bug report logs - #76757
[PATCH 0/5] gnu: Add sdl3-{image,ttf}.

Previous Next

Package: guix-patches;

Reported by: Nguyễn Gia Phong <mcsinyx <at> disroot.org>

Date: Wed, 5 Mar 2025 08:42:02 UTC

Severity: normal

Tags: moreinfo, patch

Done: Nguyễn Gia Phong <mcsinyx <at> disroot.org>

Full log


View this message in rfc822 format

From: Nguyễn Gia Phong <mcsinyx <at> disroot.org>
To: 76757 <at> debbugs.gnu.org
Cc: Nguyễn Gia Phong <mcsinyx <at> disroot.org>
Subject: [bug#76757] [PATCH 5/5] gnu: Add sdl3-ttf.
Date: Wed,  5 Mar 2025 17:44:08 +0900
* gnu/packages/sdl.scm (sdl3-ttf): New variable.

Change-Id: Ic0597ad96c75a4fa720a888b1f3eea84db6c368c
---
 gnu/packages/sdl.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index ceede7133c80..1b1ce0cbd29d 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -689,6 +689,26 @@ (define-public sdl3-image
      (list sdl3 libavif libjpeg-turbo libpng libtiff libwebp))
     (properties '((upstream-name . "SDL3_image")))))
 
+(define-public sdl3-ttf
+  (package (inherit sdl2-ttf)
+    (name "sdl3-ttf")
+    (version "3.2.0")
+    (source (origin
+             (method url-fetch)
+             (uri
+              (string-append "https://www.libsdl.org/projects/SDL_ttf/release/"
+                             "SDL3_ttf-" version ".tar.gz"))
+             (sha256
+              (base32
+               "0qpb08qh9f9fazhlj2gh1ni0j53cqhfcn0nlb3vdzmn7nzpisx4s"))))
+    (build-system cmake-build-system)
+    (arguments '(#:configure-flags '()
+                 #:tests? #f))          ;no check target
+    (propagated-inputs (list sdl3))
+    (inputs (list freetype harfbuzz plutosvg))
+    (native-inputs '())
+    (properties '((upstream-name . "SDL3_ttf")))))
+
 (define-public guile-sdl
   (package
     (name "guile-sdl")
-- 
2.48.1





This bug report was last modified 23 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.