From e810ac4a0e6af9f763f4433863042b34609075a7 Mon Sep 17 00:00:00 2001
From: V3n3RiX <venerix@koprulu.sector>
Date: Wed, 10 Jul 2024 12:25:06 +0100
Subject: gentoo auto-resync : 10:07:2024 - 12:25:06

---
 x11-themes/Manifest.gz                             | Bin 20579 -> 20579 bytes
 x11-themes/tela-icon-theme/Manifest                |   8 +-
 x11-themes/tela-icon-theme/metadata.xml            |  11 ++-
 .../tela-icon-theme-20230625.ebuild                |   4 +-
 .../tela-icon-theme-20240419.ebuild                |  91 +++++++++++++++++++++
 .../tela-icon-theme-99999999.ebuild                |  91 +++++++++++++--------
 6 files changed, 162 insertions(+), 43 deletions(-)
 create mode 100644 x11-themes/tela-icon-theme/tela-icon-theme-20240419.ebuild

(limited to 'x11-themes')

diff --git a/x11-themes/Manifest.gz b/x11-themes/Manifest.gz
index fe73c91c8ac5..7728df93d3ad 100644
Binary files a/x11-themes/Manifest.gz and b/x11-themes/Manifest.gz differ
diff --git a/x11-themes/tela-icon-theme/Manifest b/x11-themes/tela-icon-theme/Manifest
index 9872daeb25a2..196b19eb821e 100644
--- a/x11-themes/tela-icon-theme/Manifest
+++ b/x11-themes/tela-icon-theme/Manifest
@@ -1,6 +1,8 @@
 DIST tela-icon-theme-20230203.tar.gz 3774147 BLAKE2B c0b04ec934ed68a7d6267be030af861cf9c2c24e8367baebbc56b788f4dbec56dda2679190f33c739a04ed9ca3088138a1f89624e9beebf715149fbef2478576 SHA512 28ad9e67394ffa65bd1fe6052e38dd324487be621670bff933f3bb2aeee9134e656f1f8faebb060d5d765b808e008d5fede3d62a51b9ddca1e8047c927f3bdd1
 DIST tela-icon-theme-20230625.tar.gz 3286109 BLAKE2B 65aa1b084b1bc63bdd15c484a4ab5588dc86996dd77d06bd727fdc3658517d1a9fc47c58eb73427267a767674f64a1ce92d14b796c97caa5849d5398c62fc5f0 SHA512 f5722c9fa5c9d0ccb01780eed0a6ce063954e85f5c708d2b998254f2978297b1a4cff52622d1e6b3feb667d4f99c3e31099e1c71fad182e35cbcfe1246f67279
+DIST tela-icon-theme-20240419.tar.gz 3495225 BLAKE2B c9c97e183b8f35576dc68a4d1243d944d8528420e4759080052fbfccc1246bd18d0c29b9665ce55764ebb3e7fddb1fb1c92a015a03f6f764183938b26b780088 SHA512 f3d714c73b0624970c5758fee9785f363650e0c064771713d9499aa219880918e6d48cb5ffb457179a8baedd5e9d799f427f0c08dab746ab9932f4d95fda794d
 EBUILD tela-icon-theme-20230203.ebuild 1800 BLAKE2B 9340f10de2d2bd765678ae1f40aff0f99aebcc885ea7a5894facc1a3898a527acda2e7361367cc68a8136956e0b7b1c3c3c511d4bd28c05121a80a854eada90d SHA512 09b11751563784fbb736832edf2835e2d341af7a1f35c23bbbd3004ca5e494a68540c3616d92f1ef3e867b389317c9e34d5d214a047cfd3807ab9d7cb7691ab3
