commit:     d5ebeb2ebe76f9d560fe1e428d4ae5952610b52b
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 17 21:44:39 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Oct 17 21:51:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5ebeb2e

x11-themes/fluent-icon-theme: bump to 2025.08.21

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 x11-themes/fluent-icon-theme/Manifest              |  1 +
 .../fluent-icon-theme-2025.08.21.ebuild            | 60 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/x11-themes/fluent-icon-theme/Manifest 
b/x11-themes/fluent-icon-theme/Manifest
index b8d47040f6fc..5cd86e44ac9e 100644
--- a/x11-themes/fluent-icon-theme/Manifest
+++ b/x11-themes/fluent-icon-theme/Manifest
@@ -1,2 +1,3 @@
 DIST fluent-icon-theme-2024.02.25.tar.gz 6397963 BLAKE2B 
5f7d46c5dbabe3744fcb2d21869794d0883fe57d15ac88d928b35f2bd41ea201486a0cc7cdd9937d3f24bd2c169e9e4aa2afa4ebdc9bd7abcc7b9328472ab44e
 SHA512 
5a671360bf0d2b4e904d710b7cf72fde6580c4c1496a3fbcadf90a826e38936714dae511f35be3f2fdea370f602bcff4d1260dd0d230e6bcba6426f406247cec
 DIST fluent-icon-theme-2025.02.26.gh.tar.gz 6885510 BLAKE2B 
83f3f21af2ed5bd3790b0470645b41f559326cd0e5b9d45afea70983612d7639959c29884cb9de19319bdd0e117a1611c67d028fed3b7bb503164f17f62a77ce
 SHA512 
6a4923ba32ba8caf44079bb3111ec40c0bc5818c71c06a66517ccbf3e40214123c84fa770253cd586ba4b7ba645e26936a3799f29b27a5f565115869ab2f093c
+DIST fluent-icon-theme-2025.08.21.gh.tar.gz 6926044 BLAKE2B 
1cd89f26e8e0a89d776ba2007105bb5a6c9d3d1192812fa1660688b8be35a9d0bf056a040bc670a5541ca8618a7e91779e5322056de6962768e2d0d1019c9c4e
 SHA512 
a82c93528206826df6f1d54a2aad4adc34a4b3e848ecba7744dc34bb0611b20e08154cd6c81e399f036e2e0ac85a317fe1aff55bfed60d0593f9099abe682dfd

diff --git a/x11-themes/fluent-icon-theme/fluent-icon-theme-2025.08.21.ebuild 
b/x11-themes/fluent-icon-theme/fluent-icon-theme-2025.08.21.ebuild
new file mode 100644
index 000000000000..9f74ef27d047
--- /dev/null
+++ b/x11-themes/fluent-icon-theme/fluent-icon-theme-2025.08.21.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ie. 2021.12.20 -> 2021-12-20
+MY_PV="${PV//./-}"
+MY_PN="${PN^}"
+
+inherit xdg
+
+DESCRIPTION="Fluent icon theme for Linux desktops"
+HOMEPAGE="https://github.com/vinceliuice/Fluent-icon-theme/";
+
+if [[ "${PV}" == *9999* ]]; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/vinceliuice/${MY_PN}";
+else
+       SRC_URI="https://github.com/vinceliuice/${MY_PN}/archive/${MY_PV}.tar.gz
+               -> ${P}.gh.tar.gz"
+       S="${WORKDIR}/${MY_PN}-${MY_PV}"
+
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="+hardlink round"
+RESTRICT="binchecks strip test"
+
+BDEPEND="
+       sys-apps/util-linux[hardlink(-)?]
+"
+
+src_prepare() {
+       default
+
+       sed -i '/gtk-update-icon-cache/d' install.sh || die
+}
+
+src_install() {
+       dodir /usr/share/icons
+       local -a myinstallopts=(
+               --all
+               --dest "${ED}/usr/share/icons"
+               $(usev round '--round')
+       )
+       bash ./install.sh "${myinstallopts[@]}" || die "install script failed"
+
+       if use hardlink ; then
+               einfo "Linking duplicate icons... (may take a long time)"
+               hardlink -pot "${ED}/usr/share/icons" || die "hardlink failed"
+       fi
+
+       # Installs broken symlink. By design, but we remove it due to QA 
warnings.
+       find "${ED}" -xtype l -delete || die "removing broken symlinks failed"
+
+       einstalldocs
+}

Reply via email to