gnu: guile-chickadee: Update to 0.3.0.

* gnu/packages/game-development.scm (guile-chickadee): Update to 0.3.0.
[arguments]: Add 'patch-godir' phase.
This commit is contained in:
宋文武 2018-10-03 21:32:49 +08:00
parent d7d1fc8210
commit d1022d68c2
No known key found for this signature in database
GPG Key ID: 26525665AE727D37
1 changed files with 10 additions and 3 deletions

View File

@ -1256,17 +1256,24 @@ a 2D editor view.")
(define-public guile-chickadee (define-public guile-chickadee
(package (package
(name "guile-chickadee") (name "guile-chickadee")
(version "0.2.0") (version "0.3.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://files.dthompson.us/chickadee/" (uri (string-append "https://files.dthompson.us/chickadee/"
"chickadee-" version ".tar.gz")) "chickadee-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"10qx0ha5gsayybd186r1my7vc7rf5fbzp9jvmc4xg9a8wz8rqhah")))) "0jl223dybsj5gvs7z4q60gnafj1b7kgi5mx0kj58m5knrp8qwg5h"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:make-flags '("GUILE_AUTO_COMPILE=0"))) '(#:make-flags '("GUILE_AUTO_COMPILE=0")
#:phases
(modify-phases %standard-phases
(add-before 'configure 'patch-godir
(lambda _
;; Install compiled '.go' files into the site directory.
(substitute* "Makefile.in"
(("/ccache") "/site-ccache")))))))
(propagated-inputs (propagated-inputs
`(("guile-opengl" ,guile-opengl) `(("guile-opengl" ,guile-opengl)
("guile-sdl2" ,guile-sdl2))) ("guile-sdl2" ,guile-sdl2)))