gnu: gnome-maps: Update to 43.0.

* gnu/packages/geo.scm (gnome-maps): Update to 43.0.
[arguments]<#:meson>: Use meson-0.63.
<#:phases>: Replace ‘skip-gtk-update-icon-cache’ with
‘skip-cache-and-database-updates’.  Update accordingly.
This commit is contained in:
Liliana Marie Prikler 2022-10-05 21:44:00 +02:00
parent fd6cd9de86
commit 7ddba7bf66
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -255,7 +255,7 @@ (define-public geos
(define-public gnome-maps
(package
(name "gnome-maps")
(version "43.rc") ;for libsoup 3 support
(version "43.0") ;for libsoup 3 support
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@ -263,18 +263,23 @@ (define-public gnome-maps
name "-" version ".tar.xz"))
(sha256
(base32
"16a3j896fwxgnvrmx27jnrvhxzh3v22paaq87ad57yp8wkq946il"))))
"1r1l6ajs6zz316m8zac5r0l3qgdv616xh376bfn2fflcnz7wys08"))))
(build-system meson-build-system)
(arguments
(list
#:glib-or-gtk? #t
#:meson meson-0.63
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
;; Don't create 'icon-theme.cache'.
(add-after 'unpack 'skip-cache-and-database-updates
(lambda _
(substitute* "meson_post_install.py"
(("gtk-update-icon-cache") "true"))))
(substitute* "meson.build"
(("([a-z_]*): true" all option)
(cond ; cond rather than match saves an import
((member option '("gtk_update_icon_cache"
"update_desktop_database"))
(string-append option ": false"))
(else all))))))
(add-after 'unpack 'patch-dbus-service
(lambda _
(substitute* "data/org.gnome.Maps.service.in"