1 |
commit: 41285ab3feaab07f75ea8f79288cf894de130dd5 |
2 |
Author: Arsen Arsenović <arsen <AT> aarsen <DOT> me> |
3 |
AuthorDate: Wed Aug 31 18:16:10 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 31 18:54:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41285ab3 |
7 |
|
8 |
gui-apps/foot: add 1.13.1 |
9 |
|
10 |
Signed-off-by: Arsen Arsenović <arsen <AT> aarsen.me> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/27092 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
gui-apps/foot/Manifest | 1 + |
15 |
gui-apps/foot/foot-1.13.1.ebuild | 72 ++++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 73 insertions(+) |
17 |
|
18 |
diff --git a/gui-apps/foot/Manifest b/gui-apps/foot/Manifest |
19 |
index 8bc1b16f7a08..4b5c35a85225 100644 |
20 |
--- a/gui-apps/foot/Manifest |
21 |
+++ b/gui-apps/foot/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST foot-1.12.1.tar.gz 484702 BLAKE2B 5f3ed5923dfe2e3d110da298d4abefb331c15bb0f3db3135a4e8d481b528b3f8287fc5d8516e9d3a34b8084f6364edae93dee496d9192fe610d2c17733277451 SHA512 553f404b074f4372fb8cfb050f0378d1cbe1620ea8afe2e279523df3006eefd0b0ed24addca33de10cfc8109e5aaec66beccbd5f30e032bb9f2bd9b81ac798cb |
24 |
DIST foot-1.13.0.tar.gz 495396 BLAKE2B 9acad754d47754d6161fd4024b7f6a8336cd5e6faa1112bdf390c79ecbd52f74b187544667ca8517618f05324af76da66f0320e86e8b0e178a0f63c556992edf SHA512 ac7c8dc967c897f81f8eda8b0c5de17896015698ac266bc9ce898d3fdb41d0dd96762f28f433d8a31f768e0505e4c89151ef10484407f66865ea6322fa1b6705 |
25 |
+DIST foot-1.13.1.tar.gz 496955 BLAKE2B 48155439cd11123320908e67a968304903f96a550b62a3aa0c8d5e2053c3b6b2d49e4f4dcbe547b3296fbd05b19385d941ba668975ca3fb3a47a9627ef3d87f8 SHA512 f8b0e0d801452ecae914e2535041a65c105ea132a6841b659ac28ebfbfb06f06210466fe05553349a18c50227d7f21677298ff9692c3e9062df37b47aa40f3e1 |
26 |
|
27 |
diff --git a/gui-apps/foot/foot-1.13.1.ebuild b/gui-apps/foot/foot-1.13.1.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..d56767ce65b7 |
30 |
--- /dev/null |
31 |
+++ b/gui-apps/foot/foot-1.13.1.ebuild |
32 |
@@ -0,0 +1,72 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+inherit meson xdg systemd |
39 |
+ |
40 |
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator" |
41 |
+HOMEPAGE="https://codeberg.org/dnkl/foot" |
42 |
+SRC_URI="https://codeberg.org/dnkl/foot/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+S="${WORKDIR}/${PN}" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm64" |
48 |
+IUSE="+grapheme-clustering" |
49 |
+ |
50 |
+COMMON_DEPEND=" |
51 |
+ dev-libs/wayland |
52 |
+ media-libs/fcft |
53 |
+ media-libs/fontconfig |
54 |
+ x11-libs/libxkbcommon |
55 |
+ x11-libs/pixman |
56 |
+ grapheme-clustering? ( |
57 |
+ dev-libs/libutf8proc:= |
58 |
+ media-libs/fcft[harfbuzz] |
59 |
+ ) |
60 |
+" |
61 |
+DEPEND=" |
62 |
+ ${COMMON_DEPEND} |
63 |
+ dev-libs/tllist |
64 |
+ dev-libs/wayland-protocols |
65 |
+" |
66 |
+RDEPEND=" |
67 |
+ ${COMMON_DEPEND} |
68 |
+ || ( |
69 |
+ >=sys-libs/ncurses-6.3[-minimal] |
70 |
+ ~gui-apps/foot-terminfo-${PV} |
71 |
+ ) |
72 |
+" |
73 |
+BDEPEND=" |
74 |
+ app-text/scdoc |
75 |
+ dev-util/wayland-scanner |
76 |
+" |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ default |
80 |
+ # disable the systemd dep, we install the unit file manually |
81 |
+ sed -i "s/systemd', required: false)$/', required: false)/" "${S}"/meson.build || die |
82 |
+} |
83 |
+ |
84 |
+src_configure() { |
85 |
+ local emesonargs=( |
86 |
+ $(meson_feature grapheme-clustering) |
87 |
+ -Dthemes=true |
88 |
+ -Dime=true |
89 |
+ -Dterminfo=disabled |
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 |
+} |