commit: 71b0a00ae79fe7c46f5976d5289fd95c7381aabb Author: Arsen Arsenović <arsen <AT> gentoo <DOT> org> AuthorDate: Mon Jan 20 11:13:22 2025 +0000 Commit: Arsen Arsenović <arsen <AT> gentoo <DOT> org> CommitDate: Mon Jan 20 11:13:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71b0a00a
gui-apps/foot: add 1.20.2 Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org> gui-apps/foot/Manifest | 1 + gui-apps/foot/foot-1.20.2.ebuild | 79 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/gui-apps/foot/Manifest b/gui-apps/foot/Manifest index 133e192d815e..76f9854f9cc9 100644 --- a/gui-apps/foot/Manifest +++ b/gui-apps/foot/Manifest @@ -7,3 +7,4 @@ DIST foot-1.18.1.tar.gz 581146 BLAKE2B 25aa088218c5f1e44fe4cebaa63b933f21fa48044 DIST foot-1.19.0.tar.gz 584392 BLAKE2B 39f0382d5d7888b652e6b733e00302eff83e544b81273f800f2b685a6840559faa5626d8bb06233e872dd08dc347472974ff2e737611bb209aca77f0495371b9 SHA512 14c6616acd7de538a02bbe464ee77cddc6196d1387f6818691ffafd00f7379194a37eb3968c1f9976d9d82490be60854295fbfe662a9b658fa6fa8dfa291bac0 DIST foot-1.20.0.tar.gz 589056 BLAKE2B 021927293c5b4950df33de42e37112bef79f908c44f7d2d47486e42c51096ff2416b3cf7d8dc3837448baa423e574b1ba83391af639e1782480e6370cfd5060f SHA512 8f602c8763f26c0a86efb1e7efb183f13a8ec14e1d618bf16a95185613b7bf36d6091e0057f746425fbe9855e043dd9a07d2ceb774257c4f1eaa20228f4fada5 DIST foot-1.20.1.tar.gz 590026 BLAKE2B 991935b9b0b40d13914ae9831637a837275918821b70ba49173cccb2b1803c024d26261a75d245cd7bd9f88c8bc1019c462793f374302cfb93500502648502f7 SHA512 c4f0a36d1031915336110bb916f43d5f3ea19093555bc87141d3c3403fea058a7086eee13fed4aaff9b1d55484b9b04d90d75cf801889c205eca6415b9b9a2d5 +DIST foot-1.20.2.tar.gz 590295 BLAKE2B 341bd31690dd77fbf31efa066933fe09679df0b6ac6d949bd6bd7df4053399499d8e30387957d9bc4011ecb4487a3d76aa67bdf3ffbd606fbd9686e4878dc623 SHA512 8ad246a0c28531c969bf4fccaba68984c7f52212682362116f8a7e43ea453daf32eadef3fe6148542ffa62e32ff359486276aa2484017671aa95ce097bc4deb3 diff --git a/gui-apps/foot/foot-1.20.2.ebuild b/gui-apps/foot/foot-1.20.2.ebuild new file mode 100644 index 000000000000..1f184cc3a99b --- /dev/null +++ b/gui-apps/foot/foot-1.20.2.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson xdg systemd + +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 +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" +IUSE="+grapheme-clustering test" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + dev-libs/wayland + media-libs/fcft + 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.32 +" +RDEPEND=" + ${COMMON_DEPEND} + || ( + >=sys-libs/ncurses-6.3[-minimal] + ~gui-apps/foot-terminfo-${PV} + ) +" +BDEPEND=" + app-text/scdoc + dev-util/wayland-scanner +" + +src_prepare() { + default + # disable the systemd dep, we install the unit file manually + sed -i "s/systemd', required: false)$/', required: false)/" "${S}"/meson.build || die +} + +src_configure() { + local emesonargs=( + $(meson_feature grapheme-clustering) + $(meson_use test tests) + -Dthemes=true + -Dime=true + -Dterminfo=disabled + ) + meson_src_configure + + sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die +} + +src_install() { + local DOCS=( CHANGELOG.md README.md LICENSE ) + meson_src_install + + # foot unconditionally installs CHANGELOG.md, README.md and LICENSE. + # we handle this via DOCS and dodoc instead. + rm -r "${ED}/usr/share/doc/${PN}" || die + systemd_douserunit foot-server.service "${S}"/foot-server.socket +} + +pkg_postinst() { + xdg_pkg_postinst +}