gnu: gnome-control-center: Update to 3.34.2.

* gnu/packages/gnome.scm (gnome-control-center): Update to 3.34.2.
[arguments]: Add 'skip-gtk-update-icon-cache' phase.
[native-inputs]: Remove gtk+:bin.

(cherry picked from commit 093ab99e4f2d5b10ea604cfb469e47f19b187401)
This commit is contained in:
Kei Kebreau 2019-12-17 18:48:17 -05:00
parent 201547590d
commit c576328d77
No known key found for this signature in database
GPG key ID: E6A5EE3C19467A0D

View file

@ -6985,7 +6985,7 @@ (define-public gnome-bluetooth
(define-public gnome-control-center
(package
(name "gnome-control-center")
(version "3.32.2")
(version "3.34.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@ -6993,7 +6993,7 @@ (define-public gnome-control-center
name "-" version ".tar.xz"))
(sha256
(base32
"03np0mhfl9kkdw4cb711pda0cli9zgh2bq2gqn2zwbdi3qnhk9gs"))))
"054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
(build-system meson-build-system)
(arguments
'(#:glib-or-gtk? #t
@ -7034,10 +7034,15 @@ (define-public gnome-control-center
(("DATADIR \"/gnome/gnome-version.xml\"")
(string-append "\"" gnome-desktop
"/share/gnome/gnome-version.xml\"")))
#t))))))
#t)))
(add-after 'unpack 'skip-gtk-update-icon-cache
;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "build-aux/meson/meson_post_install.py"
(("gtk-update-icon-cache") (which "true")))
#t)))))
(native-inputs
`(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
("intltool" ,intltool)
("pkg-config" ,pkg-config)
("xsltproc" ,libxslt)