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:
parent
83232ba2c8
commit
a7dd0c02cc
1 changed files with 15 additions and 6 deletions
|
@ -3029,7 +3029,7 @@ permission from user.")
|
||||||
(define-public geocode-glib
|
(define-public geocode-glib
|
||||||
(package
|
(package
|
||||||
(name "geocode-glib")
|
(name "geocode-glib")
|
||||||
(version "3.20.1")
|
(version "3.26.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnome/sources/geocode-glib/"
|
(uri (string-append "mirror://gnome/sources/geocode-glib/"
|
||||||
|
@ -3037,15 +3037,24 @@ permission from user.")
|
||||||
name "-" version ".tar.xz"))
|
name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
|
"1vmydxs5xizcmaxpkfrq75xpj6pqrpdjizxyb30m00h54yqqch7a"))))
|
||||||
(build-system gnu-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
|
`(#:phases
|
||||||
;; work for the builder. Punt.
|
(modify-phases %standard-phases
|
||||||
#:tests? #f))
|
;; 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
|
(native-inputs
|
||||||
`(("glib:bin" ,glib "bin") ; for glib-mkenums
|
`(("glib:bin" ,glib "bin") ; for glib-mkenums
|
||||||
|
("glibc-locales" ,glibc-locales) ; for tests
|
||||||
|
("gettext" ,gettext-minimal)
|
||||||
("gobject-introspection" ,gobject-introspection)
|
("gobject-introspection" ,gobject-introspection)
|
||||||
|
("gtk-doc" ,gtk-doc)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("json-glib" ,json-glib)))
|
("json-glib" ,json-glib)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Reference in a new issue