Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/tela-icon-theme/
Date: Mon, 03 Jan 2022 21:00:48
Message-Id: 1641243489.bcbf294166dbf6d7cc3bbdff360bc6fc2f8b1496.gyakovlev@gentoo
1 commit: bcbf294166dbf6d7cc3bbdff360bc6fc2f8b1496
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 3 20:44:30 2022 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 3 20:58:09 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcbf2941
7
8 x11-themes/tela-icon-theme: add USE=kde for live ebuild
9
10 Install colorshceme version for KDE plasma (folder color follow the colorscheme)
11
12 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
13
14 x11-themes/tela-icon-theme/metadata.xml | 1 +
15 x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild | 3 ++-
16 2 files changed, 3 insertions(+), 1 deletion(-)
17
18 diff --git a/x11-themes/tela-icon-theme/metadata.xml b/x11-themes/tela-icon-theme/metadata.xml
19 index aca9f0e9a88d..11f07ab3afc3 100644
20 --- a/x11-themes/tela-icon-theme/metadata.xml
21 +++ b/x11-themes/tela-icon-theme/metadata.xml
22 @@ -20,6 +20,7 @@
23 <flag name="yellow">Install yellow folder version</flag>
24 <flag name="manjaro">Install manjaro folder version</flag>
25 <flag name="ubuntu">Install ubuntu folder version</flag>
26 + <flag name="kde">Install colorshceme version for KDE plasma (folder color follow the colorscheme)</flag>
27 <flag name="hardlink">Hardlink duplicate icons to greatly reduce installation size</flag>
28 </use>
29 <upstream>
30
31 diff --git a/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild b/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild
32 index 4a7dbec99539..8396dac63033 100644
33 --- a/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild
34 +++ b/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild
35 @@ -26,7 +26,7 @@ fi
36
37 LICENSE="GPL-3+"
38 SLOT="0"
39 -IUSE="+${MY_COLOR_VARIANTS[*]} +hardlink" # this is why standard comes first
40 +IUSE="+${MY_COLOR_VARIANTS[*]} +hardlink kde" # this is why standard comes first
41
42 REQUIRED_USE="|| ( ${MY_COLOR_VARIANTS[*]} )"
43
44 @@ -47,6 +47,7 @@ src_prepare() {
45
46 src_install() {
47 local v variants=(
48 + $(usev kde '-c')
49 $(for v in ${MY_COLOR_VARIANTS[@]}; do
50 usev ${v}
51 done)