commit:     825567a9aee17db625cfc752fa112ef198ef51cb
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 17 15:43:26 2025 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 15:51:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=825567a9

gui-apps/foot: add 1.21.0

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

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

diff --git a/gui-apps/foot/Manifest b/gui-apps/foot/Manifest
index 628fe5207223..d7fa0fc68906 100644
--- a/gui-apps/foot/Manifest
+++ b/gui-apps/foot/Manifest
@@ -9,3 +9,5 @@ DIST foot-1.20.0.tar.gz 589056 BLAKE2B 
021927293c5b4950df33de42e37112bef79f908c4
 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

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..9357c397b4e7
--- /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
+
+       # adjujst 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