commit: ab01d8827dfa539d9e3cd3f939182fd31c6d92ca
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 10 13:05:23 2025 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Feb 10 15:42:13 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab01d882
x11-themes/fluent-icon-theme: bump to 2025.02.10
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
x11-themes/fluent-icon-theme/Manifest | 1 +
.../fluent-icon-theme-2025.02.10.ebuild | 60 ++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/x11-themes/fluent-icon-theme/Manifest
b/x11-themes/fluent-icon-theme/Manifest
index 069821218a78..0abf13c362d0 100644
--- a/x11-themes/fluent-icon-theme/Manifest
+++ b/x11-themes/fluent-icon-theme/Manifest
@@ -1 +1,2 @@
DIST fluent-icon-theme-2024.02.25.tar.gz 6397963 BLAKE2B
5f7d46c5dbabe3744fcb2d21869794d0883fe57d15ac88d928b35f2bd41ea201486a0cc7cdd9937d3f24bd2c169e9e4aa2afa4ebdc9bd7abcc7b9328472ab44e
SHA512
5a671360bf0d2b4e904d710b7cf72fde6580c4c1496a3fbcadf90a826e38936714dae511f35be3f2fdea370f602bcff4d1260dd0d230e6bcba6426f406247cec
+DIST fluent-icon-theme-2025.02.10.gh.tar.gz 6856949 BLAKE2B
e741968ef02e34f88699a4af8c28f0f432765630ddcd6cb06a652b386eab3ade8aea2290c68eef733759d644e22282f5f7a052e4bf3767caad52a9ca28f622da
SHA512
274eb4b751cc6bcdfd47dbfe4648054b30a822802b7e6af953c303a4a76872f84aa25133c637dcdd4b81dfcdd7d3e6f05df1a45a4735bf7396629fe43202a75c
diff --git a/x11-themes/fluent-icon-theme/fluent-icon-theme-2025.02.10.ebuild
b/x11-themes/fluent-icon-theme/fluent-icon-theme-2025.02.10.ebuild
new file mode 100644
index 000000000000..9f74ef27d047
--- /dev/null
+++ b/x11-themes/fluent-icon-theme/fluent-icon-theme-2025.02.10.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
+}