1 |
commit: 6afdbe3d276bee9f95257f7931619cca57849fe9 |
2 |
Author: Ryan Fox <flewkey <AT> 2a03 <DOT> party> |
3 |
AuthorDate: Wed Apr 14 22:31:11 2021 +0000 |
4 |
Commit: Ryan Fox <flewkey <AT> 2a03 <DOT> party> |
5 |
CommitDate: Wed Apr 14 22:37:42 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6afdbe3d |
7 |
|
8 |
gui-apps/foot: New package |
9 |
|
10 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
11 |
Signed-off-by: Ryan Fox <flewkey <AT> 2a03.party> |
12 |
|
13 |
gui-apps/foot/Manifest | 1 + |
14 |
gui-apps/foot/foot-1.7.1.ebuild | 61 +++++++++++++++++++++++++++++++++++++++++ |
15 |
gui-apps/foot/foot-9999.ebuild | 61 +++++++++++++++++++++++++++++++++++++++++ |
16 |
gui-apps/foot/metadata.xml | 11 ++++++++ |
17 |
4 files changed, 134 insertions(+) |
18 |
|
19 |
diff --git a/gui-apps/foot/Manifest b/gui-apps/foot/Manifest |
20 |
new file mode 100644 |
21 |
index 000000000..e135e988d |
22 |
--- /dev/null |
23 |
+++ b/gui-apps/foot/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST foot-1.7.1.tar.gz 390533 BLAKE2B 5eac8041ac5f46b71d8037550bcdd14899071e63fc4a9c6eabe2c44d336e3339e7dbf8b487ff79aa09a6f73378d1faca140fedbf864fdf641a0706c0b9c7912a SHA512 fa6961b24ef7929378c796a77547f509bc2ff319b3b546be8fad31dd02f2686771d2d4a0c72792746e004052fc032f180eb716cb45e2ebbf549859f1b7de7420 |
26 |
|
27 |
diff --git a/gui-apps/foot/foot-1.7.1.ebuild b/gui-apps/foot/foot-1.7.1.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000..82f13a5e6 |
30 |
--- /dev/null |
31 |
+++ b/gui-apps/foot/foot-1.7.1.ebuild |
32 |
@@ -0,0 +1,61 @@ |
33 |
+# Copyright 2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit meson xdg-utils |
39 |
+ |
40 |
+if [[ ${PV} != *9999* ]]; then |
41 |
+ SRC_URI="https://codeberg.org/dnkl/foot/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ KEYWORDS="~amd64" |
43 |
+ S="${WORKDIR}/${PN}" |
44 |
+else |
45 |
+ inherit git-r3 |
46 |
+ EGIT_REPO_URI="https://codeberg.org/dnkl/foot.git" |
47 |
+fi |
48 |
+ |
49 |
+DESCRIPTION="A fast, lightweight and minimalistic Wayland terminal emulator" |
50 |
+HOMEPAGE="https://codeberg.org/dnkl/foot" |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0" |
53 |
+IUSE="ime" |
54 |
+ |
55 |
+DEPEND=" |
56 |
+ dev-libs/wayland |
57 |
+ media-libs/fcft |
58 |
+ media-libs/fontconfig |
59 |
+ media-libs/freetype |
60 |
+ x11-libs/libxkbcommon |
61 |
+ x11-libs/pixman |
62 |
+" |
63 |
+RDEPEND=" |
64 |
+ ${DEPEND} |
65 |
+ gui-apps/foot-terminfo |
66 |
+" |
67 |
+BDEPEND=" |
68 |
+ app-text/scdoc |
69 |
+ dev-libs/tllist |
70 |
+ dev-libs/wayland-protocols |
71 |
+ sys-libs/ncurses |
72 |
+" |
73 |
+ |
74 |
+src_configure() { |
75 |
+ local emesonargs=( |
76 |
+ $(meson_use ime) |
77 |
+ "-Dterminfo=disabled" |
78 |
+ ) |
79 |
+ meson_src_configure |
80 |
+} |
81 |
+ |
82 |
+src_install() { |
83 |
+ meson_src_install |
84 |
+ mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" |
85 |
+} |
86 |
+ |
87 |
+pkg_postinst() { |
88 |
+ xdg_icon_cache_update |
89 |
+} |
90 |
+ |
91 |
+pkg_postrm() { |
92 |
+ xdg_icon_cache_update |
93 |
+} |
94 |
|
95 |
diff --git a/gui-apps/foot/foot-9999.ebuild b/gui-apps/foot/foot-9999.ebuild |
96 |
new file mode 100644 |
97 |
index 000000000..82f13a5e6 |
98 |
--- /dev/null |
99 |
+++ b/gui-apps/foot/foot-9999.ebuild |
100 |
@@ -0,0 +1,61 @@ |
101 |
+# Copyright 2021 Gentoo Authors |
102 |
+# Distributed under the terms of the GNU General Public License v2 |
103 |
+ |
104 |
+EAPI=7 |
105 |
+ |
106 |
+inherit meson xdg-utils |
107 |
+ |
108 |
+if [[ ${PV} != *9999* ]]; then |
109 |
+ SRC_URI="https://codeberg.org/dnkl/foot/archive/${PV}.tar.gz -> ${P}.tar.gz" |
110 |
+ KEYWORDS="~amd64" |
111 |
+ S="${WORKDIR}/${PN}" |
112 |
+else |
113 |
+ inherit git-r3 |
114 |
+ EGIT_REPO_URI="https://codeberg.org/dnkl/foot.git" |
115 |
+fi |
116 |
+ |
117 |
+DESCRIPTION="A fast, lightweight and minimalistic Wayland terminal emulator" |
118 |
+HOMEPAGE="https://codeberg.org/dnkl/foot" |
119 |
+LICENSE="MIT" |
120 |
+SLOT="0" |
121 |
+IUSE="ime" |
122 |
+ |
123 |
+DEPEND=" |
124 |
+ dev-libs/wayland |
125 |
+ media-libs/fcft |
126 |
+ media-libs/fontconfig |
127 |
+ media-libs/freetype |
128 |
+ x11-libs/libxkbcommon |
129 |
+ x11-libs/pixman |
130 |
+" |
131 |
+RDEPEND=" |
132 |
+ ${DEPEND} |
133 |
+ gui-apps/foot-terminfo |
134 |
+" |
135 |
+BDEPEND=" |
136 |
+ app-text/scdoc |
137 |
+ dev-libs/tllist |
138 |
+ dev-libs/wayland-protocols |
139 |
+ sys-libs/ncurses |
140 |
+" |
141 |
+ |
142 |
+src_configure() { |
143 |
+ local emesonargs=( |
144 |
+ $(meson_use ime) |
145 |
+ "-Dterminfo=disabled" |
146 |
+ ) |
147 |
+ meson_src_configure |
148 |
+} |
149 |
+ |
150 |
+src_install() { |
151 |
+ meson_src_install |
152 |
+ mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" |
153 |
+} |
154 |
+ |
155 |
+pkg_postinst() { |
156 |
+ xdg_icon_cache_update |
157 |
+} |
158 |
+ |
159 |
+pkg_postrm() { |
160 |
+ xdg_icon_cache_update |
161 |
+} |
162 |
|
163 |
diff --git a/gui-apps/foot/metadata.xml b/gui-apps/foot/metadata.xml |
164 |
new file mode 100644 |
165 |
index 000000000..387e7919d |
166 |
--- /dev/null |
167 |
+++ b/gui-apps/foot/metadata.xml |
168 |
@@ -0,0 +1,11 @@ |
169 |
+<?xml version="1.0" encoding="UTF-8"?> |
170 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
171 |
+<pkgmetadata> |
172 |
+ <maintainer type="person"> |
173 |
+ <email>flewkey@××××.party</email> |
174 |
+ <name>Ryan Fox</name> |
175 |
+ </maintainer> |
176 |
+ <use> |
177 |
+ <flag name="ime">Enable IME support</flag> |
178 |
+ </use> |
179 |
+</pkgmetadata> |