gnu: the-legend-of-edgar: Update to 1.31.
* gnu/packages/games.scm (the-legend-of-edgar): Update to 1.31. [inputs]: Use SDL 2 union. [arguments]: Adjust accordingly.
This commit is contained in:
parent
564df7e584
commit
067826abe3
|
@ -6485,7 +6485,7 @@ the desired spell.")
|
||||||
(define-public the-legend-of-edgar
|
(define-public the-legend-of-edgar
|
||||||
(package
|
(package
|
||||||
(name "the-legend-of-edgar")
|
(name "the-legend-of-edgar")
|
||||||
(version "1.30")
|
(version "1.31")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -6493,10 +6493,9 @@ the desired spell.")
|
||||||
(string-append "https://github.com/riksweeney/edgar/releases/download/"
|
(string-append "https://github.com/riksweeney/edgar/releases/download/"
|
||||||
version "/edgar-" version "-1.tar.gz"))
|
version "/edgar-" version "-1.tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0i4851ci8a86ql4bhdq3xdfmf4b9z5zrd4xpc6vhi06697zgm13i"))))
|
||||||
"0bhbs33dg0nb8wqlh6px1jj41j05f89ngdqwdkffabmjk7wq5isx"))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments '(#:tests? #f ; there are no tests
|
(arguments '(#:tests? #f ; there are no tests
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list "CC=gcc"
|
(list "CC=gcc"
|
||||||
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
|
@ -6506,14 +6505,13 @@ the desired spell.")
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(add-before 'build 'fix-env
|
(add-before 'build 'fix-env
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(setenv "CPATH" (string-append (assoc-ref inputs "sdl")
|
(setenv "CPATH"
|
||||||
"/include/SDL/"))
|
(string-append (assoc-ref inputs "sdl2-union")
|
||||||
|
"/include/SDL2"))
|
||||||
#t)))))
|
#t)))))
|
||||||
(inputs `(("sdl" ,sdl)
|
(inputs
|
||||||
("sdl-img" ,sdl-image)
|
`(("sdl2-union" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))
|
||||||
("sdl-mixer" ,sdl-mixer)
|
("zlib" ,zlib)))
|
||||||
("sdl-ttf" ,sdl-ttf)
|
|
||||||
("zlib" ,zlib)))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("autoconf" ,autoconf)
|
("autoconf" ,autoconf)
|
||||||
|
|
Loading…
Reference in New Issue