mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
gui-apps/foot: add 1.23.0
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
This commit is contained in:
@@ -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.3.tar.gz 608413 BLAKE2B 0bb17c1d321fa6044ff7cf2a63d5c63c27a4239d23501c4d2ef5ed51701abc81cffc46cddcc0f2b3ef325cbeb20c6fc6bac812c240fe770bbc4ce2e2bfd7dbdd SHA512 dfcf5787c78ed7d290d67264fc79f5e21147fbf51ed3cd08da0d4e80c411fcf9d6d93db925922b359f93f6a81758053ee39d98898292e3315a8d1936f866cd08
|
||||
DIST foot-1.22.3.tar.gz.sig 584 BLAKE2B 978c33669ca14ee9ea20fd008e8e91ca5aa7026faf63b501ce88643cc0332da8f982bd65831dfd0d4dde41f8b25958a303f9e161288e381cb1d5019d53652e66 SHA512 58cc661158aaa010b41187097f5406c4643c8a629c135a0ea319809689cf93282f0d62c324819a129fe03c8272450494f13bb6818f8e9d43fd8e4c951180afcc
|
||||
DIST foot-1.23.0.tar.gz 613190 BLAKE2B 17399641378ccc85ea9cb5ddb8ae7d975e3633a7b9f931352d200b2e3e83d4efa7aa9d728ea405f08bca848de0c4f8c696c859921aa08f9eb03445baaa5bfb0d SHA512 ba810e2f06757873c448092b52bb8ac097deb7104cb007d2279b0715d05cc49296cc3d72736d966f7bcb6f972f39689454e3fde654e70f1a5efc0d4571062484
|
||||
DIST foot-1.23.0.tar.gz.sig 584 BLAKE2B 5d153e62c1cdc5e1d32c575cd4d43fb4cbb26a6950ed8023a555f87833b65d0cec034cfe187de222dd7045c1bd0001e4f30e1efecdd5bbeac359ed1f65cb17fe SHA512 96b72ffaeb380be64d813240ca76c3db72b5d0ec7a075277869f6141561e32a4ddaf2fc19aa9afa50edb085594575d133ae435bd9c1ece1c05336a5a1f6436a2
|
||||
|
||||
92
gui-apps/foot/foot-1.23.0.ebuild
Normal file
92
gui-apps/foot/foot-1.23.0.ebuild
Normal file
@@ -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 ~x86"
|
||||
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
|
||||
|
||||
# adjust 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
|
||||
}
|
||||
Reference in New Issue
Block a user