diff options
author | Johannes Huber <johu@gentoo.org> | 2016-04-19 19:56:56 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2016-04-19 19:56:56 +0200 |
commit | 3f9d0e9c17863c7e543d1262245a4e70ef52b43b (patch) | |
tree | e1c024a49c8768a977468796610b1df903d2ace9 /kde-plasma/powerdevil | |
parent | net-analyzer/ripe-atlas-tools: Fixed dependencies for net-libs/ripe-atlas-sag... (diff) | |
download | gentoo-3f9d0e9c17863c7e543d1262245a4e70ef52b43b.tar.gz gentoo-3f9d0e9c17863c7e543d1262245a4e70ef52b43b.tar.bz2 gentoo-3f9d0e9c17863c7e543d1262245a4e70ef52b43b.zip |
kde-plasma: Version bump KDE Plasma 5.6.3
Package-Manager: portage-2.2.28
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r-- | kde-plasma/powerdevil/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/powerdevil/powerdevil-5.6.3.ebuild | 85 |
2 files changed, 86 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest index b9f2057c5a5e..1d248273095d 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.2.tar.xz 353804 SHA256 9d13f4eb9423c209935aa11524e399a64188d29a098f339624b25a1993b93a49 SHA512 d6404d6417ac565a6e0dd16d2e5b54d8e178a4a20cf5062c90b814e201fb61f4ebbf99a20c04349bfd4339e1275ffdf787d9e376b4cc027bc814032c75a7df65 WHIRLPOOL 59e57c6f3c5e70c8dbb4937b8de538f50a0721f5859842ed7cbbf948b0fb8fe19d364cc1aac0c64d54fcfc97c3587e7556cfbf572fca613c6b1466f079311bb3 +DIST powerdevil-5.6.3.tar.xz 353808 SHA256 970a0fa758a5811ed9d9760a64b10b0ebab1d0ccdd3c39223f7ee477852300bf SHA512 84875a0dec1f73d6a01b4dc6b56f30acdd8bffbf9489696c5b7b4dd7c40b6453be555c65d7ddf29f02601f463d0d3ac96728840dcc09fd483318462fda0b0238 WHIRLPOOL 1b7a12c836a7d09ca5d2859b0ee0a6d21a8630f532334bd1b53580b6882dda00c8ba0bc455c031cd88c55115117bd3cb0481c87912a422f04223d8a8b954af44 diff --git a/kde-plasma/powerdevil/powerdevil-5.6.3.ebuild b/kde-plasma/powerdevil/powerdevil-5.6.3.ebuild new file mode 100644 index 000000000000..6630c4df5713 --- /dev/null +++ b/kde-plasma/powerdevil/powerdevil-5.6.3.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 kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep solid) + $(add_plasma_dep kwayland) + $(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 +} |