blob: e70cf3b961c968534d34a7cd13a64e698ae14f56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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
}
|