summaryrefslogtreecommitdiff
path: root/app-misc/qman/qman-9999.ebuild
blob: e5d37e8b8e93062730520a22c8a9e27d672c6a69 (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
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson git-r3

DESCRIPTION="A more modern manual page viewer for our terminals"
HOMEPAGE="https://github.com/plp13/qman"
EGIT_REPO_URI="https://github.com/plp13/qman.git"
EGIT_BRANCH="devel"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS=""
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_configure() {
	local emesonargs=(
		$(meson_feature doc docs)
		$(meson_feature test tests)
		$(meson_feature elibc_musl libbsd)
		-Ddocdir="/usr/share/doc/${PF}"
	)
	meson_src_configure
}