diff options
author | Johannes Huber <johu@gentoo.org> | 2017-02-07 19:28:35 +0100 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2017-02-07 19:30:35 +0100 |
commit | 1a442e7816b99589e145656e21d3a41c679b917a (patch) | |
tree | c3163b27808cd7a056c3ab7653f8f11fb4df3544 /kde-plasma/powerdevil | |
parent | x11-wm/musca: Fix toolong DESCRIPTION (diff) | |
download | gentoo-1a442e7816b99589e145656e21d3a41c679b917a.tar.gz gentoo-1a442e7816b99589e145656e21d3a41c679b917a.tar.bz2 gentoo-1a442e7816b99589e145656e21d3a41c679b917a.zip |
kde-plasma: Version bump KDE Plasma 5.9.1
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r-- | kde-plasma/powerdevil/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/powerdevil/powerdevil-5.9.1.ebuild | 106 |
2 files changed, 107 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest index 2a863fa10b50..9e041964beb3 100644 --- a/kde-plasma/powerdevil/Manifest +++ b/kde-plasma/powerdevil/Manifest @@ -1,3 +1,4 @@ DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802 DIST powerdevil-5.8.5.tar.xz 357872 SHA256 041cb684b981ba1c618627b7b6a9fb58bb4b2e4106937e228f376a8715934752 SHA512 8b2653c4e73ff4bb8fe4fc794f803e5e5ca525bcec749a04f715f7e518b3f5dacba8b83afb002804af2db6cf276ae3262e5972ad6817683fe5e7bae86bc01f9e WHIRLPOOL 44282d5d12cdacfae8ed88d643e03402a321915f67f1ddb40685f01db8e73006b0147d30c07ba2fe124acf170cef8b3b4cb900a622511d73fc4a86ba2ce8f5ca DIST powerdevil-5.9.0.tar.xz 358180 SHA256 bb89561fbfa0edc13833a951fe79d6bd2dc09a57ea5558265581dfa868c0aaa5 SHA512 41cfec546e08a0c67b794eb45896c31f1500a8a645056717d19b49f5bd1a25bc42b671e476a5ea9c446fda47cf18d750c2da5e42a38b4f6e04c98e23895655cd WHIRLPOOL 6afaed3dd4f6f301156bd484eac69d1200a23a5d301b4b8abcd8347eafe9d33f0dd3455e17c5b482e8b2cd230ae673997216b2f08106467fadb9d3361484af4e +DIST powerdevil-5.9.1.tar.xz 358204 SHA256 46247fa4f55249bf996768b611fc9c8b384ec2cf52f37743938319baa703fbad SHA512 676d684a7441c201e4e13d88a6f723cf72c46ffda189c03923d0a3cc8f712153db942bcfe52315cfe415d60004b12f7918eb1b5aa991c8cf1764dba177ffe03b WHIRLPOOL 0c903583884c12cf66976e6623b78eb9c24782ea4a99fe230c881d29ea06383d598f994cd279f00accda9b8087952e166de2d3866acb9d605ba153cf7374c37d diff --git a/kde-plasma/powerdevil/powerdevil-5.9.1.ebuild b/kde-plasma/powerdevil/powerdevil-5.9.1.ebuild new file mode 100644 index 000000000000..3f394ae5887f --- /dev/null +++ b/kde-plasma/powerdevil/powerdevil-5.9.1.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_GCC_MINIMAL="4.8" +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="elogind systemd +wireless" + +REQUIRED_USE="elogind? ( !systemd ) + systemd? ( !elogind ) +" + +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 kcrash) + $(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 kwayland) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep solid) + $(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 + wireless? ( + $(add_frameworks_dep bluez-qt) + $(add_frameworks_dep networkmanager-qt) + ) +" + +RDEPEND="${DEPEND} + $(add_plasma_dep kde-cli-tools) + systemd? ( >=sys-power/upower-0.9.23 ) + elogind? ( >=sys-power/upower-0.9.23 ) + !systemd? ( !elogind? ( + 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-plasma/powerdevil:4 + !kde-plasma/systemsettings:4[handbook] +" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package wireless KF5BluezQt) + $(cmake-utils_use_find_package wireless KF5NetworkManagerQt) + ) + + kde5_src_configure +} + +src_install() { + kde5_src_install + + if ! use systemd && ! use elogind ; 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 + doins "${FILESDIR}"/50-org.freedesktop.consolekit.system.hibernate-multiple-users.pkla + fi +} + +pkg_postinst() { + kde5_pkg_postinst + + if has_version sys-power/upower-pm-utils && ! use systemd && ! use elogind ; 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 +} |