Subject: [PATCH gnome-team 24/59] gnu: adwaita-icon-theme: Update to 46.2.

From: Liliana Marie Prikler <[email-masked]>
Date: Thu, 9 Jan 2025 22:38:05 +0100

* gnu/packages/gnome.scm (adwaita-icon-theme): Update to 46.2.
[build-system]: Use meson-build-system.
[arguments]: Remove #:make-flags.  Add #:phases.
[native-inputs]: Drop field.
---
 gnu/packages/gnome.scm | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 9a3c765961..3c6e57c9ae 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2962,7 +2962,7 @@ (define-public icon-naming-utils
 (define-public adwaita-icon-theme
   (package
     (name "adwaita-icon-theme")
-    (version "44.0")
+    (version "46.2")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnome/sources/" name "/"
@@ -2970,18 +2970,15 @@ (define-public adwaita-icon-theme
                                   name "-" version ".tar.xz"))
               (sha256
                (base32
-                "0k3638gkdpjcr9pbsmpfj7vdqdm9s04j4d5sh1fx5v5z3dhcb2a8"))))
-    (build-system gnu-build-system)
+                "1jxmjq7jvbkf6rv01y2vjx2g8iic7gkxa6085rvblfck8awjdcdy"))))
+    (build-system meson-build-system)
     (arguments
-     (list #:make-flags
-           ;; Don't create 'icon-theme.cache'.
-           #~(list "GTK_UPDATE_ICON_CACHE=")))
-    (native-inputs
-     ;; The following requires the SVG pixbuf loader, provided by librsvg,
-     ;; available on x86_64 only.
-     `(,@(if (target-64bit?)
-             `((,gtk+ "bin"))             ;for gtk-encode-symbolic-svg
-             '())))
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'patch-meson
+                 ;; Don't create 'icon-theme.cache'.
+                 (lambda _ (substitute* "meson.build"
+                        (("gtk4?-update-icon-cache") "true")))))))
     (home-page "https://gitlab.gnome.org/GNOME/adwaita-icon-theme")
     (synopsis "GNOME icon theme")
     (description "Icons for the GNOME desktop.")
-- 
2.47.1