gnu: mygui: Don't use unstable tarball.
* gnu/packages/game-development.scm (mygui)[source]: Use GIT-FETCH and GIT-FILE-NAME. [arguments]: Disable Windows-specific demos and tools.
This commit is contained in:
parent
ce7a966295
commit
47f4d5d32f
|
@ -1037,13 +1037,14 @@ robust and compatible with many systems and operating systems.")
|
||||||
(version "3.2.2")
|
(version "3.2.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri
|
(uri (git-reference
|
||||||
(string-append "https://github.com/MyGUI/" name
|
(url "https://github.com/MyGUI/mygui")
|
||||||
"/archive/MyGUI" version ".tar.gz"))
|
(commit (string-append "MyGUI" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"13x7cydmj7gjmsg702sqjbfi53z265iv6j7binv3r6a7ibndfa0a"))))
|
"1wk7jmwm55rhlqqcyvqsxdmwvl70bysl9azh4kd9n57qlmgk3zmw"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ; No test target
|
'(#:tests? #f ; No test target
|
||||||
|
@ -1051,7 +1052,11 @@ robust and compatible with many systems and operating systems.")
|
||||||
(list "-DMYGUI_INSTALL_DOCS=TRUE"
|
(list "-DMYGUI_INSTALL_DOCS=TRUE"
|
||||||
(string-append "-DOGRE_INCLUDE_DIR="
|
(string-append "-DOGRE_INCLUDE_DIR="
|
||||||
(assoc-ref %build-inputs "ogre")
|
(assoc-ref %build-inputs "ogre")
|
||||||
"/include/OGRE"))))
|
"/include/OGRE")
|
||||||
|
;; Demos and tools are Windows-specific:
|
||||||
|
;; https://github.com/MyGUI/mygui/issues/24.
|
||||||
|
"-DMYGUI_BUILD_DEMOS=FALSE"
|
||||||
|
"-DMYGUI_BUILD_TOOLS=FALSE")))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("boost" ,boost)
|
`(("boost" ,boost)
|
||||||
("doxygen" ,doxygen)
|
("doxygen" ,doxygen)
|
||||||
|
|
Loading…
Reference in New Issue