summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@aarsen.me>2022-02-03 15:09:17 +0100
committerIonen Wolkens <ionen@gentoo.org>2022-02-05 18:38:01 -0500
commit810baf23acbac82684d61fee7cd3256422587bcf (patch)
tree322375be5ec242b0fadcd8ff37599a2f1918b0e9 /gui-apps
parentmedia-libs/fcft: new package (diff)
downloadgentoo-810baf23acbac82684d61fee7cd3256422587bcf.tar.gz
gentoo-810baf23acbac82684d61fee7cd3256422587bcf.tar.bz2
gentoo-810baf23acbac82684d61fee7cd3256422587bcf.zip
gui-apps/foot: new package
adopted from guru Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Arsen Arsenović <arsen@aarsen.me> Closes: https://github.com/gentoo/gentoo/pull/24067 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'gui-apps')
-rw-r--r--gui-apps/foot/Manifest1
-rw-r--r--gui-apps/foot/foot-1.11.0.ebuild62
-rw-r--r--gui-apps/foot/metadata.xml15
3 files changed, 78 insertions, 0 deletions
diff --git a/gui-apps/foot/Manifest b/gui-apps/foot/Manifest
new file mode 100644
index 000000000000..67ee147f1c81
--- /dev/null
+++ b/gui-apps/foot/Manifest
@@ -0,0 +1 @@
+DIST foot-1.11.0.tar.gz 468899 BLAKE2B f3e3909c670598dab151f8be4104921fddd6621e833a8fe43c68d06347e3e866101fe1563282622436638674b7f73770762d47a7b9fd61d42b00bc7634e2ea76 SHA512 edf8130dfb52e06b6d8638115eca19695b24536f3f6b284e0319876edb95c3c86800f9527cc9dae3f66d2d317d26add793634a19f302e52c9f0118b9b91fc9c2
diff --git a/gui-apps/foot/foot-1.11.0.ebuild b/gui-apps/foot/foot-1.11.0.ebuild
new file mode 100644
index 000000000000..e70cf3b961c9
--- /dev/null
+++ b/gui-apps/foot/foot-1.11.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg
+
+DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator"
+HOMEPAGE="https://codeberg.org/dnkl/foot"
+SRC_URI="https://codeberg.org/dnkl/foot/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+grapheme-clustering"
+
+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/wayland-protocols
+ dev-libs/tllist
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ || (
+ >=sys-libs/ncurses-6.3
+ ~gui-apps/foot-terminfo-${PV}
+ )
+"
+BDEPEND="
+ dev-util/wayland-scanner
+ app-text/scdoc
+"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature grapheme-clustering)
+ -Dthemes=true
+ -Dime=true
+ -Dterminfo=disabled
+ -Dwerror=false
+ )
+ meson_src_configure
+}
+
+src_install() {
+ local DOCS=( CHANGELOG.md README.md )
+ meson_src_install
+
+ rm -r "${ED}/usr/share/doc/${PN}" || die
+}
diff --git a/gui-apps/foot/metadata.xml b/gui-apps/foot/metadata.xml
new file mode 100644
index 000000000000..ad620b602788
--- /dev/null
+++ b/gui-apps/foot/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>arsen@aarsen.me</email>
+ <name>Arsen Arsenović</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="grapheme-clustering">Enable grapheme clustering support</flag>
+ </use>
+</pkgmetadata>