From 883af5487836f6a10508fffa63c54c2c2a489ada Mon Sep 17 00:00:00 2001
From: 0xd34df00d <0xd34df00d@gmail.com>
Date: Tue, 7 Mar 2017 04:25:54 +0100
Subject: [PATCH] app-leechcraft/lc-kbswitch: use pkg_postinst suggestion
instead of RDEPEND
Closes: https://github.com/gentoo/gentoo/pull/4146
---
app-leechcraft/lc-kbswitch/lc-kbswitch-9999.ebuild | 11 ++++++++---
app-leechcraft/lc-kbswitch/metadata.xml | 3 ---
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/app-leechcraft/lc-kbswitch/lc-kbswitch-9999.ebuild b/app-leechcraft/lc-kbswitch/lc-kbswitch-9999.ebuild
index 2fb40905fd0cd..10cdc5bac1134 100644
--- a/app-leechcraft/lc-kbswitch/lc-kbswitch-9999.ebuild
+++ b/app-leechcraft/lc-kbswitch/lc-kbswitch-9999.ebuild
@@ -3,13 +3,13 @@
EAPI=6
-inherit leechcraft
+inherit eutils leechcraft
DESCRIPTION="Provides plugin- or tab-grained keyboard layout control"
SLOT="0"
KEYWORDS=""
-IUSE="debug quark"
+IUSE="debug"
DEPEND="~app-leechcraft/lc-core-${PV}
dev-qt/qtnetwork:5
@@ -19,4 +19,9 @@ DEPEND="~app-leechcraft/lc-core-${PV}
"
RDEPEND="${DEPEND}
x11-apps/setxkbmap
- quark? ( ~virtual/leechcraft-quark-sideprovider-${PV} )"
+ "
+
+pkg_postinst() {
+ elog "Consider installing the following for additional features:"
+ optfeature "display layout indicator in LeechCraft tray" virtual/leechcraft-quark-sideprovider
+}
diff --git a/app-leechcraft/lc-kbswitch/metadata.xml b/app-leechcraft/lc-kbswitch/metadata.xml
index 3c7b5c6f28cf4..ef43617d9e97c 100644
--- a/app-leechcraft/lc-kbswitch/metadata.xml
+++ b/app-leechcraft/lc-kbswitch/metadata.xml
@@ -9,7 +9,4 @@
proxy-maint@gentoo.org
Proxy Maintainers
-