eclass/desktop: Sync with Gentoo

It's from Gentoo commit 09bd9a6b88693fa010b3b8e05c661d6cdd289275.
This commit is contained in:
Flatcar Buildbot 2023-02-27 07:22:54 +00:00 committed by Krzesimir Nowak
parent d551ece732
commit ffca9d31bc

View File

@ -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 # Distributed under the terms of the GNU General Public License v2
# @ECLASS: desktop.eclass # @ECLASS: desktop.eclass
@ -311,7 +311,7 @@ _iconins() {
size=${2} size=${2}
fi fi
case ${size} in 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};; size=${size}x${size};;
symbolic|scalable) symbolic|scalable)
;; ;;
@ -369,7 +369,7 @@ _iconins() {
# !!! must specify to install into /usr/share/icons/... !!! # !!! must specify to install into /usr/share/icons/... !!!
# size of the icon, like 48 or 48x48 # size of the icon, like 48 or 48x48
# supported icon sizes are: # 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 # -c, --context
# defaults to "apps" # defaults to "apps"
# -t, --theme # -t, --theme