gnu: Add sdl2-pango.

* gnu/packages/sdl.scm (sdl2-pango): New variable.

Change-Id: I87a2fe0c0fefea7c39e9494acc5cc2bd5c782bb3
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Eric Bavier 2025-05-29 04:10:54 +00:00 committed by Andreas Enge
parent 9b316a0c09
commit d1f23a62fc
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -17,6 +17,7 @@
;;; Copyright © 2023 Evgeny Pisemsky <mail@pisemsky.site>
;;; Copyright © 2023, 2024 dan <i@dan.games>
;;; Copyright © 2025 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2025 Eric Bavier <bavier@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@ -519,6 +520,33 @@ It allows you to use TrueType fonts to render internationalized and
tagged text in SDL applications.")
(license license:lgpl2.1)))
(define-public sdl2-pango
(package
(name "sdl2-pango")
(version "2.1.5")
(home-page "https://github.com/markuskimius/SDL2_Pango")
(source
(origin
(method git-fetch)
(uri (git-reference
(url home-page)
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0ivngl3bsy2aq8pqdh96nzrfnln6linz50mp5bpb9wv2bk5gj8pi"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags (list "--disable-static")))
(native-inputs
(list autoconf automake libtool pkg-config))
(inputs
(list freetype pango sdl2))
(synopsis "Pango SDL2 binding")
(description "This library is a wrapper around the Pango library.
It allows you to use TrueType fonts to render internationalized and
tagged text in SDL2 applications.")
(license license:lgpl2.1)))
(define-public sdl-ttf
(package
(name "sdl-ttf")