From a51038ae9a1c4e323529ac0630f4797dbaa45e5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= Date: Sun, 5 Apr 2026 10:48:03 +0200 Subject: [PATCH] gui-apps/foot: add 1.26.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Arsen Arsenović --- gui-apps/foot/Manifest | 2 + gui-apps/foot/foot-1.26.1.ebuild | 92 ++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 gui-apps/foot/foot-1.26.1.ebuild diff --git a/gui-apps/foot/Manifest b/gui-apps/foot/Manifest index 0d298a1af4eb7..9b2d4437b6683 100644 --- a/gui-apps/foot/Manifest +++ b/gui-apps/foot/Manifest @@ -23,3 +23,5 @@ DIST foot-1.24.0.tar.gz 616192 BLAKE2B 995f3faf1fdbdfeda8d3315291cd002d8a4d43cbb 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/foot-1.26.1.ebuild b/gui-apps/foot/foot-1.26.1.ebuild new file mode 100644 index 0000000000000..cd2387ad621f7 --- /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 +}