summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-06-17 21:28:33 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-06-17 21:28:48 +1000
commitb56c4afdc884086debd747c1e014a98e7b71f721 (patch)
tree486325c38e5ec3b79507d919a98344f21b9fa0ae /kde-plasma/powerdevil
parentdev-libs/libutf8proc: Fix S, thanks AlexOmskiy@yandex.ru and Philipp Ammann, ... (diff)
downloadgentoo-b56c4afdc884086debd747c1e014a98e7b71f721.tar.gz
gentoo-b56c4afdc884086debd747c1e014a98e7b71f721.tar.bz2
gentoo-b56c4afdc884086debd747c1e014a98e7b71f721.zip
kde-plasma: version bump 5.6.5
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r--kde-plasma/powerdevil/Manifest1
-rw-r--r--kde-plasma/powerdevil/powerdevil-5.6.5.ebuild85
2 files changed, 86 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest
index 6398b6bf442e..fd839c2788c7 100644
--- a/kde-plasma/powerdevil/Manifest
+++ b/kde-plasma/powerdevil/Manifest
@@ -1,2 +1,3 @@
DIST powerdevil-5.5.5.tar.xz 346352 SHA256 73bfbf63317448a3ab92e5250a016bf7c5628ec10cdf277239dde4e8af2160e9 SHA512 e344ad9654eedfcc396fda9997a91bcf97ea63c2712febf024ee9bdb0d9839e9eeebe32dcdb7dccfacda03f1e51ec499e40c88e59b32d0409eb12116149c4772 WHIRLPOOL f79581fe298eea827233647eb961e29cf99cef57c60c52f3037316015b953517f64a8a1472e870a98d3f25488224834022a3c49988c1b09f90c8a68a69f029d1
DIST powerdevil-5.6.4.tar.xz 353804 SHA256 a5864679d3cd7752c4d6601853c18f18239606f153d347010c1f1da31de3607b SHA512 bc0acce2e0b9453c882e0d0cc95e9dd8d73b9c54e2334ad9e6c3de87605bcc88d1df5d664d5c0acdfbbcd128696d515a07028680cdb79af48676f8cc24fee4dc WHIRLPOOL eb9bb00e0eb566ef91a4c216331002697c6ad272dcae31aa8249c1983459d10bca9d3fefb87a4752b2fe4d3a212613b41ac9d2fc1c55ea51114da189c37f2ec5
+DIST powerdevil-5.6.5.tar.xz 353788 SHA256 6761a3044e94f65ede54e14f0c548eb4b3ced9a4a9499935f33a2e1cc2b0a01f SHA512 4e2c32770758e56a3d2cca65c5603dd41d8703921ec899ac2baef69d0f26b73c0cf7207aa3a5447c77c9339cde3910c846510a099b9789c66eeb633d7d89cddc WHIRLPOOL e6f7c9f6ef182369a01b10e1ea63b648894efce295b3e9470519f0fdbc29be04514f7477e74032ac24c17906953292e9049178919b458c4a919b7564042abf29
diff --git a/kde-plasma/powerdevil/powerdevil-5.6.5.ebuild b/kde-plasma/powerdevil/powerdevil-5.6.5.ebuild
new file mode 100644
index 000000000000..be3eaf559050
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-5.6.5.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="Power management for KDE Plasma Shell"
+HOMEPAGE="https://projects.kde.org/projects/kde/workspace/powerdevil"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="systemd"
+
+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 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
+"
+
+RDEPEND="${DEPEND}
+ $(add_plasma_dep kde-cli-tools)
+ systemd? ( >=sys-power/upower-0.9.23 )
+ !systemd? (
+ sys-auth/polkit-pkla-compat
+ || (
+ (
+ >=sys-auth/consolekit-1.0.1
+ sys-power/pm-utils
+ >=sys-power/upower-0.9.23
+ )
+ sys-power/upower-pm-utils
+ )
+ )
+ !kde-base/powerdevil:4
+ !kde-base/systemsettings:4[handbook]
+"
+
+src_install() {
+ kde5_src_install
+
+ if ! use systemd ; 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
+ fi
+}
+
+pkg_postinst() {
+ kde5_pkg_postinst
+
+ if has_version sys-power/upower-pm-utils && ! use systemd ; then
+ ewarn "You have sys-power/upower-pm-utils installed, which was recommended in the past to"
+ ewarn "enable suspend and hibernate support. This workaround is no longer required, and it"
+ ewarn "is now recommended to use a recent version of upower and consolekit instead:"
+ ewarn
+ ewarn "emerge --ask --update \">=sys-auth/consolekit-1.0.0\" sys-power/upower"
+ fi
+}