summaryrefslogtreecommitdiff
blob: d5e58b4805f99ca570d3f9394599c6d4e48686e0 (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 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit desktop qmake-utils

DESCRIPTION="Tests local resolver for support of DNSSEC validation"
HOMEPAGE="https://www.dnssec-tools.org"
SRC_URI="https://www.dnssec-tools.org/download/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="
	dev-qt/qtdeclarative:5
	net-dns/dnssec-validator[threads]
"
DEPEND="${RDEPEND}"

src_prepare() {
	default
	sed -e '/Exec=/s:/opt::' -i ${PN}.desktop || die
}

src_configure() {
	eqmake5 ${PN}.pro
}

src_install() {
	emake INSTALL_ROOT="${D}/usr" install

	doicon ${PN}.png
	domenu ${PN}.desktop
}