gnu: geocode-glib: Update to 3.26.0.

* gnu/packages/gnome.scm (geocode-glib): Update to 3.26.0.
[build-system]: Use meson-build-system.
[arguments]: Enable tests; add phase "set-locales".
[native-inputs]: Add glibc-locales, gettext-minimal, and gtk-doc.
This commit is contained in:
Ricardo Wurmus 2018-08-06 11:22:23 +02:00
parent 83232ba2c8
commit a7dd0c02cc
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 15 additions and 6 deletions

View File

@ -3029,7 +3029,7 @@ permission from user.")
(define-public geocode-glib
(package
(name "geocode-glib")
(version "3.20.1")
(version "3.26.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/geocode-glib/"
@ -3037,15 +3037,24 @@ permission from user.")
name "-" version ".tar.xz"))
(sha256
(base32
"18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
(build-system gnu-build-system)
"1vmydxs5xizcmaxpkfrq75xpj6pqrpdjizxyb30m00h54yqqch7a"))))
(build-system meson-build-system)
(arguments
`(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
;; work for the builder. Punt.
#:tests? #f))
`(#:phases
(modify-phases %standard-phases
;; The tests require a bunch of locales.
(add-before 'check 'set-locales
(lambda* (#:key inputs #:allow-other-keys)
(setenv "GUIX_LOCPATH"
(string-append (assoc-ref inputs "glibc-locales")
"/lib/locale"))
#t)))))
(native-inputs
`(("glib:bin" ,glib "bin") ; for glib-mkenums
("glibc-locales" ,glibc-locales) ; for tests
("gettext" ,gettext-minimal)
("gobject-introspection" ,gobject-introspection)
("gtk-doc" ,gtk-doc)
("pkg-config" ,pkg-config)
("json-glib" ,json-glib)))
(propagated-inputs