summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r--kde-plasma/powerdevil/Manifest1
-rw-r--r--kde-plasma/powerdevil/powerdevil-5.16.1.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest
index f98c3e69744e..3b0356bd5625 100644
--- a/kde-plasma/powerdevil/Manifest
+++ b/kde-plasma/powerdevil/Manifest
@@ -1,2 +1,3 @@
DIST powerdevil-5.15.5.tar.xz 599676 BLAKE2B baf8789982b640f8b09ddd66f2f5722df1da2c570267218e1216b8c4fec8160dc933da3cc2355d45ff475de4a5d0357f00ed84d1562f91a0534636bb092c863e SHA512 bc0a1af8eff7da7801b6644a2d28ff595b3052ebe0d59aa808c51dc1c3c3c787c7d7569cc59cca216757e57a67a4a957845792af78aeafb9a71d4ce37723b3b3
DIST powerdevil-5.16.0.tar.xz 589988 BLAKE2B 995e4d3605ebdff5e028d657897975c589d47ff688f1c0ef0eacee8849d642323a6b3b7cffa4c8eea091c8996bef9fdcb4197d41cca3667dbad7cba9cc7b4ed2 SHA512 2f62c00f2606dad13150d51e7a26db7dbd99078393a7056885d5ad848bb664b040022be668eec1ae2d03890b0006fa9025701ab55ce1a710e2c8d8801e0dac75
+DIST powerdevil-5.16.1.tar.xz 590044 BLAKE2B 54f76ab7cc127893dd1e281be51b9d684112ccee6e7b50e838199b80fce7c567932572737b59231b98b17999b0640b71c7fb2ce58b1811c74c593f24eb71af8e SHA512 4b7f7c728978289ac25fe9e54643b7bd486a67920d4d2aff0ee6767ecb3b989d6cafbc4a3b5c08cd2ba3e9b03d601d6b736fff0c73552fb8a2c4edc951ffabf9
diff --git a/kde-plasma/powerdevil/powerdevil-5.16.1.ebuild b/kde-plasma/powerdevil/powerdevil-5.16.1.ebuild
new file mode 100644
index 000000000000..752e8c8dbc3b
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-5.16.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Power management for KDE Plasma Shell"
+HOMEPAGE="https://cgit.kde.org/powerdevil.git"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="brightness-control +wireless"
+
+DEPEND="
+ $(add_frameworks_dep kactivities)
+ $(add_frameworks_dep kauth policykit)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep kglobalaccel)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kidletime)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep knotifications)
+ $(add_frameworks_dep knotifyconfig)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep kwayland)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_frameworks_dep solid)
+ $(add_plasma_dep libkscreen)
+ $(add_plasma_dep libkworkspace)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtx11extras)
+ virtual/libudev:=
+ x11-libs/libxcb
+ brightness-control? ( app-misc/ddcutil )
+ wireless? (
+ $(add_frameworks_dep bluez-qt)
+ $(add_frameworks_dep networkmanager-qt)
+ )
+"
+RDEPEND="${DEPEND}
+ $(add_plasma_dep kde-cli-tools)
+ >=sys-power/upower-0.9.23
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_DDCUTIL=$(usex brightness-control)
+ $(cmake-utils_use_find_package wireless KF5BluezQt)
+ $(cmake-utils_use_find_package wireless KF5NetworkManagerQt)
+ )
+
+ kde5_src_configure
+}