From e2ef92ad6d98486908514f92ec28f0a2dba3bc88 Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Thu, 7 Jan 2021 02:10:58 +0000 Subject: [PATCH] gui-apps/foot-terminfo: New package Create separate terminfo package for foot terminal emulator. Package is not in x11-terms since foot only runs on Wayland. Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Ryan Fox --- gui-apps/foot-terminfo/Manifest | 4 +++ .../foot-terminfo/foot-terminfo-1.6.2.ebuild | 33 +++++++++++++++++++ .../foot-terminfo/foot-terminfo-9999.ebuild | 33 +++++++++++++++++++ gui-apps/foot-terminfo/metadata.xml | 8 +++++ 4 files changed, 78 insertions(+) create mode 100644 gui-apps/foot-terminfo/Manifest create mode 100644 gui-apps/foot-terminfo/foot-terminfo-1.6.2.ebuild create mode 100644 gui-apps/foot-terminfo/foot-terminfo-9999.ebuild create mode 100644 gui-apps/foot-terminfo/metadata.xml diff --git a/gui-apps/foot-terminfo/Manifest b/gui-apps/foot-terminfo/Manifest new file mode 100644 index 0000000..bd9671c --- /dev/null +++ b/gui-apps/foot-terminfo/Manifest @@ -0,0 +1,4 @@ +DIST foot-terminfo-1.6.2.tar.gz 340942 BLAKE2B 7704a1a20c8e474a1185c1e4433f58537a12c8984b90ab9164094efae584d2aa93fd44b3b8cb094c3aa811fb3c5d835a4463030384deab72b242d943b2aa8d3f SHA512 7a18af2bdf9fc1540dc47bdfe599714edea62f4297cc2916f132f8d9d688c11e8ce1fd368e32dabcac2c90c20aac36a17cc263d29d1ad7bb492486fdee1cfe75 +EBUILD foot-terminfo-1.6.2.ebuild 667 BLAKE2B 9a86421daea3a8001066fe54a17031b5d528527fbc8c4ae2ae4ba6802bd7e2545ff2c20d6792f176f43e5c6b0d784d8a0c578e8127c5f26a78434fc05eca5518 SHA512 a69a9aa9420b4bb1b265c28c2df27540a4263a3f0e46d932892ab49ee2a2c6c7dba993bcd8ec85b9c1c54a0071c399452ff92692a0021856cd5f66d84e6188b5 +EBUILD foot-terminfo-9999.ebuild 667 BLAKE2B 9a86421daea3a8001066fe54a17031b5d528527fbc8c4ae2ae4ba6802bd7e2545ff2c20d6792f176f43e5c6b0d784d8a0c578e8127c5f26a78434fc05eca5518 SHA512 a69a9aa9420b4bb1b265c28c2df27540a4263a3f0e46d932892ab49ee2a2c6c7dba993bcd8ec85b9c1c54a0071c399452ff92692a0021856cd5f66d84e6188b5 +MISC metadata.xml 236 BLAKE2B fdb34c66e3059efc0efb2328ffedb24c495be95dfeb68b7adcdf5ab1a88eee6788294d07ec032238de7d9127cffd50a1598b42aa8f99d3d11f54a761c79a9482 SHA512 43add4c2db3d06110521dea982cfcbddc98d63bb1e1b89952511654d54f09746e0d76ac1e0f0e70d2832357f44fe11fc4653500b856c7b29d05a55bb70535e80 diff --git a/gui-apps/foot-terminfo/foot-terminfo-1.6.2.ebuild b/gui-apps/foot-terminfo/foot-terminfo-1.6.2.ebuild new file mode 100644 index 0000000..8402188 --- /dev/null +++ b/gui-apps/foot-terminfo/foot-terminfo-1.6.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [[ ${PV} != *9999* ]]; then + SRC_URI="https://codeberg.org/dnkl/foot/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/foot" +else + inherit git-r3 + EGIT_REPO_URI="https://codeberg.org/dnkl/foot.git" +fi + +DESCRIPTION="Terminfo for foot, a great Wayland terminal emulator" +HOMEPAGE="https://codeberg.org/dnkl/foot" +LICENSE="MIT" +SLOT="0" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile() { + meson_src_compile "f" +} + +src_install() { + dodir /usr/share/terminfo/f/ + cp "${BUILD_DIR}/f/"* "${D}/usr/share/terminfo/f/" +} diff --git a/gui-apps/foot-terminfo/foot-terminfo-9999.ebuild b/gui-apps/foot-terminfo/foot-terminfo-9999.ebuild new file mode 100644 index 0000000..8402188 --- /dev/null +++ b/gui-apps/foot-terminfo/foot-terminfo-9999.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [[ ${PV} != *9999* ]]; then + SRC_URI="https://codeberg.org/dnkl/foot/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/foot" +else + inherit git-r3 + EGIT_REPO_URI="https://codeberg.org/dnkl/foot.git" +fi + +DESCRIPTION="Terminfo for foot, a great Wayland terminal emulator" +HOMEPAGE="https://codeberg.org/dnkl/foot" +LICENSE="MIT" +SLOT="0" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile() { + meson_src_compile "f" +} + +src_install() { + dodir /usr/share/terminfo/f/ + cp "${BUILD_DIR}/f/"* "${D}/usr/share/terminfo/f/" +} diff --git a/gui-apps/foot-terminfo/metadata.xml b/gui-apps/foot-terminfo/metadata.xml new file mode 100644 index 0000000..b27c0d9 --- /dev/null +++ b/gui-apps/foot-terminfo/metadata.xml @@ -0,0 +1,8 @@ + + + + +flewkey@2a03.party +Ryan Fox + +