-EBUILD tela-icon-theme-20230625.ebuild 1800 BLAKE2B 9340f10de2d2bd765678ae1f40aff0f99aebcc885ea7a5894facc1a3898a527acda2e7361367cc68a8136956e0b7b1c3c3c511d4bd28c05121a80a854eada90d SHA512 09b11751563784fbb736832edf2835e2d341af7a1f35c23bbbd3004ca5e494a68540c3616d92f1ef3e867b389317c9e34d5d214a047cfd3807ab9d7cb7691ab3
-EBUILD tela-icon-theme-99999999.ebuild 1800 BLAKE2B 9340f10de2d2bd765678ae1f40aff0f99aebcc885ea7a5894facc1a3898a527acda2e7361367cc68a8136956e0b7b1c3c3c511d4bd28c05121a80a854eada90d SHA512 09b11751563784fbb736832edf2835e2d341af7a1f35c23bbbd3004ca5e494a68540c3616d92f1ef3e867b389317c9e34d5d214a047cfd3807ab9d7cb7691ab3
-MISC metadata.xml 3117 BLAKE2B fb7eca5a06eb7e7c34e9c0265c1def7da39c407dbc136249b8c3c35f2a080e6f0539c31027a51ab733c26ac4212b6119d9734fe29b0b4764233b6f40e1947c17 SHA512 b9f27e7309b7fb51a7dc05ac7bc16678552ca289617a6ed58c0c4cb3ff1b7811679ed8b3271286b9cf0c454fcf0f897b0c9daf13f4b047008d2f86ab6f30863a
+EBUILD tela-icon-theme-20230625.ebuild 1797 BLAKE2B 52b303454d5f3d0ac47ed611fe9d7dd462ab809a2afc38900cfcd699c863788dc300819d841dd8a5f2279f47c8a6e6f334a298f6661720578ca44a7a38480aff SHA512 7588cbb0b5f173c039614898e1d8c1834d83dec6eeedb8d1d66e83e3baed782c26074181c761fbef032b5e7ea87aa68962c961fb04aad54b8d8f3d480fb58664
+EBUILD tela-icon-theme-20240419.ebuild 1771 BLAKE2B 67660ac671a70ec76f8418ae65d3b918c9b9ed019bde1666c7f10c011481c5def403ff4bc9ce47a72d17a933471c5abea9eb7eb565d0192106ddb750023ad945 SHA512 8bb961f1c87f50edbbbc7c7a5517fec5476a0e0ab200d92fede4e8e15bc40ed0710e3228ac464957e07f6365bd2c231abde94ba8b7fe0f2cc713776b6cf372e3
+EBUILD tela-icon-theme-99999999.ebuild 1771 BLAKE2B 67660ac671a70ec76f8418ae65d3b918c9b9ed019bde1666c7f10c011481c5def403ff4bc9ce47a72d17a933471c5abea9eb7eb565d0192106ddb750023ad945 SHA512 8bb961f1c87f50edbbbc7c7a5517fec5476a0e0ab200d92fede4e8e15bc40ed0710e3228ac464957e07f6365bd2c231abde94ba8b7fe0f2cc713776b6cf372e3
+MISC metadata.xml 3121 BLAKE2B 26a72b0947e18ba2a1fc5286d653563bcfc1bdb3fe614fbdcb62127612888e217aecd26e44e95845d8c8a623c8da4ab41b40744cf9f1f85d384e7b04c8845fd6 SHA512 2d05f66915468730971bc4a34975be564ef056d821dfab9cbe74968bbbc462b07e7b2a5fefbf8df5b493ebccb7a773c23006cba3e4d02012c32c9e42acdb4ae5
diff --git a/x11-themes/tela-icon-theme/metadata.xml b/x11-themes/tela-icon-theme/metadata.xml
index 329bbe558ccd..004a91be3f33 100644
--- a/x11-themes/tela-icon-theme/metadata.xml
+++ b/x11-themes/tela-icon-theme/metadata.xml
@@ -1,7 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<!-- maintainer-needed -->
+	<maintainer type="person" proxied="yes">
+		<email>beatussum@protonmail.com</email>
+		<name>Mattéo Rossillol‑‑Laruelle</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
 	<stabilize-allarches/>
 	<use>
 		<flag name="standard">Install standard folder version</flag>
@@ -19,7 +26,6 @@
 		<flag name="ubuntu">Install ubuntu folder version</flag>
 		<flag name="dracula">Install dracula folder version</flag>
 		<flag name="nord">Install nord folder version</flag>
-		<flag name="kde">Install dynamic color version for KDE plasma (folder color follows the colorscheme)</flag>
 		<flag name="hardlink">Hardlink duplicate icons to greatly reduce installation size</flag>
 	</use>
 	<use lang="fr">
