all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#59312] [PATCH] gnu: Add csfml.
@ 2022-11-16 16:35 Antero Mejr via Guix-patches via
  2022-12-04 21:30 ` bug#59312: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Antero Mejr via Guix-patches via @ 2022-11-16 16:35 UTC (permalink / raw)
  To: 59312; +Cc: Antero Mejr, liliana.prikler

* gnu/packages/game-development.scm (csfml): New variable.
---
 gnu/packages/game-development.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 90205a89ab..1252bfde26 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -735,6 +735,34 @@ (define-public sfml
 of five modules: system, window, graphics, audio and network.")
     (license license:zlib)))
 
+(define-public csfml
+  (package
+    (name "csfml")
+    (version "2.5.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/SFML/CSFML")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1wj1p798myyavld2xdhvvflb5h4nf1vgxxzs6nh5qad44vj9b3kb"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:configure-flags #~(list "-DCSFML_BUILD_DOC=TRUE")
+           #:tests? #f)) ;no tests
+    (native-inputs (list doxygen))
+    (inputs (list sfml))
+    (synopsis "C bindings for the SFML multimedia library")
+    (description
+     "CSFML is the official C binding to the SFML libraries.  SFML provides a
+simple interface to the various computer components, to ease the development of
+games and multimedia applications.  It is composed of five modules: system,
+window, graphics, audio and network.")
+    (home-page "https://www.sfml-dev.org/download/csfml/")
+    (license license:zlib)))
+
 (define-public sfxr
   (package
     (name "sfxr")
-- 
2.38.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#59312: [PATCH] gnu: Add csfml.
  2022-11-16 16:35 [bug#59312] [PATCH] gnu: Add csfml Antero Mejr via Guix-patches via
@ 2022-12-04 21:30 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-12-04 21:30 UTC (permalink / raw)
  To: Antero Mejr; +Cc: 59312-done, liliana.prikler

Hi,

Antero Mejr <antero@mailbox.org> skribis:

> * gnu/packages/game-development.scm (csfml): New variable.

Applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-04 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-16 16:35 [bug#59312] [PATCH] gnu: Add csfml Antero Mejr via Guix-patches via
2022-12-04 21:30 ` bug#59312: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.