diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-06-15 05:47:18 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-20 15:07:37 +0100 |
commit | 82fe2f99fd4e5fe0c8acb632ad101bc13f0d26bf (patch) | |
tree | 26341737f47621e415debdcac5d8e7920f57e0fb | |
parent | e1b921a4e3a9b8acd8d4e886145fd28d2b616397 (diff) |
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>
-rw-r--r-- | gnu/packages/cpp.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 1c458fe6af..d5750049ee 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -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") |