blob: c19f1e9c226bc1e6a738064b5d179c980eb535d8 (
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
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit leechcraft
DESCRIPTION="Network monitor plugin for LeechCraft"
SLOT="0"
KEYWORDS=""
IUSE="debug"
DEPEND="~app-leechcraft/lc-core-${PV}
dev-libs/libnl:3
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
x11-libs/qwt:6
"
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
}
|