diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-12-31 23:37:25 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-12-31 23:38:29 +1100 |
commit | 049c32b66b69754dfe795d0b2496ef45a4338f48 (patch) | |
tree | e2f558a6e3be236f194c317c4382d2fd5623c6d1 /kde-plasma/powerdevil | |
parent | 124725c1081d7090f48f39d1c34bb1802d42fe1b (diff) | |
download | gentoo-049c32b66b69754dfe795d0b2496ef45a4338f48.tar.gz gentoo-049c32b66b69754dfe795d0b2496ef45a4338f48.tar.xz |
kde-plasma: version bump 5.5.2
Package-Manager: portage-2.2.26
Diffstat (limited to 'kde-plasma/powerdevil')
3 files changed, 95 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest index 1fb54c5cf99..38ae52afcd9 100644 --- a/kde-plasma/powerdevil/Manifest +++ b/kde-plasma/powerdevil/Manifest @@ -1,3 +1,4 @@ DIST powerdevil-5.4.3.tar.xz 346732 SHA256 4085e4c3c7429c72502a0b4e204753e5087df88bbac5ac1f531806a2d8eb40c8 SHA512 458731d78fc7fcfe80ef77badc63ebcb76dfc5870addcbd0a588e93f799f416a7c2f9888a0785759122455e40b8e76bfdc75fa6e4655166b01b19611a9f1871c WHIRLPOOL 725864cfe2e954747668a54b4d79c538b5e0c8cf1c462cd660b049ac89aa3d418264809b2faf743ecef8ddc1804859b49b1048ac65340a2572776d44a10298a6 DIST powerdevil-5.5.0.tar.xz 345484 SHA256 8ef0f17ca326b839c60cbb59d71b9c8cb94d9c040e94a620291477053ff3ea0d SHA512 f8947d592c9017bb9c5da28de8d203df6a5fcfece437905641862270cd207277aedb7663464be9c87d7e2d075f20daeb522531ce96dae708d772e5e252320bc3 WHIRLPOOL 0ed8ee1274333e0c2f62fcf8eafa9416ce08d0140fd54b5df7ae430177feec4e5e94f3344b7784334188865143ceb09a99984d5f4e39bd0c0bd0161a33180099 DIST powerdevil-5.5.1.tar.xz 345512 SHA256 f76205cc39329c683eb03efb5dbc4b3c9e891d55a236f4ccaab437542a6550be SHA512 bb1958ca9817862f425b790c1e21cba2bc41f35a686c8ea42aac6c1487128321962eb47c63de8e227e3a8f9e8d1921f3934d14839f0c964253e462199142f981 WHIRLPOOL d75ce9eff31aed811c3e5c186f8029ede1cec00514dab6b770895b7b5b80512f966ef95f561a2bbab676e2e201510ae801259ac24ea5425d22f3dbccb4baf11f +DIST powerdevil-5.5.2.tar.xz 345588 SHA256 41ccaeac85e3e9425e5f85dec0c072e84607543e270b177089e692f66331a7d0 SHA512 ebebec2e9475b6fc6cf20a882dda61cb105e9c1717de121c5f9139d2086a60853be6a8561bb772cabc3e440c9331e4f92950dac2293e3dc855b4ddcae2e2a2a0 WHIRLPOOL 8723b636d37f6c1e8f1ad6b8acf53c799ddbeb6a2dae832d3baf716088da0f02ae7cc4d7d68bcf8b000753d8bbc39f2ce47983a6a70f219f9fcb1ffd4440f1dc diff --git a/kde-plasma/powerdevil/files/40-org.freedesktop.consolekit.system.suspend-multiple-users.pkla b/kde-plasma/powerdevil/files/40-org.freedesktop.consolekit.system.suspend-multiple-users.pkla new file mode 100644 index 00000000000..b01aa4fe971 --- /dev/null +++ b/kde-plasma/powerdevil/files/40-org.freedesktop.consolekit.system.suspend-multiple-users.pkla @@ -0,0 +1,13 @@ +# Enable user suspend support with Consolekit2. +# +# Author: Eric Hameleers <alien@slackware.com> +# +# KDE bug #344456 +# Gentoo bug #529186 +# +[Allow all users to suspend with Conesolekit2] +Identity=unix-group:users +Action=org.freedesktop.consolekit.system.suspend-multiple-users;org.freedesktop.consolekit.system.suspend +ResultAny=yes +ResultInactive=no +ResultActive=yes diff --git a/kde-plasma/powerdevil/powerdevil-5.5.2-r1.ebuild b/kde-plasma/powerdevil/powerdevil-5.5.2-r1.ebuild new file mode 100644 index 00000000000..55d77436443 --- /dev/null +++ b/kde-plasma/powerdevil/powerdevil-5.5.2-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +KDE_HANDBOOK="true" +inherit kde5 + +DESCRIPTION="Power management for KDE Plasma Shell" +HOMEPAGE="https://projects.kde.org/projects/kde/workspace/powerdevil" +KEYWORDS="~amd64 ~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 kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep solid) + $(add_plasma_dep kwayland) + $(add_plasma_dep libkscreen) + $(add_plasma_dep plasma-workspace) + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + 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.0 >=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 +} |