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:
parent
fd6cd9de86
commit
7ddba7bf66
1 changed files with 11 additions and 6 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue