summaryrefslogtreecommitdiff
blob: 23ffa4d06bc9d8e18de019f67f500630012096f0 (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
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="A program for visualizing NEC2 input and output data"
HOMEPAGE="https://www.pa3fwm.nl/software/xnecview/"
SRC_URI="https://www.pa3fwm.nl/software/xnecview/xnecview-${PV}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"

DEPEND="
	>=media-libs/libpng-1.6
	x11-libs/gtk+:2
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"

PATCHES=(
	"${FILESDIR}/${PN}-tc-variables.patch"
)

src_compile() {
	tc-export CC LD PKG_CONFIG
	emake
}

src_install() {
	dobin xnecview
	doman xnecview.1x
	dodoc README
	dodoc HISTORY
}