@@ -38,7 +44,6 @@
 		<flag name="ubuntu">Installer la variante de couleur des dossiers spécifique à Ubuntu</flag>
 		<flag name="dracula">Installer la variante de couleur des dossiers spécifique à Dracula</flag>
 		<flag name="nord">Installer la variante de couleur des dossiers « nord »</flag>
-		<flag name="kde">Installer la variante de couleur dynamique pour KDE Plasma (la couleur des dossiers suit le thème de couleur)</flag>
 		<flag name="hardlink">Créer des liens durs pour les icônes doublons afin de grandement réduire la taille à l'installation</flag>
 	</use>
 	<upstream>
diff --git a/x11-themes/tela-icon-theme/tela-icon-theme-20230625.ebuild b/x11-themes/tela-icon-theme/tela-icon-theme-20230625.ebuild
index 3a0301169077..d62723e0f87d 100644
--- a/x11-themes/tela-icon-theme/tela-icon-theme-20230625.ebuild
+++ b/x11-themes/tela-icon-theme/tela-icon-theme-20230625.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -22,7 +22,7 @@ if [[ ${PV} == 99999999 ]]; then
 	EGIT_REPO_URI="https://github.com/vinceliuice/${MY_PN}.git"
 else
 	SRC_URI="https://github.com/vinceliuice/${MY_PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~arm64 ~ppc64"
+	KEYWORDS="amd64 arm64 ppc64"
 	S="${WORKDIR}/${MY_PN}-${MY_PV}"
 fi
 
diff --git a/x11-themes/tela-icon-theme/tela-icon-theme-20240419.ebuild b/x11-themes/tela-icon-theme/tela-icon-theme-20240419.ebuild
new file mode 100644
index 000000000000..d8088e9cffda
--- /dev/null
+++ b/x11-themes/tela-icon-theme/tela-icon-theme-20240419.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit check-reqs edo xdg
+
+MY_PN="${PN^}"
+MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" # eg. 20211225 -> 2021-12-25
+
+DESCRIPTION="A flat colorful Design icon theme"
+HOMEPAGE="https://github.com/vinceliuice/Tela-icon-theme"
+
+if [[ "${PV}" == 99999999 ]]; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/vinceliuice/Tela-icon-theme.git"
+else
+	SRC_URI="https://github.com/vinceliuice/Tela-icon-theme/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm64 ~ppc64"
+	S="${WORKDIR}/${MY_PN}-${MY_PV}"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="+hardlink kde minimal"
+RESTRICT="binchecks strip test"
+
+BDEPEND="
+	app-shells/bash
+	hardlink? ( sys-apps/util-linux[hardlink] )
+"
+
+DOCS=(
+	AUTHORS
+	README.md
+	tela-dark.png
+	tela-light.png
+)
+
+tela-icon-theme_check-reqs() {
+	if ! use minimal; then
+		if use hardlink; then
+			CHECKREQS_DISK_USR=1700M
+		else
+			CHECKREQS_DISK_USR=2600M
+		fi
+
+		check-reqs_${EBUILD_PHASE_FUNC}
+	fi
+}
+
+pkg_setup() {
+	tela-icon-theme_check-reqs
+}
+
+pkg_pretend() {
+	tela-icon-theme_check-reqs
+}
+
+src_prepare() {
+	default
+
+	# We use eclass for that.
+	sed -i "/gtk-update-icon-cache/d" install.sh || die
+}
+
+src_install() {
+	einstalldocs
+
+	dodir /usr/share/icons
+
+	local options=()
+
+	use kde && options+=( -c )
+
+	if use minimal; then
+		options+=( standard )
+	else
+		options+=( -a )
+	fi
+
+	edob ./install.sh -d "${ED}/usr/share/icons" "${options[@]}"
+
+	use hardlink && \
+		edob -m "Linking duplicate icons" hardlink -pot "${ED}/usr/share/icons"
+
+	# Installs broken symlinks (by design, but we remove it due to QA warnings).
+	# https://bugs.gentoo.org/830467
+	edob -m "Removing broken symlinks" find "${ED}" -xtype l -print -delete
+}
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 3a0301169077..d8088e9cffda 100644
--- a/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild
+++ b/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild
@@ -1,70 +1,91 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit edo
+inherit check-reqs edo xdg
 
