[PATCH] gnu: Add sdl3-gfx.

  • Open
  • quality assurance status badge
Details
One participant
  • Nguyễn Gia Phong
Owner
unassigned
Submitted by
Nguyễn Gia Phong
Severity
normal

Debbugs page

Nguyễn Gia Phong wrote 6 days ago
(address . guix-patches@gnu.org)(name . Nguyễn Gia Phong)(address . mcsinyx@disroot.org)
6d33714472355a69af1f32b60dcdd7f281c44d2f.1741224900.git.mcsinyx@disroot.org
* gnu/packages/sdl.scm (sdl3-gfx): New variable.

Change-Id: I4be1900c77367b327d22def198e5f58360efaf6e
---
is recommended by the maintainer of SDL{,2}_gfx:

gnu/packages/sdl.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 42fcf35d40fe..00a11d8d5b02 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -667,6 +667,31 @@ (define-public sdl2-gamecontrollerdb
mappings intended for the use with SDL2's game controller functionality.")
(license license:zlib))))
+(define-public sdl3-gfx
+ (package
+ (name "sdl3-gfx")
+ (version "1.0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sabdul-khabir/SDL3_gfx")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "18g9qavk0wh1bvfh6gdi5q75fd57dk0gp5r20c80x7xnp2ywywih"))))
+ (build-system cmake-build-system)
+ (arguments '(#:configure-flags '("-DBUILD_TESTS=ON")))
+ (propagated-inputs (list sdl3))
+ (home-page "https://github.com/sabdul-khabir/SDL3_gfx")
+ (synopsis "SDL3 graphics drawing primitives")
+ (description
+ "This package provides Graphics drawing primitives
+and other support functions wrapped up in an add-on, C-based library
+for the Simple Direct Media (SDL) cross-platform API layer.")
+ (license license:zlib)
+ (properties '((upstream-name . "SDL3_gfx")))))
+
(define-public guile-sdl
(package
(name "guile-sdl")

base-commit: 310adf4ce70cbb864859274fcc7842bd519bbddc
--
2.48.1
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 76766@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 76766
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help