1 |
commit: c9474a17352fe17d9c0019ba6354125e0bb7677b |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 18 18:17:08 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 18 19:04:37 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9474a17 |
7 |
|
8 |
kde-plasma/powerdevil: Drop USE consolekit optional RDEPEND |
9 |
|
10 |
Moved to kde-plasma/plasma-meta instead. |
11 |
|
12 |
Package-Manager: Portage-2.3.51, Repoman-2.3.12 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
kde-plasma/powerdevil/powerdevil-5.14.3-r1.ebuild | 63 +++++++++++++++++++++++ |
16 |
1 file changed, 63 insertions(+) |
17 |
|
18 |
diff --git a/kde-plasma/powerdevil/powerdevil-5.14.3-r1.ebuild b/kde-plasma/powerdevil/powerdevil-5.14.3-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..192b30965b9 |
21 |
--- /dev/null |
22 |
+++ b/kde-plasma/powerdevil/powerdevil-5.14.3-r1.ebuild |
23 |
@@ -0,0 +1,63 @@ |
24 |
+# Copyright 1999-2018 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=6 |
28 |
+ |
29 |
+KDE_HANDBOOK="true" |
30 |
+inherit kde5 |
31 |
+ |
32 |
+DESCRIPTION="Power management for KDE Plasma Shell" |
33 |
+HOMEPAGE="https://cgit.kde.org/powerdevil.git" |
34 |
+KEYWORDS="~amd64 ~arm ~x86" |
35 |
+IUSE="brightness-control +wireless" |
36 |
+ |
37 |
+DEPEND=" |
38 |
+ $(add_frameworks_dep kactivities) |
39 |
+ $(add_frameworks_dep kauth policykit) |
40 |
+ $(add_frameworks_dep kcompletion) |
41 |
+ $(add_frameworks_dep kconfig) |
42 |
+ $(add_frameworks_dep kconfigwidgets) |
43 |
+ $(add_frameworks_dep kcoreaddons) |
44 |
+ $(add_frameworks_dep kcrash) |
45 |
+ $(add_frameworks_dep kdbusaddons) |
46 |
+ $(add_frameworks_dep kglobalaccel) |
47 |
+ $(add_frameworks_dep ki18n) |
48 |
+ $(add_frameworks_dep kidletime) |
49 |
+ $(add_frameworks_dep kio) |
50 |
+ $(add_frameworks_dep knotifications) |
51 |
+ $(add_frameworks_dep knotifyconfig) |
52 |
+ $(add_frameworks_dep kservice) |
53 |
+ $(add_frameworks_dep kwayland) |
54 |
+ $(add_frameworks_dep kwidgetsaddons) |
55 |
+ $(add_frameworks_dep kxmlgui) |
56 |
+ $(add_frameworks_dep solid) |
57 |
+ $(add_plasma_dep libkscreen) |
58 |
+ $(add_plasma_dep libkworkspace) |
59 |
+ $(add_qt_dep qtdbus) |
60 |
+ $(add_qt_dep qtgui) |
61 |
+ $(add_qt_dep qtwidgets) |
62 |
+ $(add_qt_dep qtx11extras) |
63 |
+ virtual/libudev:= |
64 |
+ x11-libs/libxcb |
65 |
+ brightness-control? ( app-misc/ddcutil ) |
66 |
+ wireless? ( |
67 |
+ $(add_frameworks_dep bluez-qt) |
68 |
+ $(add_frameworks_dep networkmanager-qt) |
69 |
+ ) |
70 |
+" |
71 |
+RDEPEND="${DEPEND} |
72 |
+ $(add_plasma_dep kde-cli-tools) |
73 |
+ >=sys-power/upower-0.9.23 |
74 |
+ !kde-plasma/powerdevil:4 |
75 |
+ !kde-plasma/systemsettings:4[handbook] |
76 |
+" |
77 |
+ |
78 |
+src_configure() { |
79 |
+ local mycmakeargs=( |
80 |
+ -DWITH_DDCUTIL=$(usex brightness-control) |
81 |
+ $(cmake-utils_use_find_package wireless KF5BluezQt) |
82 |
+ $(cmake-utils_use_find_package wireless KF5NetworkManagerQt) |
83 |
+ ) |
84 |
+ |
85 |
+ kde5_src_configure |
86 |
+} |