-# eg. 20211225 -> 2021-12-25
-MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"
 MY_PN="${PN^}"
-
-# standard comes first
-MY_COLOR_VARIANTS=( standard black blue brown green grey orange pink purple red yellow manjaro ubuntu dracula nord )
-
-inherit xdg
+MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" # eg. 20211225 -> 2021-12-25
 
 DESCRIPTION="A flat colorful Design icon theme"
 HOMEPAGE="https://github.com/vinceliuice/Tela-icon-theme"
 
-if [[ ${PV} == 99999999 ]]; then
+if [[ "${PV}" == 99999999 ]]; then
 	inherit git-r3
-	EGIT_REPO_URI="https://github.com/vinceliuice/${MY_PN}.git"
+
+	EGIT_REPO_URI="https://github.com/vinceliuice/Tela-icon-theme.git"
 else
-	SRC_URI="https://github.com/vinceliuice/${MY_PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+	SRC_URI="https://github.com/vinceliuice/Tela-icon-theme/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~arm64 ~ppc64"
 	S="${WORKDIR}/${MY_PN}-${MY_PV}"
 fi
 
 LICENSE="GPL-3+"
 SLOT="0"
-IUSE="+${MY_COLOR_VARIANTS[*]} +hardlink kde" # this is why standard comes first
-
-REQUIRED_USE="|| ( ${MY_COLOR_VARIANTS[*]} )"
-
-# not needed and slows us down, package installs 120 000 small files
+IUSE="+hardlink kde minimal"
 RESTRICT="binchecks strip test"
 
-# technically we can use app-arch/hardlink too, but it's deprecated
 BDEPEND="
 	app-shells/bash
-	hardlink? ( sys-apps/util-linux[hardlink(-)?] )
+	hardlink? ( sys-apps/util-linux[hardlink] )
 "
 
+DOCS=(
+	AUTHORS
+	README.md
+	tela-dark.png
+	tela-light.png
+)
+
+tela-icon-theme_check-reqs() {
+	if ! use minimal; then
+		if use hardlink; then
+			CHECKREQS_DISK_USR=1700M
+		else
+			CHECKREQS_DISK_USR=2600M
+		fi
+
+		check-reqs_${EBUILD_PHASE_FUNC}
+	fi
+}
+
+pkg_setup() {
+	tela-icon-theme_check-reqs
+}
+
+pkg_pretend() {
+	tela-icon-theme_check-reqs
+}
+
 src_prepare() {
 	default
-	# we use eclass for that
-	sed -i '/gtk-update-icon-cache/d' install.sh || die
+
+	# We use eclass for that.
+	sed -i "/gtk-update-icon-cache/d" install.sh || die
 }
 
 src_install() {
-	local v variants=(
-		$(for v in ${MY_COLOR_VARIANTS[@]}; do
-			usev ${v}
-		done)
-		$(usev kde '-c')
-	)
+	einstalldocs
 
 	dodir /usr/share/icons
-	./install.sh -d "${ED}/usr/share/icons" "${variants[@]}" || die
-	if use hardlink; then
-		einfo "Linking duplicate icons... (may take a long time)"
-		hardlink -pot "${ED}/usr/share/icons" || die "hardlink failed"
+
+	local options=()
+
+	use kde && options+=( -c )
+
+	if use minimal; then
+		options+=( standard )
+	else
+		options+=( -a )
 	fi
 
-	# installs broken symlink (by design, but we remove it due to QA warnings)
-	# https://bugs.gentoo.org/830467
-	edob find "${ED}" -xtype l -print -delete
+	edob ./install.sh -d "${ED}/usr/share/icons" "${options[@]}"
 
-	einstalldocs
+	use hardlink && \
+		edob -m "Linking duplicate icons" hardlink -pot "${ED}/usr/share/icons"
+
+	# Installs broken symlinks (by design, but we remove it due to QA warnings).
+	# https://bugs.gentoo.org/830467
+	edob -m "Removing broken symlinks" find "${ED}" -xtype l -print -delete
 }
-- 
cgit v1.2.3