diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2015-09-12 18:22:12 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2015-09-12 18:22:12 +0200 |
commit | 54bf6af181e9d9f51a3ad2ab1f0a93cb04eb5059 (patch) | |
tree | 97d1d4d399806f1847d9deb2af0cd90d33c91ad3 /kde-plasma/powerdevil | |
parent | kde-plasma: Drop redundant whitespace in KEYWORDS (diff) | |
download | gentoo-54bf6af181e9d9f51a3ad2ab1f0a93cb04eb5059.tar.gz gentoo-54bf6af181e9d9f51a3ad2ab1f0a93cb04eb5059.tar.bz2 gentoo-54bf6af181e9d9f51a3ad2ab1f0a93cb04eb5059.zip |
kde-plasma: Version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r-- | kde-plasma/powerdevil/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/powerdevil/powerdevil-5.4.1.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest index 8f08ba962a56..02739a8baa69 100644 --- a/kde-plasma/powerdevil/Manifest +++ b/kde-plasma/powerdevil/Manifest @@ -1 +1,2 @@ DIST powerdevil-5.4.0.tar.xz 346492 SHA256 81b8bbcee694c4e1cf54cd342cfec9086a8b7dbed9eafd616ef401344c24bb83 SHA512 dcdd9a0fc5994ca017c3d86a73647bc5ecfb48ea0f9fa3561c2d90882fec8b0e28d604e3d9b462d4791a8365d43b8a7823c8c7d0a11e82f954c10c6b4032c635 WHIRLPOOL ce1f1bdd71815f092e176fe7f63b9dfdbe07d7572ee5c3bd8be0f4ffaaa9ab8dce93e6fa6ce80a3227e975dfaf2e5714f892e57625727fc0cb37fd9a2b83a605 +DIST powerdevil-5.4.1.tar.xz 346588 SHA256 709b34fd63455a0f6699c0d10b6d9390b47ce5ed1be95a3658061e0b653c86d0 SHA512 1026b62ce8288ec6f19d082fbeec22dfbb7f6a132e39d5ef4c38cce872390130292ddc4094ec76ab2ef14f9f0127cd5db07dba4a8b285b75723ce4a136f637e5 WHIRLPOOL a0f5c5c3e4bc52610045ae163c52d9a8bf6e2d90fa06689fc9ee841af6c548d41627b62ad43f3157ce43bcadbc8f16feeab8f40dd48094989cabb722ac637147 diff --git a/kde-plasma/powerdevil/powerdevil-5.4.1.ebuild b/kde-plasma/powerdevil/powerdevil-5.4.1.ebuild new file mode 100644 index 000000000000..870bc9b844f0 --- /dev/null +++ b/kde-plasma/powerdevil/powerdevil-5.4.1.ebuild @@ -0,0 +1,70 @@ +# 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" +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 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) + || ( sys-power/upower-pm-utils >=sys-power/upower-0.9.23 ) + !systemd? ( sys-auth/polkit-pkla-compat ) + !kde-base/powerdevil + !kde-base/systemsettings[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 + fi +} + +pkg_postinst() { + kde5_pkg_postinst + + if ! has_version sys-power/upower-pm-utils && ! use systemd ; then + ewarn "Suspend and hibernate will not be available as it requires sys-power/upower-pm-utils" + ewarn "on non-systemd systems. Please install it if you require this functionality." + fi +} |