gnu: stellarium: Update to 0.16.0.
* gnu/packages/astronomy.scm (stellarium)[inputs]: Add qtlocation. [arguments]: Remove "patch-version-check" phase. Add "patch-tests" phase.
This commit is contained in:
parent
4d9d9e3fed
commit
b74e2f610a
|
@ -121,7 +121,7 @@ programs for the manipulation and analysis of astronomical data.")
|
||||||
(define-public stellarium
|
(define-public stellarium
|
||||||
(package
|
(package
|
||||||
(name "stellarium")
|
(name "stellarium")
|
||||||
(version "0.15.2")
|
(version "0.16.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://sourceforge/stellarium/"
|
(uri (string-append "mirror://sourceforge/stellarium/"
|
||||||
|
@ -129,10 +129,11 @@ programs for the manipulation and analysis of astronomical data.")
|
||||||
version "/stellarium-" version ".tar.gz"))
|
version "/stellarium-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"19nxj482g1hh9qicgskpcgy61pri254jgxnkd10icxbnza4c0hv9"))))
|
"1krxj51lix096xbz64lys166a8zdwhill5vvs7dlxdn14amc8d98"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("qtbase" ,qtbase)
|
`(("qtbase" ,qtbase)
|
||||||
|
("qtlocation" ,qtlocation)
|
||||||
("qtmultimedia" ,qtmultimedia)
|
("qtmultimedia" ,qtmultimedia)
|
||||||
("qtscript" ,qtscript)
|
("qtscript" ,qtscript)
|
||||||
("qtserialport" ,qtserialport)
|
("qtserialport" ,qtserialport)
|
||||||
|
@ -145,13 +146,10 @@ programs for the manipulation and analysis of astronomical data.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "tests"
|
`(#:test-target "tests"
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-version-check
|
(add-after 'unpack 'patch-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Previously-deprecated cmake variable vanished in
|
(substitute* "src/tests/testStelSphereGeometry.cpp"
|
||||||
;; Qt 5.9.
|
(("Vec3d v[(]0[)]") "Vec3d v(0.0)"))
|
||||||
;; See <https://bugreports.qt.io/browse/QTBUG-60936>.
|
|
||||||
(substitute* "CMakeLists.txt"
|
|
||||||
(("Qt5Core_VERSION_STRING") "Qt5Core_VERSION"))
|
|
||||||
#t))
|
#t))
|
||||||
(add-before 'check 'set-offscreen-display
|
(add-before 'check 'set-offscreen-display
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Loading…
Reference in New Issue