blob: 765eecea4e9fbbf53ea9f9f0beb7a72afc6ba78f (
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
|
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson xdg
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://codeberg.org/dnkl/foot/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}"
else
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/dnkl/foot.git"
fi
DESCRIPTION="A fast, lightweight and minimalistic Wayland terminal emulator"
HOMEPAGE="https://codeberg.org/dnkl/foot"
LICENSE="MIT"
SLOT="0"
IUSE="ime"
DEPEND="
dev-libs/wayland
media-libs/fcft
media-libs/fontconfig
media-libs/freetype
x11-libs/libxkbcommon
x11-libs/pixman
"
RDEPEND="
${DEPEND}
gui-apps/foot-terminfo
"
BDEPEND="
app-text/scdoc
dev-libs/tllist
dev-libs/wayland-protocols
sys-libs/ncurses
"
src_configure() {
local emesonargs=(
$(meson_use ime)
"-Dterminfo=disabled"
"-Dwerror=false"
)
meson_src_configure
}
src_install() {
meson_src_install
mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}"
}
|