summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-11-01 20:34:20 +0100
committerJohannes Huber <johu@gentoo.org>2016-11-01 21:37:31 +0100
commit5c5502ad72e4d52a512eca3d9ddf38467d6c1b00 (patch)
tree225c22c90f772bf2e8b9a4e1dade50cf19176f23 /kde-plasma/powerdevil
parentdev-python/cryptography: add pytz dependency for tests (fixes bug 595270) (diff)
downloadgentoo-5c5502ad72e4d52a512eca3d9ddf38467d6c1b00.tar.gz
gentoo-5c5502ad72e4d52a512eca3d9ddf38467d6c1b00.tar.bz2
gentoo-5c5502ad72e4d52a512eca3d9ddf38467d6c1b00.zip
kde-plasma: Version bump KDE Plasma 5.8.3
Package-Manager: portage-2.3.2
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r--kde-plasma/powerdevil/Manifest1
-rw-r--r--kde-plasma/powerdevil/powerdevil-5.8.3.ebuild101
2 files changed, 102 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest
index 2f802ab8acf7..3c98a68c8871 100644
--- a/kde-plasma/powerdevil/Manifest
+++ b/kde-plasma/powerdevil/Manifest
@@ -1,2 +1,3 @@
DIST powerdevil-5.7.5.tar.xz 359656 SHA256 53f90edf793bb055e397d1860930a653a7cc519635c9a775ef97b1d7b18f2ec9 SHA512 f9261c8758f6f44ae4232f7182a3cf4afac17b672700d6ec8f277bf20306ab4f739a790c7738e5e30afdb8c4c7cf1db1b7c3327a547f12ef4dbc5f07879c7102 WHIRLPOOL a4e64f01a19c6053ca9b521f690d89c3c01c5a350d92510d8fec8162bfa2be2f72af9c838338af1787daefaf923b14255f34b37b78b87209be047a718da63476
DIST powerdevil-5.8.2.tar.xz 356140 SHA256 fdc8a5f43c27ebfa78940de031b113880ea6213e47b33b3e233ed2351c02532e SHA512 6651aaf245365288181e8b89bf6c8c9b1e39db800661e0cdd7d87c25603344e29d55d59ef465530b54d0dddde2d8c8b9167ec5a530ed13906f40fb1d54d6b2a8 WHIRLPOOL a9e3c626a06fd326059e7a057c40e6fcb1293855e242bc9404b8d5dfba441cedccce6767c3b47cd70b6c49baceeb4812ec365b3e00a27d1f6108a9422a9e0142
+DIST powerdevil-5.8.3.tar.xz 356356 SHA256 415f345af1efb94ea9d64942e149aa7686e769ebeec74f2fbd6c30b27ed7a9c6 SHA512 a250d7f93d268b4edd1b82fd28412dd7eb427485c805d319fc3806780a776112d576f3a6958c8826008889f13c6ba9e7d203512ee009046aa084e7024b4f7828 WHIRLPOOL 72ea1fbeac08df5c5ae9d30c5e85443fdb456b8b15227deee0b221825af6b37e1e7c29581c1d8684d2682aa929e97e5646644e001a7511dfab048f10c60b13c4
diff --git a/kde-plasma/powerdevil/powerdevil-5.8.3.ebuild b/kde-plasma/powerdevil/powerdevil-5.8.3.ebuild
new file mode 100644
index 000000000000..d814adc50157
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-5.8.3.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_GCC_MINIMAL="4.8"
+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 +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
+ wireless? (
+ $(add_frameworks_dep bluez-qt)
+ $(add_frameworks_dep networkmanager-qt)
+ )
+"
+
+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_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package wireless KF5BluezQt)
+ $(cmake-utils_use_find_package wireless KF5NetworkManagerQt)
+ )
+
+ kde5_src_configure
+}
+
+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
+ doins "${FILESDIR}"/50-org.freedesktop.consolekit.system.hibernate-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
+}