summaryrefslogtreecommitdiff
path: root/kde-plasma/powerdevil
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-02-11 16:09:52 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-02-11 16:09:52 +0000
commitf78108598211053d41752a83e0345441bb9014ae (patch)
treedd2fc7ae0a1aea7bda4942ab0c453d1e55284b37 /kde-plasma/powerdevil
parentdc45b83b28fb83e9659492066e347b8dc60bc9e3 (diff)
gentoo resync : 11.02.2018
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r--kde-plasma/powerdevil/Manifest4
-rw-r--r--kde-plasma/powerdevil/metadata.xml1
-rw-r--r--kde-plasma/powerdevil/powerdevil-5.12.0.ebuild82
3 files changed, 86 insertions, 1 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest
index 8abc197d1e1e..65f9ab23a449 100644
--- a/kde-plasma/powerdevil/Manifest
+++ b/kde-plasma/powerdevil/Manifest
@@ -4,5 +4,7 @@ AUX 30-org.freedesktop.consolekit.system.restart-multiple-users.pkla 325 BLAKE2B
AUX 40-org.freedesktop.consolekit.system.suspend-multiple-users.pkla 367 BLAKE2B a43d81771fe1fee025aa631a4f026d6ef9bf9d26fa8b377e5f658d85c85d1182e3e9f5ddeb6f1bf8aa0ddf22657b7a0afe0ffbd60cb447925eb411c9603da499 SHA512 c359ed4a577f02810b56fd6032cce1b59df720598f7ea61e68d74dae2929a2ac81b1db3ffa57e9aa29c594639f3ea6875f2f7cdef214e7f61fd37c153c7b1444
AUX 50-org.freedesktop.consolekit.system.hibernate-multiple-users.pkla 308 BLAKE2B 96be3dcfd39eb58a71c0755e81c33bb8a9fdc5011b8270918cb6dbee59e6cefee98677e63ad5cded12bf2389a3b49259eaa5b0d7f390190084ef6e11ad7408e0 SHA512 f3051bdb62ca0c0e63f35f95cfbf6c8afcc9910fb61be8d78c7769a4e01f8d4a8b5c96a7ffa2b5f8be200a5f23f08ec4201a2d8ffc6230e9468807d7b79d85fe
DIST powerdevil-5.11.5.tar.xz 392664 BLAKE2B c348dd3258a9724f0f4b79dd20e7bc4b96d6e1a062322c07b6f86c20c36319b723b9ab1fcb622b7e55001ab79db24e91b1c8f7baa5b84706bb3fab79835ba445 SHA512 8d3658b5cfe53fbe43880f6ca2346edcfb715975798b20d2059267b4daa47511fe9fb17a5b9882c21b75f80a57763a434373607a79594684fb044aae39cd0fb3
+DIST powerdevil-5.12.0.tar.xz 379900 BLAKE2B 86b361e224f9975aa4119ad536a2a80b2da38eae38df0538ce1c10876d4d0824321a86bdc2018b16fdd9b11b6c85cc5aa2c097b0185a1d7e1efed52f474ae628 SHA512 16a6cbb5eae7109ee0980f530747777f3ba478726c78659c576a30c4223e833522e358eefaa9683902caf9665faaeab60391135332e05acd97cd69f7c7ad8107
EBUILD powerdevil-5.11.5.ebuild 2252 BLAKE2B d4f9db9d39cbed2225803934c83bb9449187002ed76aff2770990a5f583c8ec7cb184a0db0c4f68e9b17637dfb9dfdfc4f83614705825e9e7341a38cb9a47c1a SHA512 d3405de703cf20d706014e9207157f029a10412cf8763db86840923b68966e3e8ff20ec5618dbbc4d022b5d8eb70eb4dedb9ae785811871d84054ac6014d1672
-MISC metadata.xml 534 BLAKE2B 97d15a7a27a14bea3c3301845fa9fced477357f50b4c507c469be325b427559e3740d2b2242de37c6e5139244ef2ca5ae7e89746cb0f1cbbf45725973e53ff57 SHA512 5bb040940f1c41b842305cdc4b25a3422fd0b4252009006f1c149081c56ebb4e234fe59bc5e1de593854c8846f9b1f890ba4ad54c160b9d381ad45b35a831c5e
+EBUILD powerdevil-5.12.0.ebuild 2338 BLAKE2B afa6783b0a2cdd6cf908ac63d8ffae25c5a43074af6ec1a1cd6020469efd071660575fe308f5627af2e1b2a3aee257e0a5c9ba0e7b2046ab7969fcc4f133b353 SHA512 639ca301d9a4dc62a721956897e2bd417b11a0e620cdb6261e39c9b38056eb2821af78fd797d980e082cc22f128f73227b3dbde096ad489cce0944a5ff7d4995
+MISC metadata.xml 642 BLAKE2B 51a6b9a3c4cd0040241ac6be1b9669d7b7b77bda831ddec18380fb4f2b1af4072d0ede8281d3b05da41a6744db95b588dde3efccd4b339e289aee053645231c1 SHA512 870a09abe650b373cd7a4050308fbcc83da772acaf615c36232701fe53835f8bf9d4d092259da42417f97387ed2b37f19d4f4fffbec31087dfa7188bb8bb7056
diff --git a/kde-plasma/powerdevil/metadata.xml b/kde-plasma/powerdevil/metadata.xml
index 86d83ec7bd61..35e126c72166 100644
--- a/kde-plasma/powerdevil/metadata.xml
+++ b/kde-plasma/powerdevil/metadata.xml
@@ -6,6 +6,7 @@
<name>Gentoo KDE Project</name>
</maintainer>
<use>
+ <flag name="brightness-control">Enable screen brightness control using <pkg>app-misc/ddcutil</pkg></flag>
<flag name="consolekit">Enable <pkg>sys-auth/consolekit</pkg> support instead of logind session tracking</flag>
<flag name="wireless">Enable wireless energy saving actions via <pkg>kde-frameworks/bluez-qt</pkg> and <pkg>kde-frameworks/networkmanager-qt</pkg></flag>
</use>
diff --git a/kde-plasma/powerdevil/powerdevil-5.12.0.ebuild b/kde-plasma/powerdevil/powerdevil-5.12.0.ebuild
new file mode 100644
index 000000000000..16f648877dad
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-5.12.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="Power management for KDE Plasma Shell"
+HOMEPAGE="https://cgit.kde.org/powerdevil.git"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="brightness-control consolekit +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 kdelibs4support)
+ $(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 plasma-workspace)
+ $(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
+ consolekit? (
+ >=sys-auth/consolekit-1.0.1
+ sys-auth/polkit-pkla-compat
+ sys-power/pm-utils
+ )
+ !kde-plasma/powerdevil:4
+ !kde-plasma/systemsettings:4[handbook]
+"
+
+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
+}
+
+src_install() {
+ kde5_src_install
+
+ if use consolekit ; then
+ insinto /etc/polkit-1/localauthority/10-vendor.d/
+ doins "${FILESDIR}"/10-org.freedesktop.upower.pkla
+ doins "${FILESDIR}"/20-org.freedesktop.consolekit.system.stop-multiple-users.pkla
+ doins "${FILESDIR}"/30-org.freedesktop.consolekit.system.restart-multiple-users.pkla
+ doins "${FILESDIR}"/40-org.freedesktop.consolekit.system.suspend-multiple-users.pkla
+ doins "${FILESDIR}"/50-org.freedesktop.consolekit.system.hibernate-multiple-users.pkla
+ fi
+}