From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/tela-icon-theme/
Date: Sun, 2 Jan 2022 10:56:14 +0000 (UTC) [thread overview]
Message-ID: <1641120944.0c231445a4bc46635ee21cddf35d40e787b5f76e.gyakovlev@gentoo> (raw)
commit: 0c231445a4bc46635ee21cddf35d40e787b5f76e
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 2 04:16:54 2022 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Jan 2 10:55:44 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c231445
x11-themes/tela-icon-theme: make standard theme optional
seems it's not actually required for other variants to function
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
x11-themes/tela-icon-theme/metadata.xml | 1 +
x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild | 9 +++++----
x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild | 9 +++++----
3 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/x11-themes/tela-icon-theme/metadata.xml b/x11-themes/tela-icon-theme/metadata.xml
index 24627d1b17e7..8c12ddafbb0d 100644
--- a/x11-themes/tela-icon-theme/metadata.xml
+++ b/x11-themes/tela-icon-theme/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<stabilize-allarches/>
<use>
+ <flag name="standard">Install standard folder version</flag>
<flag name="black">Install black folder version</flag>
<flag name="blue">Install blue folder version</flag>
<flag name="brown">Install bworn folder version</flag>
diff --git a/x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild b/x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild
index 26d159c90dea..cb8d15b5cbfa 100644
--- a/x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild
+++ b/x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild
@@ -7,8 +7,8 @@ EAPI=8
MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"
MY_PN="${PN/t/T}"
-# standard is always installed
-MY_COLOR_VARIANTS=( black blue brown green grey orange pink purple red yellow manjaro ubuntu )
+# standard comes first
+MY_COLOR_VARIANTS=( standard black blue brown green grey orange pink purple red yellow manjaro ubuntu )
inherit xdg
@@ -26,7 +26,9 @@ fi
LICENSE="GPL-3+"
SLOT="0"
-IUSE="${MY_COLOR_VARIANTS[*]}"
+IUSE="${MY_COLOR_VARIANTS[*]/standard/+standard}"
+
+REQUIRED_USE="|| ( ${MY_COLOR_VARIANTS[*]} )"
BDEPEND="app-shells/bash"
@@ -38,7 +40,6 @@ src_prepare() {
src_install() {
local v variants=(
- standard
$(
for v in ${MY_COLOR_VARIANTS[@]}; do
usev ${v}
diff --git a/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild b/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild
index 26d159c90dea..cb8d15b5cbfa 100644
--- a/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild
+++ b/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild
@@ -7,8 +7,8 @@ EAPI=8
MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"
MY_PN="${PN/t/T}"
-# standard is always installed
-MY_COLOR_VARIANTS=( black blue brown green grey orange pink purple red yellow manjaro ubuntu )
+# standard comes first
+MY_COLOR_VARIANTS=( standard black blue brown green grey orange pink purple red yellow manjaro ubuntu )
inherit xdg
@@ -26,7 +26,9 @@ fi
LICENSE="GPL-3+"
SLOT="0"
-IUSE="${MY_COLOR_VARIANTS[*]}"
+IUSE="${MY_COLOR_VARIANTS[*]/standard/+standard}"
+
+REQUIRED_USE="|| ( ${MY_COLOR_VARIANTS[*]} )"
BDEPEND="app-shells/bash"
@@ -38,7 +40,6 @@ src_prepare() {
src_install() {
local v variants=(
- standard
$(
for v in ${MY_COLOR_VARIANTS[@]}; do
usev ${v}
next reply other threads:[~2022-01-02 10:56 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-02 10:56 Georgy Yakovlev [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-01-02 10:56 [gentoo-commits] repo/gentoo:master commit in: x11-themes/tela-icon-theme/ Georgy Yakovlev
2022-01-02 10:56 Georgy Yakovlev
2022-01-02 10:56 Georgy Yakovlev
2022-01-02 10:56 Georgy Yakovlev
2022-01-02 10:56 Georgy Yakovlev
2022-01-02 11:13 Georgy Yakovlev
2022-01-03 3:23 Georgy Yakovlev
2022-01-03 3:23 Georgy Yakovlev
2022-01-03 21:00 Georgy Yakovlev
2022-09-17 16:55 Georgy Yakovlev
2022-09-17 17:00 Georgy Yakovlev
2022-09-17 17:00 Georgy Yakovlev
2022-12-06 0:19 Georgy Yakovlev
2022-12-06 0:19 Georgy Yakovlev
2022-12-06 0:19 Georgy Yakovlev
2023-01-14 20:56 Georgy Yakovlev
2023-03-21 0:10 Georgy Yakovlev
2023-06-07 22:20 Georgy Yakovlev
2023-06-07 22:20 Georgy Yakovlev
2023-06-07 22:20 Georgy Yakovlev
2023-06-07 22:20 Georgy Yakovlev
2024-01-20 12:23 Sam James
2024-07-09 12:28 Joonas Niilola
2024-07-10 0:52 Sam James
2024-07-10 0:52 Sam James
2024-07-10 0:56 Sam James
2024-07-13 8:53 Joonas Niilola
2024-08-12 6:34 Joonas Niilola
2024-08-20 0:48 Eli Schwartz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1641120944.0c231445a4bc46635ee21cddf35d40e787b5f76e.gyakovlev@gentoo \
--to=gyakovlev@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox