1 |
commit: 81775fd876214f7c2e421a5899cd657432e9c636 |
2 |
Author: Arsen Arsenović <arsen <AT> aarsen <DOT> me> |
3 |
AuthorDate: Thu Apr 28 10:25:42 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 10:25:42 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81775fd8 |
7 |
|
8 |
gui-apps/foot: bump to 1.12.1 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/25213 |
11 |
Signed-off-by: Arsen Arsenović <arsen <AT> aarsen.me> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
gui-apps/foot/Manifest | 1 + |
15 |
gui-apps/foot/foot-1.12.1.ebuild | 73 ++++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 74 insertions(+) |
17 |
|
18 |
diff --git a/gui-apps/foot/Manifest b/gui-apps/foot/Manifest |
19 |
index 67ee147f1c81..8554377e5bba 100644 |
20 |
--- a/gui-apps/foot/Manifest |
21 |
+++ b/gui-apps/foot/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST foot-1.11.0.tar.gz 468899 BLAKE2B f3e3909c670598dab151f8be4104921fddd6621e833a8fe43c68d06347e3e866101fe1563282622436638674b7f73770762d47a7b9fd61d42b00bc7634e2ea76 SHA512 edf8130dfb52e06b6d8638115eca19695b24536f3f6b284e0319876edb95c3c86800f9527cc9dae3f66d2d317d26add793634a19f302e52c9f0118b9b91fc9c2 |
24 |
+DIST foot-1.12.1.tar.gz 484702 BLAKE2B 5f3ed5923dfe2e3d110da298d4abefb331c15bb0f3db3135a4e8d481b528b3f8287fc5d8516e9d3a34b8084f6364edae93dee496d9192fe610d2c17733277451 SHA512 553f404b074f4372fb8cfb050f0378d1cbe1620ea8afe2e279523df3006eefd0b0ed24addca33de10cfc8109e5aaec66beccbd5f30e032bb9f2bd9b81ac798cb |
25 |
|
26 |
diff --git a/gui-apps/foot/foot-1.12.1.ebuild b/gui-apps/foot/foot-1.12.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..7960c0ac2e55 |
29 |
--- /dev/null |
30 |
+++ b/gui-apps/foot/foot-1.12.1.ebuild |
31 |
@@ -0,0 +1,73 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+inherit meson xdg systemd |
38 |
+ |
39 |
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator" |
40 |
+HOMEPAGE="https://codeberg.org/dnkl/foot" |
41 |
+SRC_URI="https://codeberg.org/dnkl/foot/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+S="${WORKDIR}/${PN}" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm64" |
47 |
+IUSE="+grapheme-clustering" |
48 |
+ |
49 |
+COMMON_DEPEND=" |
50 |
+ dev-libs/wayland |
51 |
+ media-libs/fcft |
52 |
+ media-libs/fontconfig |
53 |
+ x11-libs/libxkbcommon |
54 |
+ x11-libs/pixman |
55 |
+ grapheme-clustering? ( |
56 |
+ dev-libs/libutf8proc:= |
57 |
+ media-libs/fcft[harfbuzz] |
58 |
+ ) |
59 |
+" |
60 |
+DEPEND=" |
61 |
+ ${COMMON_DEPEND} |
62 |
+ dev-libs/tllist |
63 |
+ dev-libs/wayland-protocols |
64 |
+" |
65 |
+RDEPEND=" |
66 |
+ ${COMMON_DEPEND} |
67 |
+ || ( |
68 |
+ >=sys-libs/ncurses-6.3[-minimal] |
69 |
+ ~gui-apps/foot-terminfo-${PV} |
70 |
+ ) |
71 |
+" |
72 |
+BDEPEND=" |
73 |
+ app-text/scdoc |
74 |
+ dev-util/wayland-scanner |
75 |
+" |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ default |
79 |
+ # disable the systemd dep, we install the unit file manually |
80 |
+ sed -i "s/systemd', required: false)$/', required: false)/" "${S}"/meson.build || die |
81 |
+} |
82 |
+ |
83 |
+src_configure() { |
84 |
+ local emesonargs=( |
85 |
+ $(meson_feature grapheme-clustering) |
86 |
+ -Dthemes=true |
87 |
+ -Dime=true |
88 |
+ -Dterminfo=disabled |
89 |
+ -Dwerror=false |
90 |
+ ) |
91 |
+ meson_src_configure |
92 |
+ |
93 |
+ sed 's|@bindir@|/usr/bin|g' "${S}/"/foot-server@××××××××.in > foot-server@.service |
94 |
+} |
95 |
+ |
96 |
+src_install() { |
97 |
+ local DOCS=( CHANGELOG.md README.md LICENSE ) |
98 |
+ meson_src_install |
99 |
+ |
100 |
+ # foot unconditionally installs CHANGELOG.md, README.md and LICENSE. |
101 |
+ # we handle this via DOCS and dodoc instead. |
102 |
+ rm -r "${ED}/usr/share/doc/${PN}" || die |
103 |
+ systemd_douserunit foot-server@.service "${S}"/foot-server@.socket |
104 |
+} |