diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-02-26 00:43:57 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-02-26 01:54:07 +0100 |
commit | 46251a7c864d8c338de28f24fe5064df49f0ec43 (patch) | |
tree | c8a912196213068dbb0bc3041a07ec3840cbe78c /x11-themes | |
parent | app-emacs/dockerfile-mode: fix SRC_URI (diff) | |
download | gentoo-46251a7c864d8c338de28f24fe5064df49f0ec43.tar.gz gentoo-46251a7c864d8c338de28f24fe5064df49f0ec43.tar.bz2 gentoo-46251a7c864d8c338de28f24fe5064df49f0ec43.zip |
x11-themes/fluent-icon-theme: bump to 2024.02.25
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/fluent-icon-theme/Manifest | 1 | ||||
-rw-r--r-- | x11-themes/fluent-icon-theme/fluent-icon-theme-2024.02.25.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/x11-themes/fluent-icon-theme/Manifest b/x11-themes/fluent-icon-theme/Manifest index 9f63d7db6f6c..e5d0c9d8705c 100644 --- a/x11-themes/fluent-icon-theme/Manifest +++ b/x11-themes/fluent-icon-theme/Manifest @@ -1 +1,2 @@ DIST fluent-icon-theme-2023.06.07.tar.gz 6213271 BLAKE2B f088caa2c54f73923bef12f8fd30a286fd6ab0829ca3d6c40aabd2ddb71d0c70c6718a69a7c7b6039d7e5506c313fbe8ea14bbf9252e5524d06fe6fce73ec664 SHA512 7e85613a58ce1fad4c8b0b31b81bfe9b226982ab8ede2413d87e89a12d78aeffef01f0a20fcaccfda6431a88e7798dc00a0a824a73f938e7daa48cb799588738 +DIST fluent-icon-theme-2024.02.25.tar.gz 6397963 BLAKE2B 5f7d46c5dbabe3744fcb2d21869794d0883fe57d15ac88d928b35f2bd41ea201486a0cc7cdd9937d3f24bd2c169e9e4aa2afa4ebdc9bd7abcc7b9328472ab44e SHA512 5a671360bf0d2b4e904d710b7cf72fde6580c4c1496a3fbcadf90a826e38936714dae511f35be3f2fdea370f602bcff4d1260dd0d230e6bcba6426f406247cec diff --git a/x11-themes/fluent-icon-theme/fluent-icon-theme-2024.02.25.ebuild b/x11-themes/fluent-icon-theme/fluent-icon-theme-2024.02.25.ebuild new file mode 100644 index 000000000000..710dd4f9c2a9 --- /dev/null +++ b/x11-themes/fluent-icon-theme/fluent-icon-theme-2024.02.25.ebuild @@ -0,0 +1,60 @@ +# Copyright 2022-2024 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}.git" +else + SRC_URI="https://github.com/vinceliuice/${MY_PN}/archive/${MY_PV}.tar.gz + -> ${P}.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 +} |