summaryrefslogtreecommitdiff
blob: d25c829ba7c4151fdccac351ee749a0b2f840591 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit leechcraft

DESCRIPTION="Network monitor plugin for LeechCraft"

SLOT="0"
KEYWORDS=""
IUSE="debug"

DEPEND="~app-leechcraft/lc-core-${PV}
	x11-libs/qwt:6[qt5]
	dev-libs/libnl:3
	dev-qt/qtnetwork:5
	dev-qt/qtwidgets:5
	dev-qt/qtdeclarative:5[widgets]
	"
RDEPEND="${DEPEND}
	~virtual/leechcraft-quark-sideprovider-${PV}"

pkg_postinst() {
	if has_version 'dev-qt/qtnetwork:5[-connman,-networkmanager]'; then
		ewarn "dev-qt/qtnetwork:5 was built without any bearer plugins, so detecting network"
		ewarn "devices may be crippled. Consider enabling either 'connman' or 'networkmanager'"
		ewarn "USE flags if that is a problem for you."
	fi
}