commit:     09bd9a6b88693fa010b3b8e05c661d6cdd289275
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 23 13:35:11 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 13:36:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09bd9a6b

desktop.eclass: allow 1024 as a size for icons

1024x1024 icons are starting to be deployed in some apps as they start to be
used in MacOSX environment.
https://archives.gentoo.org/gentoo-dev/message/6c01a956d37fd22553bd10a4a03f31ed

Closes: https://bugs.gentoo.org/888635
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 eclass/desktop.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/desktop.eclass b/eclass/desktop.eclass
index aa1b9ac68d85..780971342ba1 100644
--- a/eclass/desktop.eclass
+++ b/eclass/desktop.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: desktop.eclass
@@ -311,7 +311,7 @@ _iconins() {
                                size=${2}
                        fi
                        case ${size} in
-                       16|22|24|32|36|48|64|72|96|128|192|256|512)
+                       16|22|24|32|36|48|64|72|96|128|192|256|512|1024)
                                size=${size}x${size};;
                        symbolic|scalable)
                                ;;
@@ -369,7 +369,7 @@ _iconins() {
 #    !!! must specify to install into /usr/share/icons/... !!!
 #    size of the icon, like 48 or 48x48
 #    supported icon sizes are:
-#    16 22 24 32 36 48 64 72 96 128 192 256 512 scalable
+#    16 22 24 32 36 48 64 72 96 128 192 256 512 1024 scalable
 #  -c, --context
 #    defaults to "apps"
 #  -t, --theme

Reply via email to