Subject: [bug#73226] [PATCH v2] gnu: Add pantheon-icons

From: altadil <[email-masked]>
Date: Sat, 25 Jan 2025 13:41:15 +0000

* gnu/packages/pantheon.scm (pantheon-icons): New variable.

Change-Id: I6d90d0df364e34d4aad7da8c81cd414bcdf6212e
---
New patch to use latest version from upstream.
 gnu/packages/pantheon.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/pantheon.scm b/gnu/packages/pantheon.scm
index 9268aff292..796ecedd5a 100644
--- a/gnu/packages/pantheon.scm
+++ b/gnu/packages/pantheon.scm
@@ -196,6 +196,34 @@ (define-public pantheon-calendar
 elementary OS.")
     (license license:gpl3)))
 
+(define-public pantheon-icons
+  (package
+    (name "pantheon-icons")
+    (version "8.1.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/elementary/icons")
+               (commit version)))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32 "1yvjisvcjdpgibnc5l5cm16rw53zffinp1pvknlllz8wcdylqnss"))))
+    (build-system meson-build-system)
+    (arguments
+      (list #:configure-flags #~(list "-Dvolume_icons=false"
+                                      "-Dpalettes=false")))
+    (native-inputs (list gettext-minimal ;for msgfmt
+                         librsvg
+                         xcursorgen))
+    (propagated-inputs (list hicolor-icon-theme))
+    (synopsis "Named, vector icons for the pantheon desktop")
+    (description
+     "pantheon-icons is an original set of vector icons designed
+for elementary OS and its desktop environment: Pantheon.")
+    (home-page "https://elementary.io/open-source")
+    (license license:gpl3)))
+
 (define-public pantheon-photos
   (package
     (name "pantheon-photos")
-- 
2.47.1