commit:     6c02a7768f99782fcceb01cee93139f3d0e6b38b
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 23 18:57:43 2024 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Wed Oct 23 19:34:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c02a776

gui-apps/foot: add 1.19.0

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

 gui-apps/foot/Manifest           |  1 +
 gui-apps/foot/foot-1.19.0.ebuild | 84 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 85 insertions(+)

diff --git a/gui-apps/foot/Manifest b/gui-apps/foot/Manifest
index 8bb23968bcb7..31ce5f6fba37 100644
--- a/gui-apps/foot/Manifest
+++ b/gui-apps/foot/Manifest
@@ -4,3 +4,4 @@ DIST foot-1.17.1.tar.gz 546745 BLAKE2B 
5cb0b6dd323ce3f67dfdb47e4f06169327c95b6c5
 DIST foot-1.17.2.tar.gz 547596 BLAKE2B 
b396184725522586eaa3f2f5de6f7506fd9091cf1ca5cb7165f359733307a6c00718b64e70f7faad2fb45a87916fdf98d2cb7552512a055cef3d169f2dd478ce
 SHA512 
3b6bd12a35fa138e349b6ed175cbef4fd5d9ec4816144969535869c0d69df6d8487e60a49a8778b82fac12d516194e7f0609512717daf1b0440a606ee417eb72
 DIST foot-1.18.0.tar.gz 579743 BLAKE2B 
5226b2beaafd9609904b1b6c683623d2d618623debcd968d3235b335e5465297d80a996df2d73a068d8b069b8361ebfa8301959d35f619bb961e899bb10788d5
 SHA512 
6a3b7986cd3be18e8ed7adebd87272e27f0cdb8ae2f7924eaaf36c5db90ba833e49c16bc9afdc04eb5e898a3c4081f2c6e01bd2cf0ab9aa35917313413f87d5a
 DIST foot-1.18.1.tar.gz 581146 BLAKE2B 
25aa088218c5f1e44fe4cebaa63b933f21fa480446766f91b770b9eedb1ec25f1d1ac7a0519b72b907f0cf90c520d52625d9580fcdd7f8455c349d6c579b1614
 SHA512 
06744dcf33bdc5a47885b3720f194763fb680b5a21710a9289d9652237c207b70914e3689ffe32c8a6b7578ab0f010117866bddfd99055897c059e6554332bee
+DIST foot-1.19.0.tar.gz 584392 BLAKE2B 
39f0382d5d7888b652e6b733e00302eff83e544b81273f800f2b685a6840559faa5626d8bb06233e872dd08dc347472974ff2e737611bb209aca77f0495371b9
 SHA512 
14c6616acd7de538a02bbe464ee77cddc6196d1387f6818691ffafd00f7379194a37eb3968c1f9976d9d82490be60854295fbfe662a9b658fa6fa8dfa291bac0

diff --git a/gui-apps/foot/foot-1.19.0.ebuild b/gui-apps/foot/foot-1.19.0.ebuild
new file mode 100644
index 000000000000..2cde236bf381
--- /dev/null
+++ b/gui-apps/foot/foot-1.19.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2024 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:=
+               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
+       if [[ ${REPLACING_VERSIONS} ]]; then
+               ewarn "The menu entries foot installs have been renamed."
+               ewarn "This might result in shortcuts (in, for instance, KDE)"
+               ewarn "being forgotten."
+       fi
+}

Reply via email to