summaryrefslogtreecommitdiff
blob: 0edbf9f768ffc8ace0958392687c931480cb7000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit leechcraft

DESCRIPTION="UPower-based power manager for LeechCraft"

SLOT="0"
KEYWORDS=""
IUSE="+battery debug +poweractions +powerevents"

DEPEND="~app-leechcraft/lc-core-${PV}
	dev-qt/qtconcurrent:5
	dev-qt/qtdbus:5
	dev-qt/qtnetwork:5
	dev-qt/qtwidgets:5
	x11-libs/qwt:6
"
RDEPEND="${DEPEND}
	~virtual/leechcraft-trayarea-${PV}
	battery? ( sys-power/upower )
	poweractions? ( sys-power/upower )
	powerevents? ( || ( sys-auth/consolekit sys-auth/elogind sys-power/upower ) )
"

REQUIRED_USE="|| ( battery poweractions powerevents )"