commit:     2096fb57a11332020a26aacff4d0e71fab117092
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 19 09:58:29 2025 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Sun Oct 19 09:58:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2096fb57

gui-apps/foot: add 1.25.0

Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 gui-apps/foot/Manifest           |  2 +
 gui-apps/foot/foot-1.25.0.ebuild | 92 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)

diff --git a/gui-apps/foot/Manifest b/gui-apps/foot/Manifest
index 5326db4029f7..0d298a1af4eb 100644
--- a/gui-apps/foot/Manifest
+++ b/gui-apps/foot/Manifest
@@ -21,3 +21,5 @@ DIST foot-1.23.1.tar.gz 613580 BLAKE2B 
1f92c065f86875e8920c83b35d496294686bcefdc
 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

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
+}

Reply via email to