mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
gui-apps/foot: add 1.22.1
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
This commit is contained in:
parent
13c6d26b11
commit
9e7fdbfcdd
@ -13,3 +13,5 @@ DIST foot-1.21.0.tar.gz 603704 BLAKE2B edc86710d9a6b5c4fa00b0be0584c6958af6eae14
|
||||
DIST foot-1.21.0.tar.gz.sig 584 BLAKE2B 5703c1108aba9a54cc4920e0f9376aaa7ac9fed69a33aa5b0da251613a96922a6f5d2044d5e574acee6ff921ebbf6fe9498852dea082ed49b21bfeabf34f0b39 SHA512 be7ff8e3d19981882f3c65514f56fc73ab9bba1240a1aec2245e59183dd227e8ee3001366f7b82cc85f1374982d7835f12218a479a8a243e54fd88ab188e6f2f
|
||||
DIST foot-1.22.0.tar.gz 607291 BLAKE2B 304182d50011ac72d225708026f3358100ef595c19f4915f097df785f0d966826069c74b649fa9b30ab62662f3deb97792d33ee523d1939450ae6375e4b5ff3f SHA512 faa0305fef89ab40a70fab3336195e8212cf94fa34c44594c06260f14e318cfbc33fba7368b19901b636872c689caf4e59f7cf37f427adba0680fbd528cfeda8
|
||||
DIST foot-1.22.0.tar.gz.sig 584 BLAKE2B 5b54872c3a245accd133ff83fa803f96e9c9247838f2bd5a393b2a030b22770943693e4c6463aaf3f3da8363caba4b54ecad1eaf5c13494bdff0017353e4652a SHA512 6e37b58c9f9737c03175db282dba0d029aa64e198f6093473f3fcfa62790985529797485c5622fd8082d59761ed374e27155bba43092b2dfeff1e0688cb2d546
|
||||
DIST foot-1.22.1.tar.gz 608057 BLAKE2B 7925d92a24e81bd276be5d344ca3b0500bdb7cf4b48059d53938882cc257e95ade355e8257772f87bd2a8fa5ede8e8740466aaef8f5dfd030fbabf4611abb79d SHA512 4dd09bbae5d494ad6bf3566ba0cc221139f25d324113f1100c6e7e4342f22bbd8fb9148c7d195f6295216a0eeb9111f1549ef91df98184ff09df31c3bdc2494b
|
||||
DIST foot-1.22.1.tar.gz.sig 584 BLAKE2B 2f9a7f2dc99428d94fb70c830e03bab8de6e501e100297f1195b9e127b085d5a52806f54d46094a0cba8c6a6956c8dc73fddde8ab4b343dc529e5f62812cb1a6 SHA512 3a9eaaa75c92e89b3815cfa3df8944ba56f3078a287fdea693ba5ab5f4e823f2cfccb24c1275b9dc95d4b9463ab519422a765fa0ce1b11b6470b4349c2e65ea5
|
||||
|
||||
92
gui-apps/foot/foot-1.22.1.ebuild
Normal file
92
gui-apps/foot/foot-1.22.1.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"
|
||||
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
|
||||
|
||||
# adjujst 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user