gnu: warzone2100: Update to 3.2.1.
* gnu/packages/games.scm (warzone2100): Update to 3.2.1. [arguments]: Remove phase "set-sdl-paths", add phase "link-tests-with-qt", add phase "remove-reference-to-missing-file". [inputs]: Replace "qt-4" with "qt", replace "sdl-union" with "sdl2", add "openssl".
This commit is contained in:
parent
5c31e981bb
commit
c5d17d50d0
|
@ -2409,7 +2409,7 @@ capture it and get out alive?")
|
||||||
(define-public warzone2100
|
(define-public warzone2100
|
||||||
(package
|
(package
|
||||||
(name "warzone2100")
|
(name "warzone2100")
|
||||||
(version "3.1.5")
|
(version "3.2.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://sourceforge/" name
|
(uri (string-append "mirror://sourceforge/" name
|
||||||
|
@ -2417,15 +2417,21 @@ capture it and get out alive?")
|
||||||
".tar.xz"))
|
".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0hm49i2knvvg3wlnryv7h4m84s3qa7jfyym5yy6365sx8wzcrai1"))))
|
"1nd609s0g4sya3r4amhkz3f4dpdmm94vsd2ii76ap665a1nbfrhg"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
`(#:phases
|
||||||
(add-after 'set-paths 'set-sdl-paths
|
(modify-phases %standard-phases
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(add-after 'unpack 'link-tests-with-qt
|
||||||
(setenv "CPATH"
|
(lambda _
|
||||||
(string-append (assoc-ref inputs "sdl-union")
|
(substitute* "tests/Makefile.in"
|
||||||
"/include/SDL"))
|
(("(framework_linktest_LDADD|maptest_LDADD) = " prefix)
|
||||||
|
(string-append prefix "$(QT5_LIBS) ")))
|
||||||
|
#t))
|
||||||
|
(add-after 'unpack 'remove-reference-to-missing-file
|
||||||
|
(lambda _
|
||||||
|
(substitute* "icons/Makefile.in"
|
||||||
|
(("\\$\\(INSTALL_DATA\\) \\$\\(srcdir\\)/warzone2100.appdata.xml.*") ""))
|
||||||
#t)))))
|
#t)))))
|
||||||
(native-inputs `(("pkg-config" ,pkg-config)
|
(native-inputs `(("pkg-config" ,pkg-config)
|
||||||
("unzip" ,unzip)
|
("unzip" ,unzip)
|
||||||
|
@ -2439,9 +2445,10 @@ capture it and get out alive?")
|
||||||
("libxrandr" ,libxrandr)
|
("libxrandr" ,libxrandr)
|
||||||
("openal" ,openal)
|
("openal" ,openal)
|
||||||
("physfs" ,physfs)
|
("physfs" ,physfs)
|
||||||
("qt", qt-4)
|
("qt" ,qt)
|
||||||
|
("openssl" ,openssl)
|
||||||
("quesoglc" ,quesoglc)
|
("quesoglc" ,quesoglc)
|
||||||
("sdl-union" ,(sdl-union))))
|
("sdl2" ,sdl2)))
|
||||||
(home-page "http://wz2100.net")
|
(home-page "http://wz2100.net")
|
||||||
(synopsis "3D Real-time strategy and real-time tactics game")
|
(synopsis "3D Real-time strategy and real-time tactics game")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue