From d1f23a62fcdd3138f2a3d68fcf769c1019b0704b Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 29 May 2025 04:10:54 +0000 Subject: [PATCH] gnu: Add sdl2-pango. * gnu/packages/sdl.scm (sdl2-pango): New variable. Change-Id: I87a2fe0c0fefea7c39e9494acc5cc2bd5c782bb3 Signed-off-by: Andreas Enge --- gnu/packages/sdl.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm index ee6c1d11fdf..da16c1b9738 100644 --- a/gnu/packages/sdl.scm +++ b/gnu/packages/sdl.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2023 Evgeny Pisemsky ;;; Copyright © 2023, 2024 dan ;;; Copyright © 2025 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2025 Eric Bavier ;;; ;;; 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")