app-leechcraft/lc-liznoo: bump EAPI, reorganize runtime deps
author0xd34df00d <0xd34df00d@gmail.com>
Fri, 17 Apr 2020 18:14:43 +0000 (20:14 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Wed, 6 May 2020 11:50:51 +0000 (14:50 +0300)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Georg Rudoy <0xd34df00d@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
app-leechcraft/lc-liznoo/lc-liznoo-9999.ebuild
app-leechcraft/lc-liznoo/metadata.xml

index 36e6071f9135f4d6bc80b925bedc63efcd0dd685..bc79d06c7da55d63ea249ce3ef6104658715574f 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit leechcraft
 
@@ -9,15 +9,18 @@ DESCRIPTION="UPower-based power manager for LeechCraft"
 
 SLOT="0"
 KEYWORDS=""
-IUSE="debug"
+IUSE="+battery debug +poweractions +powerevents"
 
 DEPEND="~app-leechcraft/lc-core-${PV}
-       x11-libs/qwt:6
+       dev-qt/qtconcurrent:5
+       dev-qt/qtdbus:5
        dev-qt/qtnetwork:5
        dev-qt/qtwidgets:5
-       dev-qt/qtdbus:5
-       dev-qt/qtconcurrent:5
+       x11-libs/qwt:6
 "
 RDEPEND="${DEPEND}
        ~virtual/leechcraft-trayarea-${PV}
-       sys-power/upower"
+       battery? ( sys-power/upower )
+       poweractions? ( sys-power/upower )
+       powerevents? ( || ( sys-auth/consolekit sys-auth/elogind sys-power/upower ) )
+"
index ef43617d9e97c331350b2f2f78b4f25375e2983f..a839f4a2b756a97d86d64c1bacb21ebcb5fec214 100644 (file)
@@ -9,4 +9,9 @@
                <email>proxy-maint@gentoo.org</email>
                <name>Proxy Maintainers</name>
        </maintainer>
+       <use>
+               <flag name="battery">Enables battery charge level reading support.</flag>
+               <flag name="poweractions">Enables support for suspending and hibernating the machine.</flag>
+               <flag name="powerevents">Enables support for receiving events about suspending and resuming the machine (to notify other plugins).</flag>
+       </use>
 </pkgmetadata>