blob: 2b9ddeb32a0c07f09c0aec0bb5ed43e790533e87 (
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
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="A more modern manual page viewer for our terminals"
HOMEPAGE="https://github.com/plp13/qman"
SRC_URI="https://github.com/plp13/qman/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+doc test"
RESTRICT="!test? ( test )"
DEPEND="
sys-libs/ncurses:=
dev-libs/inih
virtual/zlib:=
elibc_musl? (
dev-libs/libbsd
)
"
BDEPEND="
dev-python/cogapp
test? (
dev-util/cunit
)
"
RDEPEND="${DEPEND}"
src_prepare() {
if use elibc_musl; then
eapply "${FILESDIR}"/${P}-musl-libc-fix.patch
fi
default
}
src_configure() {
local emesonargs=(
$(meson_feature doc docs)
$(meson_feature test tests)
$(meson_feature elibc_musl libbsd)
-Ddocdir="/usr/share/doc/${PF}"
)
meson_src_configure
}
|