1 |
commit: 3b2196b4c3b18210c2032ba2b368295ed85db78b |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 22 20:15:31 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 22 20:15:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b2196b4 |
7 |
|
8 |
x11-themes/fluent-icon-theme: bump to 2022.02.04 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
12 |
|
13 |
x11-themes/fluent-icon-theme/Manifest | 1 + |
14 |
.../fluent-icon-theme-2022.02.04.ebuild | 56 ++++++++++++++++++++++ |
15 |
2 files changed, 57 insertions(+) |
16 |
|
17 |
diff --git a/x11-themes/fluent-icon-theme/Manifest b/x11-themes/fluent-icon-theme/Manifest |
18 |
index 304b2ab8b645..2e64eb6365a7 100644 |
19 |
--- a/x11-themes/fluent-icon-theme/Manifest |
20 |
+++ b/x11-themes/fluent-icon-theme/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST fluent-icon-theme-2021.12.20.tar.gz 33924235 BLAKE2B 17f051f086858ceb9969a8cacf6bbd2a9efd2e19d98872866ec5d9ea40e0389f3f9ad451dd6ed449716108eee20ad34fff1b121b497b4323314868bb1fb4429e SHA512 fc5e131c90f9444c92d0305489350f590f29dd78f03dd090959db00a1415a0bd35998e25ed93213c176536fa31e780942593b5d5470e4aac6fe98eb066463fa8 |
23 |
+DIST fluent-icon-theme-2022.02.04.tar.gz 6742454 BLAKE2B 4795639edb540a2ab6e91f14e60e692e8d5826de6ab91d7a2db9a8386105887eff24d080541425b39ffddae4430d2967b168289c9e6444fe38a0e2135348314a SHA512 2da9e9ff1b75284228dd3d32009c302326504107d0e384977161e28cf95e4b0cb143cff94841712a549ea3f0e1cafe393392ec89f9827c12e64dde4bc8194ddf |
24 |
|
25 |
diff --git a/x11-themes/fluent-icon-theme/fluent-icon-theme-2022.02.04.ebuild b/x11-themes/fluent-icon-theme/fluent-icon-theme-2022.02.04.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..82a474b46799 |
28 |
--- /dev/null |
29 |
+++ b/x11-themes/fluent-icon-theme/fluent-icon-theme-2022.02.04.ebuild |
30 |
@@ -0,0 +1,56 @@ |
31 |
+# Copyright 2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+# ie. 2021.12.20 -> 2021-12-20 |
37 |
+MY_PV="${PV//./-}" |
38 |
+MY_PN="${PN^}" |
39 |
+ |
40 |
+inherit xdg |
41 |
+ |
42 |
+DESCRIPTION="Fluent icon theme for Linux desktops" |
43 |
+HOMEPAGE="https://github.com/vinceliuice/Fluent-icon-theme" |
44 |
+ |
45 |
+if [[ ${PV} == *9999* ]]; then |
46 |
+ inherit git-r3 |
47 |
+ EGIT_REPO_URI="https://github.com/vinceliuice/${MY_PN}.git" |
48 |
+else |
49 |
+ SRC_URI="https://github.com/vinceliuice/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ KEYWORDS="~amd64 ~x86" |
51 |
+ S="${WORKDIR}/${MY_PN}-${MY_PV}" |
52 |
+fi |
53 |
+ |
54 |
+LICENSE="GPL-3+" |
55 |
+SLOT="0" |
56 |
+IUSE="+black +hardlink round" |
57 |
+RESTRICT="binchecks strip test" |
58 |
+ |
59 |
+BDEPEND="sys-apps/util-linux[hardlink(-)?]" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ |
64 |
+ sed -i '/gtk-update-icon-cache/d' install.sh || die |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ dodir /usr/share/icons |
69 |
+ local myinstallopts=( |
70 |
+ --all |
71 |
+ --dest "${ED}/usr/share/icons" |
72 |
+ $(usev black '--black') |
73 |
+ $(usev round '--round') |
74 |
+ ) |
75 |
+ bash ./install.sh "${myinstallopts[@]}" || die "install script failed" |
76 |
+ |
77 |
+ if use hardlink; then |
78 |
+ einfo "Linking duplicate icons... (may take a long time)" |
79 |
+ hardlink -pot "${ED}/usr/share/icons" || die "hardlink failed" |
80 |
+ fi |
81 |
+ |
82 |
+ # installs broken symlink (by design, but we remove it due to QA warnings) |
83 |
+ find "${ED}" -xtype l -delete || die "removing broken symlinks failed" |
84 |
+ |
85 |
+ einstalldocs |
86 |
+} |