From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1354574-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 7FE55158086
	for <garchives@archives.gentoo.org>; Sun,  2 Jan 2022 10:56:22 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 33AE22BC052;
	Sun,  2 Jan 2022 10:56:19 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 1AD822BC01B
	for <gentoo-commits@lists.gentoo.org>; Sun,  2 Jan 2022 10:56:18 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 38BF2342FAF
	for <gentoo-commits@lists.gentoo.org>; Sun,  2 Jan 2022 10:56:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C95B023E
	for <gentoo-commits@lists.gentoo.org>; Sun,  2 Jan 2022 10:56:14 +0000 (UTC)
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" <gyakovlev@gentoo.org>
Message-ID: <1641120944.0c231445a4bc46635ee21cddf35d40e787b5f76e.gyakovlev@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/tela-icon-theme/
X-VCS-Repository: repo/gentoo
X-VCS-Files: x11-themes/tela-icon-theme/metadata.xml x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild
X-VCS-Directories: x11-themes/tela-icon-theme/
X-VCS-Committer: gyakovlev
X-VCS-Committer-Name: Georgy Yakovlev
X-VCS-Revision: 0c231445a4bc46635ee21cddf35d40e787b5f76e
X-VCS-Branch: master
Date: Sun,  2 Jan 2022 10:56:14 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 8bf57fc6-3a75-40db-876f-52b520500ada
X-Archives-Hash: 578b5ca9f86a674107d1bbd3e8b95654

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}