gnu: gnome-tweaks: Update to 40.0.

* gnu/packages/gnome.scm (gnome-tweaks): Update to 40.0.
[source]: Fix the URI.
[arguments]: Remove trailing #t.
[native-inputs]: Add glib@bin.
This commit is contained in:
Mathieu Othacehe 2021-09-26 20:27:08 +00:00
parent 061187f670
commit 6a3d2369eb
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -9710,17 +9710,17 @@ (define-public gnome-dictionary
(define-public gnome-tweaks
(package
(name "gnome-tweaks")
(version "3.34.1")
(version "40.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/gnome-tweaks/"
(version-major+minor version) "/"
(version-major version) "/"
"gnome-tweaks-" version ".tar.xz"))
(patches
(list (search-patch "gnome-tweaks-search-paths.patch")))
(sha256
(base32
"19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
"0sn3xsjhnini0f2dyi1ymrr3fb8mi7w5j5lsyw11rc5h67h3ypzr"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
@ -9734,8 +9734,7 @@ (define-public gnome-tweaks
;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "meson-postinstall.py"
(("gtk-update-icon-cache") "true"))
#t))
(("gtk-update-icon-cache") "true"))))
(add-after 'install 'wrap
(@@ (guix build python-build-system) wrap))
(add-after 'wrap 'wrap-gi-typelib
@ -9743,10 +9742,10 @@ (define-public gnome-tweaks
(let ((out (assoc-ref outputs "out"))
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
(wrap-program (string-append out "/bin/gnome-tweaks")
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
#t)))))
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))))))
(native-inputs
`(("intltool" ,intltool)
`(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
("intltool" ,intltool)
("pkg-config" ,pkg-config)))
(inputs
`(("gnome-desktop" ,gnome-desktop)