commit:     7cbb79d37a66af714ecfb72db60047f35126c853
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 27 09:15:44 2025 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Sun Jul 27 09:52:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cbb79d3

gui-apps/foot: add 1.23.1

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

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

diff --git a/gui-apps/foot/Manifest b/gui-apps/foot/Manifest
index 28c9c2f5c6b5..32fe504ea42e 100644
--- a/gui-apps/foot/Manifest
+++ b/gui-apps/foot/Manifest
@@ -17,3 +17,5 @@ DIST foot-1.22.3.tar.gz 608413 BLAKE2B 
0bb17c1d321fa6044ff7cf2a63d5c63c27a4239d2
 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

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

Reply via email to