mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 13:09:23 -05:00
gnu: pioneer: Update to 20190203.
* gnu/packages/games.scm (pioneer): Update to 20190203. [build-system]: Switch from gnu- to cmake-build-system. [native-inputs]: Remove autoconf and automake. [inputs]: Add glew. [arguments]: Adjust configure-flags for cmake. Remove phase modification.
This commit is contained in:
parent
88da011592
commit
ed3e7b7213
1 changed files with 9 additions and 17 deletions
|
@ -2,7 +2,7 @@
|
||||||
;;; Copyright © 2013 John Darrington <jmd@gnu.org>
|
;;; Copyright © 2013 John Darrington <jmd@gnu.org>
|
||||||
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
|
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
|
||||||
;;; Copyright © 2014, 2016 David Thompson <dthompson2@worcester.edu>
|
;;; Copyright © 2014, 2016 David Thompson <dthompson2@worcester.edu>
|
||||||
;;; Copyright © 2014, 2015, 2016, 2017, 2018 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com>
|
;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com>
|
||||||
;;; Copyright © 2014 Sylvain Beucler <beuc@beuc.net>
|
;;; Copyright © 2014 Sylvain Beucler <beuc@beuc.net>
|
||||||
;;; Copyright © 2014, 2015, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2014, 2015, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
|
||||||
|
@ -5514,7 +5514,7 @@ (define-public the-butterfly-effect
|
||||||
(define-public pioneer
|
(define-public pioneer
|
||||||
(package
|
(package
|
||||||
(name "pioneer")
|
(name "pioneer")
|
||||||
(version "20180203")
|
(version "20190203")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -5523,16 +5523,15 @@ (define-public pioneer
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0hp2mf36kj2v93hka8m8lxw2qhmnjc62wjlpw7c7ix0r8xa01i6h"))))
|
"1g34wvgyvz793dhm1k64kl82ib0cavkbg0f2p3fp05b457ycljff"))))
|
||||||
(build-system gnu-build-system)
|
(build-system cmake-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("autoconf" ,autoconf)
|
`(("pkg-config" ,pkg-config)))
|
||||||
("automake" ,automake)
|
|
||||||
("pkg-config" ,pkg-config)))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("assimp" ,assimp)
|
`(("assimp" ,assimp)
|
||||||
("curl" ,curl)
|
("curl" ,curl)
|
||||||
("freetype" ,freetype)
|
("freetype" ,freetype)
|
||||||
|
("glew" ,glew)
|
||||||
("glu" ,glu)
|
("glu" ,glu)
|
||||||
("libpng" ,libpng)
|
("libpng" ,libpng)
|
||||||
("libsigc++" ,libsigc++)
|
("libsigc++" ,libsigc++)
|
||||||
|
@ -5542,16 +5541,9 @@ (define-public pioneer
|
||||||
("sdl" ,(sdl-union (list sdl2 sdl2-image)))))
|
("sdl" ,(sdl-union (list sdl2 sdl2-image)))))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;tests are broken
|
`(#:tests? #f ;tests are broken
|
||||||
#:configure-flags (list "--with-external-liblua"
|
#:configure-flags (list "-DUSE_SYSTEM_LIBLUA:BOOL=YES"
|
||||||
(string-append "PIONEER_DATA_DIR="
|
(string-append "-DPIONEER_DATA_DIR="
|
||||||
%output "/share/games/pioneer"))
|
%output "/share/games/pioneer"))))
|
||||||
#:phases (modify-phases %standard-phases
|
|
||||||
(add-before 'bootstrap 'fix-lua-check
|
|
||||||
(lambda _
|
|
||||||
(substitute* "configure.ac"
|
|
||||||
(("lua5.2")
|
|
||||||
(string-append "lua-" ,(version-major+minor
|
|
||||||
(package-version lua-5.2))))))))))
|
|
||||||
(home-page "http://pioneerspacesim.net")
|
(home-page "http://pioneerspacesim.net")
|
||||||
(synopsis "Game of lonely space adventure")
|
(synopsis "Game of lonely space adventure")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue