summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSergey Trofimov <sarg@sarg.org.ru>2025-05-20 22:38:27 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2025-05-24 07:40:31 +0200
commit6a5c2ea5dc5b5445d0770bcd3a6b194ac9779245 (patch)
tree2eff4a09a1b255ef3351344ba382801e339e18ce /gnu
parent213d5a4db3dac8fb4a5c7e33432145759169081e (diff)
gnu: Add xjump-sdl.
* gnu/packages/games.scm (xjump-sdl): New variable. Change-Id: I4f4ac85849d50726c1f18bcf1d51e3b6725ba025 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/games.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 2b8b85fbfad..97bc34e5bee 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -11461,6 +11461,39 @@ can be downloaded from @url{https://zero.sjeng.org/best-network}.")
of the classic boardgame checkers (also known as draughts).")
(license license:gpl2+)))
+(define-public xjump-sdl
+ (package
+ (name "xjump-sdl")
+ (version "3.0.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hugomg/xjump-sdl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1macl4aq0zc93kbranzclqxh2jc40asn3bc8cpyywafzbxyha99y"))))
+ (build-system gnu-build-system)
+ (inputs (list sdl2))
+ (arguments
+ (list
+ #:tests? #f ;No tests.
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (invoke "./configure"
+ (string-append "--prefix="
+ (assoc-ref outputs "out"))
+ (string-append "CC="
+ #$(cc-for-target))))))))
+ (home-page "https://github.com/hugomg/xjump-sdl")
+ (synopsis "Falling tower game")
+ (description "This package provides a reimplementation of the classic
+Xjump game, using SDL instead of Xlib.")
+ (license license:gpl3)))
+
(define-public xmoto
(package
(name "xmoto")