diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-01-29 04:37:09 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-01-29 04:38:03 +1100 |
commit | 38a54ed791b5d75c115840463d16cebe1e1a96c0 (patch) | |
tree | 980dd749a44a4dd5ae6f87c90be64e1dc45724dd /kde-plasma/powerdevil | |
parent | x11-libs/snorenotify: version bump (diff) | |
download | gentoo-38a54ed791b5d75c115840463d16cebe1e1a96c0.tar.gz gentoo-38a54ed791b5d75c115840463d16cebe1e1a96c0.tar.bz2 gentoo-38a54ed791b5d75c115840463d16cebe1e1a96c0.zip |
kde-plasma: version bump 5.5.4
Package-Manager: portage-2.2.27
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r-- | kde-plasma/powerdevil/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/powerdevil/powerdevil-5.5.4.ebuild | 81 |
2 files changed, 82 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest index 3acedc7f8d37..becdcda9009d 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.2.tar.xz 345588 SHA256 41ccaeac85e3e9425e5f85dec0c072e84607543e270b177089e692f66331a7d0 SHA512 ebebec2e9475b6fc6cf20a882dda61cb105e9c1717de121c5f9139d2086a60853be6a8561bb772cabc3e440c9331e4f92950dac2293e3dc855b4ddcae2e2a2a0 WHIRLPOOL 8723b636d37f6c1e8f1ad6b8acf53c799ddbeb6a2dae832d3baf716088da0f02ae7cc4d7d68bcf8b000753d8bbc39f2ce47983a6a70f219f9fcb1ffd4440f1dc DIST powerdevil-5.5.3.tar.xz 345640 SHA256 fecf411a617061ad7f83160605c6e447e75cf2f5360db22760e8030f33219d46 SHA512 3ae3cebc03f14f0e050fc984c31ebfbcc26b0ea5e0e8110dca972081ca4fef685cfaec6951c7af212412946265712dc3094883d5eee590a115af5907c04f3730 WHIRLPOOL 4f8eb69e47628ac1e1f1f63b10160699b01b6b0c27e231e4d584a9eebff6b9bb97554958f6c0ccc695acf66ecaf4eccdd3c1518793a8ba072d3969146dc5f897 +DIST powerdevil-5.5.4.tar.xz 346448 SHA256 f4583eaae119e31d4ef93314cb8b76400f8a52cfde87fd14fa6979715e291144 SHA512 ac77b45618e6433b8484ebdd62313c336bb0c45c38e81e75d56f466996f25fd5efa9593ad086bc9d3322627986c86fd79cff37f79007f7e1a8d82e1c54940759 WHIRLPOOL aa4a4742d64184a9fd178902fea1131ee73a9614dd3b200a890d9941af5566038fe3fb458c71430780ae9249d05b19369fc24f91823c19b61bbeb7471cc1fec0 diff --git a/kde-plasma/powerdevil/powerdevil-5.5.4.ebuild b/kde-plasma/powerdevil/powerdevil-5.5.4.ebuild new file mode 100644 index 000000000000..2ac0a152ecba --- /dev/null +++ b/kde-plasma/powerdevil/powerdevil-5.5.4.ebuild @@ -0,0 +1,81 @@ +# 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 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.1 >=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 +} |