gnu: neverball: Add bash-minimal to inputs.

* gnu/packages/games.scm (neverball)
[inputs]: Add bash-minimal.
[arguments]: Deletions trailing #t.

Change-Id: I8e7a2cfea7cf17ff5319c08230e0fc7f4ab8fbeb
This commit is contained in:
Maxim Cournoyer 2023-10-20 00:52:27 -04:00 committed by Ludovic Courtès
parent b17cdf3c90
commit 593fcbbefa
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -72,7 +72,7 @@
;;; Copyright © 2022 Roman Riabenko <roman@riabenko.com> ;;; Copyright © 2022 Roman Riabenko <roman@riabenko.com>
;;; Copyright © 2022, 2023 zamfofex <zamfofex@twdb.moe> ;;; Copyright © 2022, 2023 zamfofex <zamfofex@twdb.moe>
;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared@gmail.com> ;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared@gmail.com>
;;; Copyright © 2022, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2022-2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Hendursaga <hendursaga@aol.com> ;;; Copyright © 2022 Hendursaga <hendursaga@aol.com>
;;; Copyright © 2022 Parnikkapore <poomklao@yahoo.com> ;;; Copyright © 2022 Parnikkapore <poomklao@yahoo.com>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
@ -10884,8 +10884,7 @@ (define-public neverball
(snippet (snippet
'(begin '(begin
;; Octocat seems to be non-free. Oddly, Debian doesn't strip it. ;; Octocat seems to be non-free. Oddly, Debian doesn't strip it.
(delete-file-recursively "data/ball/octocat") (delete-file-recursively "data/ball/octocat")))))
#t))))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
`(#:install-plan `(#:install-plan
@ -10950,20 +10949,19 @@ (define-public neverball
(string-append "LOCALEDIR=" out "/share/locale") (string-append "LOCALEDIR=" out "/share/locale")
(string-append "SDL_CPPFLAGS=-I" (string-append "SDL_CPPFLAGS=-I"
sdl sdl
"/include/SDL2/"))) "/include/SDL2/")))))
#t))
(add-after 'install 'fix-some-broken-fonts (add-after 'install 'fix-some-broken-fonts
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))) (let* ((out (assoc-ref outputs "out")))
(wrap-program (string-append out "/bin/neverball") (wrap-program (string-append out "/bin/neverball")
`("LANG" = ("en_US.utf8"))) `("LANG" = ("en_US.utf8")))
(wrap-program (string-append out "/bin/neverputt") (wrap-program (string-append out "/bin/neverputt")
`("LANG" = ("en_US.utf8")))) `("LANG" = ("en_US.utf8")))))))))
#t)))))
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal))) ;for msgfmt `(("gettext" ,gettext-minimal))) ;for msgfmt
(inputs (inputs
`(("libjpeg" ,libjpeg-turbo) `(("bash-minimal" ,bash-minimal)
("libjpeg" ,libjpeg-turbo)
("libpng" ,libpng) ("libpng" ,libpng)
("libvorbis" ,libvorbis) ("libvorbis" ,libvorbis)
("physfs" ,physfs) ("physfs" ,physfs)