gnu: guile-sdl2: Update to 0.3.0.
* gnu/packages/sdl.scm (guile-sdl2): Update to 0.3.0. [arguments]: Remove "patch-makefile" phase.
This commit is contained in:
parent
d804d0b9ef
commit
22305f859b
|
@ -484,7 +484,7 @@ sound and device input (keyboards, joysticks, mice, etc.).")
|
||||||
(define-public guile-sdl2
|
(define-public guile-sdl2
|
||||||
(package
|
(package
|
||||||
(name "guile-sdl2")
|
(name "guile-sdl2")
|
||||||
(version "0.2.0")
|
(version "0.3.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
|
@ -492,7 +492,7 @@ sound and device input (keyboards, joysticks, mice, etc.).")
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0yq9lsl17cdvj77padvpk3jcw2g6g0pck9jrchc7n2767rrc012b"))))
|
"0iq6fw213qw292fxhrsg40al7hqyqyh4qpgl0x9rh08y949h2w97"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:make-flags '("GUILE_AUTO_COMPILE=0")
|
'(#:make-flags '("GUILE_AUTO_COMPILE=0")
|
||||||
|
@ -504,16 +504,7 @@ sound and device input (keyboards, joysticks, mice, etc.).")
|
||||||
(string-append "--with-libsdl2-ttf-prefix="
|
(string-append "--with-libsdl2-ttf-prefix="
|
||||||
(assoc-ref %build-inputs "sdl2-ttf"))
|
(assoc-ref %build-inputs "sdl2-ttf"))
|
||||||
(string-append "--with-libsdl2-mixer-prefix="
|
(string-append "--with-libsdl2-mixer-prefix="
|
||||||
(assoc-ref %build-inputs "sdl2-mixer")))
|
(assoc-ref %build-inputs "sdl2-mixer")))))
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'configure 'patch-makefile
|
|
||||||
(lambda _
|
|
||||||
;; Install compiled Guile files in the expected place.
|
|
||||||
(substitute* '("Makefile")
|
|
||||||
(("^godir = .*$")
|
|
||||||
"godir = $(moddir)\n"))
|
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("guile" ,guile-2.2)
|
`(("guile" ,guile-2.2)
|
||||||
("pkg-config" ,pkg-config)))
|
("pkg-config" ,pkg-config)))
|
||||||
|
|
Loading…
Reference in New Issue