summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2026-04-06 11:12:00 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2026-04-06 11:12:00 +0200
commit447d01035d1fbbd00305d1be06eafeebc4bdfd93 (patch)
treeae5c6cf7c8b0e4250415dd62b9c86e94b0bc841f
parent67af20238d87a14bdc76bc52d89052530b3fbaed (diff)
gnu: jumpnbump: Update to 1.70.
* gnu/packages/games.scm (jumpnbump): Update to 1.70. Modernize package. Change-Id: I1428e2bba8ce50e883e2d62b3fc2e39493e34314
-rw-r--r--gnu/packages/games.scm49
1 files changed, 18 insertions, 31 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 53521ab387f..92ab55df3c1 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -30,7 +30,7 @@
;;; Copyright © 2017, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
-;;; Copyright © 2017-2025 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2017-2026 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2018 okapi <okapi@firemail.cc>
;;; Copyright © 2018 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
;;; Copyright © 2018 Madalin Ionel-Patrascu <madalinionel.patrascu@mdc-berlin.de>
@@ -11355,46 +11355,33 @@ to remap axis and buttons and a way to calibrate joysticks.")
(define-public jumpnbump
(package
(name "jumpnbump")
- (version "1.61")
+ (version "1.70")
(source (origin
(method git-fetch)
(uri (git-reference
- (url "https://gitlab.com/LibreGames/jumpnbump.git")
- (commit version)))
+ (url "https://gitlab.com/LibreGames/jumpnbump.git")
+ (commit version)))
(file-name (git-file-name name version))
(sha256
(base32
- "12lwl5sl5n009nb83r8l4lakb9286csqdf1ynpmwwydy17giqsdp"))))
+ "1irpssijxrfrjm023v642dl3aw4ldlv95fh073jlpdpl1mwqz71a"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags
- (list "CC=gcc"
- (string-append "PREFIX=" (assoc-ref %outputs "out")))
- #:tests? #f ;no test
- #:phases
- (modify-phases %standard-phases
- ;; There is no configure script
- (replace 'configure
- (lambda _
- (substitute* "Makefile"
- (("-funroll-loops")
- "-funroll-loops -fcommon")
- (("SDL_CFLAGS =")
- "SDL_CFLAGS = -fcommon"))))
- (add-after 'unpack 'fix-sdl-path
- ;; XXX: For some reason, `sdl2-config' reports stand-alone SDL
- ;; directory, not SDL-union provided as an input to the package.
- ;; We force the latter with "--prefix=" option.
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "Makefile"
- (("sdl2-config" command)
- (string-append command " --prefix=" (assoc-ref inputs "sdl")))))))))
+ (list
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "PREFIX=" #$output)
+ "SYSINSTALL=1")
+ #:tests? #f ;no test
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)))) ;no configure script
(inputs
- `(("bzip2" ,bzip2)
- ("sdl" ,(sdl-union (list sdl2 sdl2-mixer sdl2-net)))
- ("zlib" ,zlib)))
+ (list bzip2
+ (sdl-union (list sdl2 sdl2-mixer sdl2-net))
+ zlib))
(native-inputs
- `(("gettext" ,gettext-minimal))) ;for msgfmt
+ (list gettext-minimal)) ;for msgfmt
(home-page "https://gitlab.com/LibreGames/jumpnbump")
(synopsis "Multiplayer platform game with bunnies")
(description "You, as a bunny, have to jump on your opponents to make them