gnu: stellarium: Update to 0.20.2.

* gnu/packages/astronomy.scm (stellarium): Update to 0.20.2.
This commit is contained in:
Tobias Geerinckx-Rice 2020-06-29 12:18:00 +02:00
parent 0dd2dc7923
commit 09fbfe147e
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -159,7 +159,7 @@ (define-public gnuastro
(define-public stellarium (define-public stellarium
(package (package
(name "stellarium") (name "stellarium")
(version "0.20.1") (version "0.20.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -167,7 +167,7 @@ (define-public stellarium
"/releases/download/v" version "/releases/download/v" version
"/stellarium-" version ".tar.gz")) "/stellarium-" version ".tar.gz"))
(sha256 (sha256
(base32 "034jkrdaaamvbrkfwi3qcl6h8hwfnw2nvf7a82faj55rskcpnkhm")))) (base32 "16symz212vjvhfabh39a68qf7d0rm574c6djlibj2qd1q9jgj3j0"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (inputs
`(("qtbase" ,qtbase) `(("qtbase" ,qtbase)
@ -178,7 +178,7 @@ (define-public stellarium
("zlib" ,zlib))) ("zlib" ,zlib)))
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) ; xgettext is used at compile time `(("gettext" ,gettext-minimal) ; xgettext is used at compile time
("perl" ,perl) ; For pod2man ("perl" ,perl) ; for pod2man
("qtbase" ,qtbase) ; Qt MOC is needed at compile time ("qtbase" ,qtbase) ; Qt MOC is needed at compile time
("qttools" ,qttools))) ("qttools" ,qttools)))
(arguments (arguments
@ -191,7 +191,7 @@ (define-public stellarium
#:phases (modify-phases %standard-phases #:phases (modify-phases %standard-phases
(add-before 'check 'set-offscreen-display (add-before 'check 'set-offscreen-display
(lambda _ (lambda _
;; make Qt render "offscreen", required for tests ;; Make Qt render "offscreen", required for tests.
(setenv "QT_QPA_PLATFORM" "offscreen") (setenv "QT_QPA_PLATFORM" "offscreen")
(setenv "HOME" "/tmp") (setenv "HOME" "/tmp")
#t))))) #t)))))