gnu: gnome-maps: Don't create icon cache.

* gnu/packages/geo.scm (gnome-maps)[arguments]: Add phase to skip
creating the gtk icon cache.
[native-inputs]: Remove gtk+:bin.
This commit is contained in:
Efraim Flashner 2019-11-06 09:20:47 +02:00
parent c4de60ac3c
commit b0a7c0c3e1
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -123,6 +123,12 @@ (define-public gnome-maps
`(#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "meson_post_install.py"
(("gtk-update-icon-cache") "true"))
#t))
(add-after 'install 'wrap
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
@ -152,8 +158,7 @@ (define-public gnome-maps
,geocode-glib-path)))
#t))))))
(native-inputs
`(("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
("gobject-introspection" ,gobject-introspection)
`(("gobject-introspection" ,gobject-introspection)
("intltool" ,intltool)
("pkg-config" ,pkg-config)))
(inputs