summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-leechcraft/lc-lemon/lc-lemon-9999.ebuild')
-rw-r--r--app-leechcraft/lc-lemon/lc-lemon-9999.ebuild23
1 files changed, 16 insertions, 7 deletions
diff --git a/app-leechcraft/lc-lemon/lc-lemon-9999.ebuild b/app-leechcraft/lc-lemon/lc-lemon-9999.ebuild
index 87a7d0a9610..d24ea2b0cef 100644
--- a/app-leechcraft/lc-lemon/lc-lemon-9999.ebuild
+++ b/app-leechcraft/lc-lemon/lc-lemon-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI=6
inherit leechcraft
@@ -13,10 +13,19 @@ KEYWORDS=""
IUSE="debug"
DEPEND="~app-leechcraft/lc-core-${PV}
- ~virtual/leechcraft-quark-sideprovider-${PV}
- dev-qt/qtbearer:4
- dev-qt/qtdeclarative:4
+ x11-libs/qwt:6[qt5]
dev-libs/libnl:3
- x11-libs/qwt:6
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtdeclarative:5[widgets]
"
-RDEPEND="${DEPEND}"
+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
+}