commit:     700cb06f17fb5dbe674e8d694794da60f15dea4b
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 30 14:17:03 2025 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Wed Apr 30 14:25:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=700cb06f

gui-apps/foot: add 1.22.2

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

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

diff --git a/gui-apps/foot/Manifest b/gui-apps/foot/Manifest
index db815e71aaec..b7b5f488def1 100644
--- a/gui-apps/foot/Manifest
+++ b/gui-apps/foot/Manifest
@@ -15,3 +15,5 @@ DIST foot-1.22.0.tar.gz 607291 BLAKE2B 
304182d50011ac72d225708026f3358100ef595c1
 DIST foot-1.22.0.tar.gz.sig 584 BLAKE2B 
5b54872c3a245accd133ff83fa803f96e9c9247838f2bd5a393b2a030b22770943693e4c6463aaf3f3da8363caba4b54ecad1eaf5c13494bdff0017353e4652a
 SHA512 
6e37b58c9f9737c03175db282dba0d029aa64e198f6093473f3fcfa62790985529797485c5622fd8082d59761ed374e27155bba43092b2dfeff1e0688cb2d546
 DIST foot-1.22.1.tar.gz 608057 BLAKE2B 
7925d92a24e81bd276be5d344ca3b0500bdb7cf4b48059d53938882cc257e95ade355e8257772f87bd2a8fa5ede8e8740466aaef8f5dfd030fbabf4611abb79d
 SHA512 
4dd09bbae5d494ad6bf3566ba0cc221139f25d324113f1100c6e7e4342f22bbd8fb9148c7d195f6295216a0eeb9111f1549ef91df98184ff09df31c3bdc2494b
 DIST foot-1.22.1.tar.gz.sig 584 BLAKE2B 
2f9a7f2dc99428d94fb70c830e03bab8de6e501e100297f1195b9e127b085d5a52806f54d46094a0cba8c6a6956c8dc73fddde8ab4b343dc529e5f62812cb1a6
 SHA512 
3a9eaaa75c92e89b3815cfa3df8944ba56f3078a287fdea693ba5ab5f4e823f2cfccb24c1275b9dc95d4b9463ab519422a765fa0ce1b11b6470b4349c2e65ea5
+DIST foot-1.22.2.tar.gz 608208 BLAKE2B 
0c6e0c293cca4efb1c6737d63a3eb8abe0b37e92f4050f4c17fd4687a30c0d855208612dae78a1e6e283d0ef1db9f1febbd514320af07bc8b6806f1d6c3110a3
 SHA512 
6114df85c870dcd20934fc01e7b2cd399a504d5b469f28ce8d6593215b3249f8c08e9c242418a2382921f224c3270d857411bdff8c9b5bdbcfa7547316bed885
+DIST foot-1.22.2.tar.gz.sig 584 BLAKE2B 
6d58b0f1b73f3e291c12a58014fa888480791d8d02d736be28f3cc37e3e575d4de5af411b035afded86b4879f0c2c20229f8e039c3ceffe4be37d312b0aed1a0
 SHA512 
09056d3644a4da35c6066bee4bc3d5c4b04074200fc4d09c1b7459da86afb69cbc0c33b0951dea24ce8cfb27d0c170fe139025c6971e19ee2bda12799291aa08

diff --git a/gui-apps/foot/foot-1.22.2.ebuild b/gui-apps/foot/foot-1.22.2.ebuild
new file mode 100644
index 000000000000..9357c397b4e7
--- /dev/null
+++ b/gui-apps/foot/foot-1.22.2.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