summaryrefslogtreecommitdiff
path: root/gui-apps/foot
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /gui-apps/foot
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'gui-apps/foot')
-rw-r--r--gui-apps/foot/Manifest27
-rw-r--r--gui-apps/foot/files/foot.initd14
-rw-r--r--gui-apps/foot/foot-1.16.2.ebuild74
-rw-r--r--gui-apps/foot/foot-1.17.0.ebuild75
-rw-r--r--gui-apps/foot/foot-1.17.1.ebuild75
-rw-r--r--gui-apps/foot/foot-1.17.2.ebuild75
-rw-r--r--gui-apps/foot/foot-1.18.0.ebuild75
-rw-r--r--gui-apps/foot/foot-1.18.1.ebuild75
-rw-r--r--gui-apps/foot/foot-1.19.0.ebuild84
-rw-r--r--gui-apps/foot/foot-1.20.0.ebuild79
-rw-r--r--gui-apps/foot/foot-1.20.1-r1.ebuild79
-rw-r--r--gui-apps/foot/foot-1.20.2-r2.ebuild92
-rw-r--r--gui-apps/foot/foot-1.20.2.ebuild79
-rw-r--r--gui-apps/foot/foot-1.21.0.ebuild92
-rw-r--r--gui-apps/foot/foot-1.22.0.ebuild92
-rw-r--r--gui-apps/foot/foot-1.22.3.ebuild92
-rw-r--r--gui-apps/foot/foot-1.23.0.ebuild92
-rw-r--r--gui-apps/foot/foot-1.23.1.ebuild92
-rw-r--r--gui-apps/foot/foot-1.24.0.ebuild92
-rw-r--r--gui-apps/foot/foot-1.25.0.ebuild92
-rw-r--r--gui-apps/foot/foot-1.26.1.ebuild92
-rw-r--r--gui-apps/foot/metadata.xml18
22 files changed, 1657 insertions, 0 deletions
diff --git a/gui-apps/foot/Manifest b/gui-apps/foot/Manifest
new file mode 100644
index 000000000000..9b2d4437b668
--- /dev/null
+++ b/gui-apps/foot/Manifest
@@ -0,0 +1,27 @@
+DIST foot-1.16.2_20240120.tar.gz 529312 BLAKE2B edb4f0449effbc441ef5f0bdb5a99369633510826b3a129ff9897135df02c7e81ceea45facf0ce20b8b97bd878947426006722b6468eaabd02046b78ab2d8775 SHA512 1cdace64a21f155b440b17ad0a4cdd9150b8f4f44afdc3ff92d1dddc4c222fb9353a74ec4416c90753c70372d9f0e6ef762d00d6de4190e226621dccfc82ee1d
+DIST foot-1.17.0.tar.gz 543481 BLAKE2B 4af1665450d7d09d80502b74aa7b5be0c063f3df93aa67c4b2d1da5e69a5148db856436ffbc5868af93980e92145912da6bfcf27a3e81bf953e0e094193f5955 SHA512 4d24575c94ac5429b21134a21dd8b03d232d36798345fac3102b8a58de2acd951f6c1b4527085456072c3a0816d3fcf60210ec2004d84484b26bba22f44fbd89
+DIST foot-1.17.1.tar.gz 546745 BLAKE2B 5cb0b6dd323ce3f67dfdb47e4f06169327c95b6c5c06495f0f6a743a409684a5181970e8ac0141a857b3784c0f6f0f0647ce7db19bd99f1a0c1a0c8d846700c1 SHA512 b77d8198c504a337484ace06bc931998a70a753869c099bcab13dba3df629fd219d6bc23f22157b202333b2d5876f6030d9eeae77f1735e6983ab1c96aa8ca23
+DIST foot-1.17.2.tar.gz 547596 BLAKE2B b396184725522586eaa3f2f5de6f7506fd9091cf1ca5cb7165f359733307a6c00718b64e70f7faad2fb45a87916fdf98d2cb7552512a055cef3d169f2dd478ce SHA512 3b6bd12a35fa138e349b6ed175cbef4fd5d9ec4816144969535869c0d69df6d8487e60a49a8778b82fac12d516194e7f0609512717daf1b0440a606ee417eb72
+DIST foot-1.18.0.tar.gz 579743 BLAKE2B 5226b2beaafd9609904b1b6c683623d2d618623debcd968d3235b335e5465297d80a996df2d73a068d8b069b8361ebfa8301959d35f619bb961e899bb10788d5 SHA512 6a3b7986cd3be18e8ed7adebd87272e27f0cdb8ae2f7924eaaf36c5db90ba833e49c16bc9afdc04eb5e898a3c4081f2c6e01bd2cf0ab9aa35917313413f87d5a
+DIST foot-1.18.1.tar.gz 581146 BLAKE2B 25aa088218c5f1e44fe4cebaa63b933f21fa480446766f91b770b9eedb1ec25f1d1ac7a0519b72b907f0cf90c520d52625d9580fcdd7f8455c349d6c579b1614 SHA512 06744dcf33bdc5a47885b3720f194763fb680b5a21710a9289d9652237c207b70914e3689ffe32c8a6b7578ab0f010117866bddfd99055897c059e6554332bee
+DIST foot-1.19.0.tar.gz 584392 BLAKE2B 39f0382d5d7888b652e6b733e00302eff83e544b81273f800f2b685a6840559faa5626d8bb06233e872dd08dc347472974ff2e737611bb209aca77f0495371b9 SHA512 14c6616acd7de538a02bbe464ee77cddc6196d1387f6818691ffafd00f7379194a37eb3968c1f9976d9d82490be60854295fbfe662a9b658fa6fa8dfa291bac0
+DIST foot-1.20.0.tar.gz 589056 BLAKE2B 021927293c5b4950df33de42e37112bef79f908c44f7d2d47486e42c51096ff2416b3cf7d8dc3837448baa423e574b1ba83391af639e1782480e6370cfd5060f SHA512 8f602c8763f26c0a86efb1e7efb183f13a8ec14e1d618bf16a95185613b7bf36d6091e0057f746425fbe9855e043dd9a07d2ceb774257c4f1eaa20228f4fada5
+DIST foot-1.20.1.tar.gz 590026 BLAKE2B 991935b9b0b40d13914ae9831637a837275918821b70ba49173cccb2b1803c024d26261a75d245cd7bd9f88c8bc1019c462793f374302cfb93500502648502f7 SHA512 c4f0a36d1031915336110bb916f43d5f3ea19093555bc87141d3c3403fea058a7086eee13fed4aaff9b1d55484b9b04d90d75cf801889c205eca6415b9b9a2d5
+DIST foot-1.20.2.tar.gz 590295 BLAKE2B 341bd31690dd77fbf31efa066933fe09679df0b6ac6d949bd6bd7df4053399499d8e30387957d9bc4011ecb4487a3d76aa67bdf3ffbd606fbd9686e4878dc623 SHA512 8ad246a0c28531c969bf4fccaba68984c7f52212682362116f8a7e43ea453daf32eadef3fe6148542ffa62e32ff359486276aa2484017671aa95ce097bc4deb3
+DIST foot-1.20.2.tar.gz.sig 584 BLAKE2B 8d2cd2f8b3dc9ceeb001c9f6f712e689ac74c54e8f0c7ac4c9a7490a81f263d1e8f8c431205bbc99f59aa6a8d85809b6ff61d8c70e67df7ade667b3f7b6088a6 SHA512 4b34b3737af106f9e96cf2c6e7e57a319e853fa69607ad93d04e8f7db56f459097d2d5312bcd4822d8bff1109c93b584d39530d9f75ad1967b10db7e59e7f68f
+DIST foot-1.21.0.tar.gz 603704 BLAKE2B edc86710d9a6b5c4fa00b0be0584c6958af6eae14df3ab0491015334f32e99c6a11f37a11a851037325f374ba90c27afea85e13ec689d842a7a20ebe2893cec8 SHA512 decd14d06121c8d334b6e5ad9c3be9dced78703afc0c536819ade21df499e44ccb9d17e20712229430ad4ddadedb6f52c088c3b5c3751ccb226a804b1a50d72e
+DIST foot-1.21.0.tar.gz.sig 584 BLAKE2B 5703c1108aba9a54cc4920e0f9376aaa7ac9fed69a33aa5b0da251613a96922a6f5d2044d5e574acee6ff921ebbf6fe9498852dea082ed49b21bfeabf34f0b39 SHA512 be7ff8e3d19981882f3c65514f56fc73ab9bba1240a1aec2245e59183dd227e8ee3001366f7b82cc85f1374982d7835f12218a479a8a243e54fd88ab188e6f2f
+DIST foot-1.22.0.tar.gz 607291 BLAKE2B 304182d50011ac72d225708026f3358100ef595c19f4915f097df785f0d966826069c74b649fa9b30ab62662f3deb97792d33ee523d1939450ae6375e4b5ff3f SHA512 faa0305fef89ab40a70fab3336195e8212cf94fa34c44594c06260f14e318cfbc33fba7368b19901b636872c689caf4e59f7cf37f427adba0680fbd528cfeda8
+DIST foot-1.22.0.tar.gz.sig 584 BLAKE2B 5b54872c3a245accd133ff83fa803f96e9c9247838f2bd5a393b2a030b22770943693e4c6463aaf3f3da8363caba4b54ecad1eaf5c13494bdff0017353e4652a SHA512 6e37b58c9f9737c03175db282dba0d029aa64e198f6093473f3fcfa62790985529797485c5622fd8082d59761ed374e27155bba43092b2dfeff1e0688cb2d546
+DIST foot-1.22.3.tar.gz 608413 BLAKE2B 0bb17c1d321fa6044ff7cf2a63d5c63c27a4239d23501c4d2ef5ed51701abc81cffc46cddcc0f2b3ef325cbeb20c6fc6bac812c240fe770bbc4ce2e2bfd7dbdd SHA512 dfcf5787c78ed7d290d67264fc79f5e21147fbf51ed3cd08da0d4e80c411fcf9d6d93db925922b359f93f6a81758053ee39d98898292e3315a8d1936f866cd08
+DIST foot-1.22.3.tar.gz.sig 584 BLAKE2B 978c33669ca14ee9ea20fd008e8e91ca5aa7026faf63b501ce88643cc0332da8f982bd65831dfd0d4dde41f8b25958a303f9e161288e381cb1d5019d53652e66 SHA512 58cc661158aaa010b41187097f5406c4643c8a629c135a0ea319809689cf93282f0d62c324819a129fe03c8272450494f13bb6818f8e9d43fd8e4c951180afcc
+DIST foot-1.23.0.tar.gz 613190 BLAKE2B 17399641378ccc85ea9cb5ddb8ae7d975e3633a7b9f931352d200b2e3e83d4efa7aa9d728ea405f08bca848de0c4f8c696c859921aa08f9eb03445baaa5bfb0d SHA512 ba810e2f06757873c448092b52bb8ac097deb7104cb007d2279b0715d05cc49296cc3d72736d966f7bcb6f972f39689454e3fde654e70f1a5efc0d4571062484
+DIST foot-1.23.0.tar.gz.sig 584 BLAKE2B 5d153e62c1cdc5e1d32c575cd4d43fb4cbb26a6950ed8023a555f87833b65d0cec034cfe187de222dd7045c1bd0001e4f30e1efecdd5bbeac359ed1f65cb17fe SHA512 96b72ffaeb380be64d813240ca76c3db72b5d0ec7a075277869f6141561e32a4ddaf2fc19aa9afa50edb085594575d133ae435bd9c1ece1c05336a5a1f6436a2
+DIST foot-1.23.1.tar.gz 613580 BLAKE2B 1f92c065f86875e8920c83b35d496294686bcefdc86f0eda56b765c00b08c1d67a86f644d3603a3a1a5bcae2b6e7d0b3bebdeae1c550bad4c3d8977ab58b702a SHA512 d07c4ca1bb46c6575066304218758a1f88ba8a1055025d1d0f819207713b17dbb5812de55bc69d646eeb27fb84bb657d23a5ae70ebfb17478ae170c8ff2888c4
+DIST foot-1.23.1.tar.gz.sig 584 BLAKE2B 7ea9530267b47cfc0b0c3a036c79634fe86e4445105a87a72986fe85f8898e50bc1e933fbb1bc02c5fa12948733abc89d6ca3e4d7239e747b6d9308e6ca97a22 SHA512 bd0e1464bf84e1d2d473a6f3ce70ca53ff19dc51c98277778dc86d08756e28f3f2deb567b64d2ea8e102ca8ffaea7eb5e52137f92e3b2a7cd2a5260523a36122
+DIST foot-1.24.0.tar.gz 616192 BLAKE2B 995f3faf1fdbdfeda8d3315291cd002d8a4d43cbbb821cd354e0b19c3de9f9821f6fa65442d638f9e1bddb40ff3a96185db5ae886480ef4a234ddcc73292dc49 SHA512 2561c8dd962f60fe0d0ab2e8c8efe6563957c370089158fa4a7bbd1a49d5308c2e68aa01211241ae8ce2808e5d00e71d93b8a2ce335c01800507e6ec04e1ce12
+DIST foot-1.24.0.tar.gz.sig 584 BLAKE2B 2cea3724a54b8dac483c8b9cd59e86dea0c78a2bc26cfcc0afa8a90c14d87d2a683112809bbe914fff043198e2063301bb86234fc45c39ae4498dd5d1d6ce766 SHA512 35f7e2a37bcbb465592014a4ba994c283c8286fd24e6cd389e9c8fc26424fb455ef4273af7e6dd2445e2f610db612122a7529e07d1c1e8841ec17761b45bc0cb
+DIST foot-1.25.0.tar.gz 621034 BLAKE2B 0d3906d33a61a2c0b4bec0068bbd257a002541576e7aeb9b647792df246d67aef4cceb5c06ef2130fc9f2e81633ed35588124574728a74fce6b8bc6b32b37550 SHA512 2b8d9070e9cf9c36bc481ff927a0df0619c1c0aae9d7e654b841b98b016149bcb667a46ae7c270c5b166f108edc6700246d275152e4d399cf36505e861fbaeba
+DIST foot-1.25.0.tar.gz.sig 584 BLAKE2B 9031269fe39cae023e4290711e26a030fcab5912c7f2e40fe9d7fc2f5c12313f652ecaadd54da643e15621b8415048e2b31590945dac6d6324b29e82d8db7a83 SHA512 750b3122dab02a61401722250eadee73fcbba7718ccc2a4755cfec2f6f831e4d242c9df0abcb13644b07d26aab6c7e005e0480d1fab7e3d0e808476232cf3e86
+DIST foot-1.26.1.tar.gz 1195328 BLAKE2B 6774b8b833c9c18caac811d4e90ad91c34952b225549f493c9a99c2ee482d3336f07e6376239711998eb4731f5ded326c7c23720bb47f8aab5ccdb05891d6685 SHA512 92f55f2dabcd10bdb4f669f41c2779426795c423cb1a9ae760cf002208a7b73a89962d7a07d539513779ff9647f71ad9ec598e14a77d8444b75d14f1fe434245
+DIST foot-1.26.1.tar.gz.sig 584 BLAKE2B 76d047fcbb480e1e1084779456737d125feab22ef89ae3721c91c5d359d54e9cae7399de59a92dc894402a7150fa580cde51c26d052eb4f876c0fcbd6719e19b SHA512 43473b1a7ab1ed6198ab714385ce0fa58926fc58509676ae6b7d9e54d60e861cd0a5ec4947d98acb428806147bc4c0e971461f8a1ff116a7363c9d06f3951057
diff --git a/gui-apps/foot/files/foot.initd b/gui-apps/foot/files/foot.initd
new file mode 100644
index 000000000000..458618e8d006
--- /dev/null
+++ b/gui-apps/foot/files/foot.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+
+description="Foot terminal server mode"
+
+supervisor=supervise-daemon
+command="/usr/bin/foot"
+command_args="--server"
+
+start_pre() {
+ if [ -z "$WAYLAND_DISPLAY" ]; then
+ eerror "$WAYLAND_DISPLAY unset, can't proceed."
+ return 1
+ fi
+}
diff --git a/gui-apps/foot/foot-1.16.2.ebuild b/gui-apps/foot/foot-1.16.2.ebuild
new file mode 100644
index 000000000000..0823c047865e
--- /dev/null
+++ b/gui-apps/foot/foot-1.16.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg systemd
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="https://codeberg.org/dnkl/foot/archive/${PV}.tar.gz -> ${P}_20240120.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 arm64 ppc64"
+IUSE="+grapheme-clustering test"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ media-libs/fcft
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.32
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ >=sys-libs/ncurses-6.3[-minimal]
+ ~gui-apps/foot-terminfo-${PV}
+ )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+"
+
+src_prepare() {
+ default
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" "${S}"/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ local DOCS=( CHANGELOG.md README.md LICENSE )
+ meson_src_install
+
+ # foot unconditionally installs CHANGELOG.md, README.md and LICENSE.
+ # we handle this via DOCS and dodoc instead.
+ rm -r "${ED}/usr/share/doc/${PN}" || die
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
diff --git a/gui-apps/foot/foot-1.17.0.ebuild b/gui-apps/foot/foot-1.17.0.ebuild
new file mode 100644
index 000000000000..51e7d44c3c4c
--- /dev/null
+++ b/gui-apps/foot/foot-1.17.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg systemd
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+IUSE="+grapheme-clustering test"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ media-libs/fcft
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.32
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ >=sys-libs/ncurses-6.3[-minimal]
+ ~gui-apps/foot-terminfo-${PV}
+ )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+"
+
+src_prepare() {
+ default
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" "${S}"/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ local DOCS=( CHANGELOG.md README.md LICENSE )
+ meson_src_install
+
+ # foot unconditionally installs CHANGELOG.md, README.md and LICENSE.
+ # we handle this via DOCS and dodoc instead.
+ rm -r "${ED}/usr/share/doc/${PN}" || die
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
diff --git a/gui-apps/foot/foot-1.17.1.ebuild b/gui-apps/foot/foot-1.17.1.ebuild
new file mode 100644
index 000000000000..51e7d44c3c4c
--- /dev/null
+++ b/gui-apps/foot/foot-1.17.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg systemd
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+IUSE="+grapheme-clustering test"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ media-libs/fcft
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.32
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ >=sys-libs/ncurses-6.3[-minimal]
+ ~gui-apps/foot-terminfo-${PV}
+ )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+"
+
+src_prepare() {
+ default
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" "${S}"/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ local DOCS=( CHANGELOG.md README.md LICENSE )
+ meson_src_install
+
+ # foot unconditionally installs CHANGELOG.md, README.md and LICENSE.
+ # we handle this via DOCS and dodoc instead.
+ rm -r "${ED}/usr/share/doc/${PN}" || die
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
diff --git a/gui-apps/foot/foot-1.17.2.ebuild b/gui-apps/foot/foot-1.17.2.ebuild
new file mode 100644
index 000000000000..f46985633875
--- /dev/null
+++ b/gui-apps/foot/foot-1.17.2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg systemd
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 arm64 ppc64"
+IUSE="+grapheme-clustering test"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ media-libs/fcft
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.32
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ >=sys-libs/ncurses-6.3[-minimal]
+ ~gui-apps/foot-terminfo-${PV}
+ )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+"
+
+src_prepare() {
+ default
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" "${S}"/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ local DOCS=( CHANGELOG.md README.md LICENSE )
+ meson_src_install
+
+ # foot unconditionally installs CHANGELOG.md, README.md and LICENSE.
+ # we handle this via DOCS and dodoc instead.
+ rm -r "${ED}/usr/share/doc/${PN}" || die
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
diff --git a/gui-apps/foot/foot-1.18.0.ebuild b/gui-apps/foot/foot-1.18.0.ebuild
new file mode 100644
index 000000000000..51e7d44c3c4c
--- /dev/null
+++ b/gui-apps/foot/foot-1.18.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg systemd
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+IUSE="+grapheme-clustering test"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ media-libs/fcft
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.32
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ >=sys-libs/ncurses-6.3[-minimal]
+ ~gui-apps/foot-terminfo-${PV}
+ )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+"
+
+src_prepare() {
+ default
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" "${S}"/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ local DOCS=( CHANGELOG.md README.md LICENSE )
+ meson_src_install
+
+ # foot unconditionally installs CHANGELOG.md, README.md and LICENSE.
+ # we handle this via DOCS and dodoc instead.
+ rm -r "${ED}/usr/share/doc/${PN}" || die
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
diff --git a/gui-apps/foot/foot-1.18.1.ebuild b/gui-apps/foot/foot-1.18.1.ebuild
new file mode 100644
index 000000000000..a7d00780fe0d
--- /dev/null
+++ b/gui-apps/foot/foot-1.18.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg systemd
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+IUSE="+grapheme-clustering test"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ media-libs/fcft
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.32
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ >=sys-libs/ncurses-6.3[-minimal]
+ ~gui-apps/foot-terminfo-${PV}
+ )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+"
+
+src_prepare() {
+ default
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" "${S}"/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ local DOCS=( CHANGELOG.md README.md LICENSE )
+ meson_src_install
+
+ # foot unconditionally installs CHANGELOG.md, README.md and LICENSE.
+ # we handle this via DOCS and dodoc instead.
+ rm -r "${ED}/usr/share/doc/${PN}" || die
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
diff --git a/gui-apps/foot/foot-1.19.0.ebuild b/gui-apps/foot/foot-1.19.0.ebuild
new file mode 100644
index 000000000000..2cdd16e5d1a8
--- /dev/null
+++ b/gui-apps/foot/foot-1.19.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg systemd
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 arm64 ppc64 ~riscv"
+IUSE="+grapheme-clustering test"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ media-libs/fcft
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.32
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ >=sys-libs/ncurses-6.3[-minimal]
+ ~gui-apps/foot-terminfo-${PV}
+ )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+"
+
+src_prepare() {
+ default
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" "${S}"/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ local DOCS=( CHANGELOG.md README.md LICENSE )
+ meson_src_install
+
+ # foot unconditionally installs CHANGELOG.md, README.md and LICENSE.
+ # we handle this via DOCS and dodoc instead.
+ rm -r "${ED}/usr/share/doc/${PN}" || die
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ if [[ ${REPLACING_VERSIONS} ]]; then
+ ewarn "The menu entries foot installs have been renamed."
+ ewarn "This might result in shortcuts (in, for instance, KDE)"
+ ewarn "being forgotten."
+ fi
+}
diff --git a/gui-apps/foot/foot-1.20.0.ebuild b/gui-apps/foot/foot-1.20.0.ebuild
new file mode 100644
index 000000000000..970ad3152ef5
--- /dev/null
+++ b/gui-apps/foot/foot-1.20.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg systemd
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+IUSE="+grapheme-clustering test"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ media-libs/fcft
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.32
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ >=sys-libs/ncurses-6.3[-minimal]
+ ~gui-apps/foot-terminfo-${PV}
+ )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+"
+
+src_prepare() {
+ default
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" "${S}"/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ local DOCS=( CHANGELOG.md README.md LICENSE )
+ meson_src_install
+
+ # foot unconditionally installs CHANGELOG.md, README.md and LICENSE.
+ # we handle this via DOCS and dodoc instead.
+ rm -r "${ED}/usr/share/doc/${PN}" || die
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
diff --git a/gui-apps/foot/foot-1.20.1-r1.ebuild b/gui-apps/foot/foot-1.20.1-r1.ebuild
new file mode 100644
index 000000000000..1f184cc3a99b
--- /dev/null
+++ b/gui-apps/foot/foot-1.20.1-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg systemd
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+IUSE="+grapheme-clustering test"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ media-libs/fcft
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=[-cjk]
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.32
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ >=sys-libs/ncurses-6.3[-minimal]
+ ~gui-apps/foot-terminfo-${PV}
+ )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+"
+
+src_prepare() {
+ default
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" "${S}"/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ local DOCS=( CHANGELOG.md README.md LICENSE )
+ meson_src_install
+
+ # foot unconditionally installs CHANGELOG.md, README.md and LICENSE.
+ # we handle this via DOCS and dodoc instead.
+ rm -r "${ED}/usr/share/doc/${PN}" || die
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
diff --git a/gui-apps/foot/foot-1.20.2-r2.ebuild b/gui-apps/foot/foot-1.20.2-r2.ebuild
new file mode 100644
index 000000000000..009b471acfe3
--- /dev/null
+++ b/gui-apps/foot/foot-1.20.2-r2.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson systemd verify-sig xdg
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+ verify-sig? ( https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz.sig )
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+IUSE="+grapheme-clustering test utempter verify-sig"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ media-libs/fcft
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=[-cjk]
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.32
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ ~gui-apps/foot-terminfo-${PV}
+ >=sys-libs/ncurses-6.3[-minimal]
+ )
+ utempter? ( sys-libs/libutempter )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+ verify-sig? ( sec-keys/openpgp-keys-dnkl )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dnkl.asc
+
+src_prepare() {
+ default
+
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" meson.build || die
+
+ # adjust install dir
+ sed -i "s/'doc', 'foot'/'doc', '${PF}'/" meson.build || die
+
+ # do not install LICENSE file
+ sed -i "s/'LICENSE', //" meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ -Ddocs=enabled
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dutmp-backend=$(usex utempter libutempter none)
+ -Dutmp-default-helper-path="/usr/$(get_libdir)/misc/utempter/utempter"
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ meson_src_install
+
+ exeinto /etc/user/init.d
+ newexe "${FILESDIR}/foot.initd" foot
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
diff --git a/gui-apps/foot/foot-1.20.2.ebuild b/gui-apps/foot/foot-1.20.2.ebuild
new file mode 100644
index 000000000000..aa79ea9bd98b
--- /dev/null
+++ b/gui-apps/foot/foot-1.20.2.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg systemd
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 arm64 ppc64 ~riscv"
+IUSE="+grapheme-clustering test"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ media-libs/fcft
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=[-cjk]
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.32
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ >=sys-libs/ncurses-6.3[-minimal]
+ ~gui-apps/foot-terminfo-${PV}
+ )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+"
+
+src_prepare() {
+ default
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" "${S}"/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ local DOCS=( CHANGELOG.md README.md LICENSE )
+ meson_src_install
+
+ # foot unconditionally installs CHANGELOG.md, README.md and LICENSE.
+ # we handle this via DOCS and dodoc instead.
+ rm -r "${ED}/usr/share/doc/${PN}" || die
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
diff --git a/gui-apps/foot/foot-1.21.0.ebuild b/gui-apps/foot/foot-1.21.0.ebuild
new file mode 100644
index 000000000000..5af1ff237c55
--- /dev/null
+++ b/gui-apps/foot/foot-1.21.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson systemd verify-sig xdg
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+ verify-sig? ( https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz.sig )
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+IUSE="+grapheme-clustering test utempter verify-sig"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ >=media-libs/fcft-3.3.1
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=[-cjk]
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.41
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ ~gui-apps/foot-terminfo-${PV}
+ >=sys-libs/ncurses-6.3[-minimal]
+ )
+ utempter? ( sys-libs/libutempter )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+ verify-sig? ( sec-keys/openpgp-keys-dnkl )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dnkl.asc
+
+src_prepare() {
+ default
+
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" meson.build || die
+
+ # adjust install dir
+ sed -i "s/'doc', 'foot'/'doc', '${PF}'/" meson.build || die
+
+ # do not install LICENSE file
+ sed -i "s/'LICENSE', //" meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ -Ddocs=enabled
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dutmp-backend=$(usex utempter libutempter none)
+ -Dutmp-default-helper-path="/usr/$(get_libdir)/misc/utempter/utempter"
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ meson_src_install
+
+ exeinto /etc/user/init.d
+ newexe "${FILESDIR}/foot.initd" foot
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
diff --git a/gui-apps/foot/foot-1.22.0.ebuild b/gui-apps/foot/foot-1.22.0.ebuild
new file mode 100644
index 000000000000..5af1ff237c55
--- /dev/null
+++ b/gui-apps/foot/foot-1.22.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson systemd verify-sig xdg
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+ verify-sig? ( https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz.sig )
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+IUSE="+grapheme-clustering test utempter verify-sig"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ >=media-libs/fcft-3.3.1
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=[-cjk]
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.41
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ ~gui-apps/foot-terminfo-${PV}
+ >=sys-libs/ncurses-6.3[-minimal]
+ )
+ utempter? ( sys-libs/libutempter )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+ verify-sig? ( sec-keys/openpgp-keys-dnkl )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dnkl.asc
+
+src_prepare() {
+ default
+
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" meson.build || die
+
+ # adjust install dir
+ sed -i "s/'doc', 'foot'/'doc', '${PF}'/" meson.build || die
+
+ # do not install LICENSE file
+ sed -i "s/'LICENSE', //" meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ -Ddocs=enabled
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dutmp-backend=$(usex utempter libutempter none)
+ -Dutmp-default-helper-path="/usr/$(get_libdir)/misc/utempter/utempter"
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ meson_src_install
+
+ exeinto /etc/user/init.d
+ newexe "${FILESDIR}/foot.initd" foot
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
diff --git a/gui-apps/foot/foot-1.22.3.ebuild b/gui-apps/foot/foot-1.22.3.ebuild
new file mode 100644
index 000000000000..adf7e90fddfc
--- /dev/null
+++ b/gui-apps/foot/foot-1.22.3.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson systemd verify-sig xdg
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+ verify-sig? ( https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz.sig )
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+grapheme-clustering test utempter verify-sig"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ >=media-libs/fcft-3.3.1
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=[-cjk]
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.41
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ ~gui-apps/foot-terminfo-${PV}
+ >=sys-libs/ncurses-6.3[-minimal]
+ )
+ utempter? ( sys-libs/libutempter )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+ verify-sig? ( sec-keys/openpgp-keys-dnkl )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dnkl.asc
+
+src_prepare() {
+ default
+
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" meson.build || die
+
+ # adjust install dir
+ sed -i "s/'doc', 'foot'/'doc', '${PF}'/" meson.build || die
+
+ # do not install LICENSE file
+ sed -i "s/'LICENSE', //" meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ -Ddocs=enabled
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dutmp-backend=$(usex utempter libutempter none)
+ -Dutmp-default-helper-path="/usr/$(get_libdir)/misc/utempter/utempter"
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ meson_src_install
+
+ exeinto /etc/user/init.d
+ newexe "${FILESDIR}/foot.initd" foot
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
diff --git a/gui-apps/foot/foot-1.23.0.ebuild b/gui-apps/foot/foot-1.23.0.ebuild
new file mode 100644
index 000000000000..adf7e90fddfc
--- /dev/null
+++ b/gui-apps/foot/foot-1.23.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson systemd verify-sig xdg
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+ verify-sig? ( https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz.sig )
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+grapheme-clustering test utempter verify-sig"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ >=media-libs/fcft-3.3.1
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=[-cjk]
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.41
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ ~gui-apps/foot-terminfo-${PV}
+ >=sys-libs/ncurses-6.3[-minimal]
+ )
+ utempter? ( sys-libs/libutempter )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+ verify-sig? ( sec-keys/openpgp-keys-dnkl )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dnkl.asc
+
+src_prepare() {
+ default
+
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" meson.build || die
+
+ # adjust install dir
+ sed -i "s/'doc', 'foot'/'doc', '${PF}'/" meson.build || die
+
+ # do not install LICENSE file
+ sed -i "s/'LICENSE', //" meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ -Ddocs=enabled
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dutmp-backend=$(usex utempter libutempter none)
+ -Dutmp-default-helper-path="/usr/$(get_libdir)/misc/utempter/utempter"
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ meson_src_install
+
+ exeinto /etc/user/init.d
+ newexe "${FILESDIR}/foot.initd" foot
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
diff --git a/gui-apps/foot/foot-1.23.1.ebuild b/gui-apps/foot/foot-1.23.1.ebuild
new file mode 100644
index 000000000000..adf7e90fddfc
--- /dev/null
+++ b/gui-apps/foot/foot-1.23.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson systemd verify-sig xdg
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+ verify-sig? ( https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz.sig )
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+grapheme-clustering test utempter verify-sig"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ >=media-libs/fcft-3.3.1
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=[-cjk]
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.41
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ ~gui-apps/foot-terminfo-${PV}
+ >=sys-libs/ncurses-6.3[-minimal]
+ )
+ utempter? ( sys-libs/libutempter )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+ verify-sig? ( sec-keys/openpgp-keys-dnkl )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dnkl.asc
+
+src_prepare() {
+ default
+
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" meson.build || die
+
+ # adjust install dir
+ sed -i "s/'doc', 'foot'/'doc', '${PF}'/" meson.build || die
+
+ # do not install LICENSE file
+ sed -i "s/'LICENSE', //" meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ -Ddocs=enabled
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dutmp-backend=$(usex utempter libutempter none)
+ -Dutmp-default-helper-path="/usr/$(get_libdir)/misc/utempter/utempter"
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ meson_src_install
+
+ exeinto /etc/user/init.d
+ newexe "${FILESDIR}/foot.initd" foot
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
diff --git a/gui-apps/foot/foot-1.24.0.ebuild b/gui-apps/foot/foot-1.24.0.ebuild
new file mode 100644
index 000000000000..fef699cbafe5
--- /dev/null
+++ b/gui-apps/foot/foot-1.24.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson systemd verify-sig xdg
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+ verify-sig? ( https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz.sig )
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 arm64 ~ppc64 ~riscv ~x86"
+IUSE="+grapheme-clustering test utempter verify-sig"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ >=media-libs/fcft-3.3.1
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=[-cjk]
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.41
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ ~gui-apps/foot-terminfo-${PV}
+ >=sys-libs/ncurses-6.3[-minimal]
+ )
+ utempter? ( sys-libs/libutempter )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+ verify-sig? ( sec-keys/openpgp-keys-dnkl )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dnkl.asc
+
+src_prepare() {
+ default
+
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" meson.build || die
+
+ # adjust install dir
+ sed -i "s/'doc', 'foot'/'doc', '${PF}'/" meson.build || die
+
+ # do not install LICENSE file
+ sed -i "s/'LICENSE', //" meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ -Ddocs=enabled
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dutmp-backend=$(usex utempter libutempter none)
+ -Dutmp-default-helper-path="/usr/$(get_libdir)/misc/utempter/utempter"
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ meson_src_install
+
+ exeinto /etc/user/init.d
+ newexe "${FILESDIR}/foot.initd" foot
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
diff --git a/gui-apps/foot/foot-1.25.0.ebuild b/gui-apps/foot/foot-1.25.0.ebuild
new file mode 100644
index 000000000000..adf7e90fddfc
--- /dev/null
+++ b/gui-apps/foot/foot-1.25.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson systemd verify-sig xdg
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+ verify-sig? ( https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz.sig )
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+grapheme-clustering test utempter verify-sig"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ >=media-libs/fcft-3.3.1
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=[-cjk]
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.41
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ ~gui-apps/foot-terminfo-${PV}
+ >=sys-libs/ncurses-6.3[-minimal]
+ )
+ utempter? ( sys-libs/libutempter )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+ verify-sig? ( sec-keys/openpgp-keys-dnkl )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dnkl.asc
+
+src_prepare() {
+ default
+
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" meson.build || die
+
+ # adjust install dir
+ sed -i "s/'doc', 'foot'/'doc', '${PF}'/" meson.build || die
+
+ # do not install LICENSE file
+ sed -i "s/'LICENSE', //" meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ -Ddocs=enabled
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dutmp-backend=$(usex utempter libutempter none)
+ -Dutmp-default-helper-path="/usr/$(get_libdir)/misc/utempter/utempter"
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ meson_src_install
+
+ exeinto /etc/user/init.d
+ newexe "${FILESDIR}/foot.initd" foot
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
diff --git a/gui-apps/foot/foot-1.26.1.ebuild b/gui-apps/foot/foot-1.26.1.ebuild
new file mode 100644
index 000000000000..cd2387ad621f
--- /dev/null
+++ b/gui-apps/foot/foot-1.26.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson systemd verify-sig xdg
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="
+ https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz
+ verify-sig? ( https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz.sig )
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+grapheme-clustering test utempter verify-sig"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ >=media-libs/fcft-3.3.1
+ media-libs/fontconfig
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ grapheme-clustering? (
+ dev-libs/libutf8proc:=[-cjk]
+ media-libs/fcft[harfbuzz]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/tllist-1.1.0
+ >=dev-libs/wayland-protocols-1.41
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ ~gui-apps/foot-terminfo-${PV}
+ >=sys-libs/ncurses-6.3[-minimal]
+ )
+ utempter? ( sys-libs/libutempter )
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+ verify-sig? ( sec-keys/openpgp-keys-dnkl )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dnkl.asc
+
+src_prepare() {
+ default
+
+ # disable the systemd dep, we install the unit file manually
+ sed -i "s/systemd', required: false)$/', required: false)/" meson.build || die
+
+ # adjust install dir
+ sed -i "s/'doc', 'foot'/'doc', '${PF}'/" meson.build || die
+
+ # do not install LICENSE file
+ sed -i "s/'LICENSE', //" meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ -Ddocs=enabled
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ $(meson_feature grapheme-clustering)
+ $(meson_use test tests)
+ -Dutmp-backend=$(usex utempter libutempter none)
+ -Dutmp-default-helper-path="/usr/$(get_libdir)/misc/utempter/utempter"
+ )
+ meson_src_configure
+
+ sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die
+}
+
+src_install() {
+ meson_src_install
+
+ exeinto /etc/user/init.d
+ newexe "${FILESDIR}/foot.initd" foot
+ systemd_douserunit foot-server.service "${S}"/foot-server.socket
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
diff --git a/gui-apps/foot/metadata.xml b/gui-apps/foot/metadata.xml
new file mode 100644
index 000000000000..2e3d8865e2d1
--- /dev/null
+++ b/gui-apps/foot/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>arsen@gentoo.org</email>
+ <name>Arsen Arsenović</name>
+ </maintainer>
+ <use>
+ <flag name="grapheme-clustering">Enable grapheme clustering support</flag>
+ <flag name="utempter">Enable utmp support via <pkg>sys-libs/libutempter</pkg></flag>
+ </use>
+ <upstream>
+ <bugs-to>https://codeberg.org/dnkl/foot/issues</bugs-to>
+ <changelog>https://codeberg.org/dnkl/foot/src/branch/master/CHANGELOG.md</changelog>
+ <doc>https://codeberg.org/dnkl/foot/wiki</doc>
+ <remote-id type="codeberg">dnkl/foot</remote-id>
+ </upstream>
+</pkgmetadata>