Archived
1
0
Fork 0

gnu: scummvm: Update to 2.5.1.

* gnu/packages/emulators.scm (scummvm): Update to 2.5.1.
[arguments]<#:phases>: Use SEARCH-INPUT-FILE instead of WHICH.
[inputs]: Remove labels.
This commit is contained in:
Nicolas Goaziou 2021-12-26 23:34:22 +01:00
parent d7ad688258
commit bb59fec235
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1492,14 +1492,14 @@ multi-system game/emulator system.")
(define-public scummvm (define-public scummvm
(package (package
(name "scummvm") (name "scummvm")
(version "2.5.0") (version "2.5.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://downloads.scummvm.org/frs/scummvm/" version (uri (string-append "https://downloads.scummvm.org/frs/scummvm/" version
"/scummvm-" version ".tar.xz")) "/scummvm-" version ".tar.xz"))
(sha256 (sha256
(base32 "08ynw1cmld41p4bwrw84gb1nv229va70i91qiqsjr3c2jnqy8zml")))) (base32 "00az0dm85kh8rq0yqj74x0c5zrq4ybvwvnilijzl8qa5whwdpn4z"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ;require "git" `(#:tests? #f ;require "git"
@ -1509,9 +1509,9 @@ multi-system game/emulator system.")
(replace 'configure (replace 'configure
;; configure does not work followed by both "SHELL=..." and ;; configure does not work followed by both "SHELL=..." and
;; "CONFIG_SHELL=..."; set environment variables instead ;; "CONFIG_SHELL=..."; set environment variables instead
(lambda* (#:key outputs configure-flags #:allow-other-keys) (lambda* (#:key inputs outputs configure-flags #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(bash (which "bash")) (bash (search-input-file inputs "/bin/bash"))
(flags `(,(string-append "--prefix=" out) (flags `(,(string-append "--prefix=" out)
,@configure-flags))) ,@configure-flags)))
(setenv "SHELL" bash) (setenv "SHELL" bash)
@ -1520,24 +1520,24 @@ multi-system game/emulator system.")
(native-inputs (native-inputs
(list nasm pkg-config)) (list nasm pkg-config))
(inputs (inputs
`(("alsa-lib" ,alsa-lib) (list alsa-lib
("faad2" ,faad2) faad2
("fluidsynth" ,fluidsynth) fluidsynth
("freetype" ,freetype) freetype
("fribidi" ,fribidi) fribidi
("glew" ,glew) glew
("giflib" ,giflib) giflib
("liba52" ,liba52) liba52
("libflac" ,flac) flac
("libjpeg-turbo" ,libjpeg-turbo) libjpeg-turbo
("libmad" ,libmad) libmad
("libmpeg2" ,libmpeg2) libmpeg2
("libogg" ,libogg) libogg
("libpng" ,libpng) libpng
("libtheora" ,libtheora) libtheora
("libvorbis" ,libvorbis) libvorbis
("sdl2" ,(sdl-union (list sdl2 sdl2-net))) (sdl-union (list sdl2 sdl2-net))
("zlib" ,zlib))) zlib))
(home-page "https://www.scummvm.org/") (home-page "https://www.scummvm.org/")
(synopsis "Engine for several graphical adventure games") (synopsis "Engine for several graphical adventure games")
(description "ScummVM is a program which allows you to run certain (description "ScummVM is a program which allows you to run certain