gnu: totem: Don't create icon cache.

* gnu/packages/gnome.scm (totem)[arguments]: Add phase to skip creating
the gtk icon cache.
[native-inputs]: Remove gtk+:bin.
This commit is contained in:
Efraim Flashner 2019-11-07 12:34:26 +02:00
parent 35407f948e
commit d51b19adab
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3947,7 +3947,6 @@ (define-public totem
("desktop-file-utils" ,desktop-file-utils)
("gobject-introspection" ,gobject-introspection)
("glib:bin" ,glib "bin") ;for 'glib-mkenums'
("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
("intltool" ,intltool)
("itstool" ,itstool)
("xmllint" ,libxml2)))
@ -4003,6 +4002,12 @@ (define-public totem
#: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-before
'install 'disable-cache-generation
(lambda _