commit:     883af5487836f6a10508fffa63c54c2c2a489ada
Author:     0xd34df00d <0xd34df00d <AT> gmail <DOT> com>
AuthorDate: Tue Mar  7 03:25:54 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Mar  7 09:17:12 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=883af548

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 2fb40905fd0..10cdc5bac11 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 3c7b5c6f28c..ef43617d9e9 100644
--- a/app-leechcraft/lc-kbswitch/metadata.xml
+++ b/app-leechcraft/lc-kbswitch/metadata.xml
@@ -9,7 +9,4 @@
                <email>[email protected]</email>
                <name>Proxy Maintainers</name>
        </maintainer>
-       <use>
-               <flag name="quark">Provide sidebar quark</flag>
-       </use>
 </pkgmetadata>

Reply via email to