1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 18:10:47 +02:00

gnu: Add tinygettext-with-sdl2.

* gnu/packages/cpp.scm (tinygettext-with-sdl2): New variable.

Change-Id: I748752d1a9729f749645f287525595bdd50970e4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-06-15 05:47:18 +02:00 committed by Sharlatan Hellseher
parent e1b921a4e3
commit 82fe2f99fd
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -119,6 +119,7 @@
#:use-module (gnu packages popt)
#:use-module (gnu packages pretty-print)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages sdl)
#:use-module (gnu packages tls)
#:use-module (gnu packages tex)
#:use-module (gnu packages web)
@ -4121,6 +4122,15 @@ ordered erase operations.")
on @code{.po} files and doesn't need @code{.mo} files pre-generated.")
(license license:expat))))
(define-public tinygettext-with-sdl2
(package/inherit tinygettext
(arguments
(substitute-keyword-arguments (package-arguments tinygettext)
((#:configure-flags flags)
#~(list "-DTINYGETTEXT_WITH_SDL=ON" "-DBUILD_TESTS=ON"))))
(native-inputs (list pkg-config tinycmmc))
(inputs (list sdl2))))
(define-public tl-optional
(package
(name "tl-optional")