30 lines
764 B
Bash
30 lines
764 B
Bash
# 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
|
|
}
|