diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-01-14 23:35:30 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-01-14 23:36:08 +1100 |
commit | 6796bfd60d771b4fa23a74c271b9acd31d489d46 (patch) | |
tree | 409a450a7e9d17bfe19bf92629e8dbe7a81f89ff /kde-plasma/powerdevil | |
parent | bc46ec704ce5e230e09fcbc148c14c498354d1f8 (diff) | |
download | gentoo-6796bfd60d771b4fa23a74c271b9acd31d489d46.tar.gz gentoo-6796bfd60d771b4fa23a74c271b9acd31d489d46.tar.xz |
kde-plasma: version bump 5.5.3
Package-Manager: portage-2.2.26
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r-- | kde-plasma/powerdevil/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/powerdevil/powerdevil-5.5.3.ebuild | 81 |
2 files changed, 82 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest index 38ae52afcd9..01c4339b6dc 100644 --- a/kde-plasma/powerdevil/Manifest +++ b/kde-plasma/powerdevil/Manifest @@ -2,3 +2,4 @@ DIST powerdevil-5.4.3.tar.xz 346732 SHA256 4085e4c3c7429c72502a0b4e204753e5087df 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 +DIST powerdevil-5.5.3.tar.xz 345640 SHA256 fecf411a617061ad7f83160605c6e447e75cf2f5360db22760e8030f33219d46 SHA512 3ae3cebc03f14f0e050fc984c31ebfbcc26b0ea5e0e8110dca972081ca4fef685cfaec6951c7af212412946265712dc3094883d5eee590a115af5907c04f3730 WHIRLPOOL 4f8eb69e47628ac1e1f1f63b10160699b01b6b0c27e231e4d584a9eebff6b9bb97554958f6c0ccc695acf66ecaf4eccdd3c1518793a8ba072d3969146dc5f897 diff --git a/kde-plasma/powerdevil/powerdevil-5.5.3.ebuild b/kde-plasma/powerdevil/powerdevil-5.5.3.ebuild new file mode 100644 index 00000000000..5b126368c6a --- /dev/null +++ b/kde-plasma/powerdevil/powerdevil-5.5.3.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2016 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 ~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 +} |