mothacehe pushed a commit to branch wip-gnome40
in repository guix.
commit f387e1ebeb7bc41c38bec957c5582bd07b8e8c46
Author: Mathieu Othacehe <[email protected]>
AuthorDate: Sun Sep 26 20:27:08 2021 +0000
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.
---
gnu/packages/gnome.scm | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 6da46fd..9672374 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9718,17 +9718,17 @@ existing databases over the internet.")
(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
@@ -9742,8 +9742,7 @@ existing databases over the internet.")
;; 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
@@ -9751,10 +9750,10 @@ existing databases over the internet.")
(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)