gnu: Stellarium: Update to 0.19.0.

* gnu/packages/astronomy.scm (stellarium): Update to 0.19.0.
[arguments]: Remove obsolete 'patch-tests' phase.
This commit is contained in:
Leo Famulari 2019-03-29 02:36:32 -04:00
parent 45aba232ab
commit 47131ebbc9
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -131,7 +131,7 @@ (define-public gnuastro
(define-public stellarium
(package
(name "stellarium")
(version "0.18.3")
(version "0.19.0")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/Stellarium/" name
@ -139,7 +139,7 @@ (define-public stellarium
"/" name "-" version ".tar.gz"))
(sha256
(base32
"1mm8rjcb8j56m3kfigpix5vxviw1616kvl9ws2s3s5gdyngljrc3"))))
"1mjjqcpgm5a1022x0mpqj3v6qkvpm9wqm1hqyg0mlypc5681va8a"))))
(build-system cmake-build-system)
(inputs
`(("qtbase" ,qtbase)
@ -161,13 +161,6 @@ (define-public stellarium
(assoc-ref %build-inputs "qtserialport")
"/include/qt5"))
#:phases (modify-phases %standard-phases
;; Skip a test that assumes Stellarium is "installed":
;; https://bugs.gentoo.org/674472
(add-after 'unpack 'patch-tests
(lambda _
(substitute* "src/tests/testEphemeris.cpp"
(("ifndef Q_OS_WIN") "if 0"))
#t))
(add-before 'check 'set-offscreen-display
(lambda _
;; make Qt render "offscreen", required for tests