summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-04-26 00:32:14 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-04-26 00:32:44 +0200
commit4d494e2e1529fa104a7cf51aaaef9e0fb2b7876c (patch)
tree316872de7f52d5b42e24612dd98f09364d0c3c96 /kde-plasma/powerdevil
parentdev-lang/python: Forward-port the distutils -OO patch to 3.6, #616594 (diff)
downloadgentoo-4d494e2e1529fa104a7cf51aaaef9e0fb2b7876c.tar.gz
gentoo-4d494e2e1529fa104a7cf51aaaef9e0fb2b7876c.tar.bz2
gentoo-4d494e2e1529fa104a7cf51aaaef9e0fb2b7876c.zip
kde-plasma: Add KDE Plasma 5.9.5
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r--kde-plasma/powerdevil/Manifest1
-rw-r--r--kde-plasma/powerdevil/powerdevil-5.9.5.ebuild82
2 files changed, 83 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest
index 369082bbe67f..5f473757ddbc 100644
--- a/kde-plasma/powerdevil/Manifest
+++ b/kde-plasma/powerdevil/Manifest
@@ -1,2 +1,3 @@
DIST powerdevil-5.8.6.tar.xz 357808 SHA256 64db4d23c631397632cc84183008290e86fe1ffdf8df662fc627a47f8ce8be32 SHA512 90afa4e771e33e776d78fded893e90829553f4e4e60e0d4bce49c0fe12cbe97a3b8bd3cd8a6734f87edd4c19c85b8dc5bd890bbd26282e850391b465714df1e3 WHIRLPOOL 7cb04e359995e43c11fd7b2d4f7aeb82943e61d4d377eb5ced37e65d87a204381f9162c40c599657777c4407ccc3c88030191a6dd159b310c095f13b002aacea
DIST powerdevil-5.9.4.tar.xz 359316 SHA256 3b877429e6be898f114848964c1190f2fbd41ea97db820dea5a1f0989901f7ba SHA512 9ac5e580a0395db62339ebcfb72d6b405ebed10f2a6a93246bc218adaaa2ea9fbbd9093fd552b48dd3f962f0a43fb8ed13ae61726072258e8f3394b73bae6141 WHIRLPOOL 29f3eb027835d24f735ace64ececc95d7794c3ea94ccf22dff1320d4f452c39271d070376f48aecd5d24720526ce9900737cf6f7438b4c8c852a6855105f4de6
+DIST powerdevil-5.9.5.tar.xz 360176 SHA256 9fc15ea3894c83ad1be3b4a07f7b320ef729ab6e15931889b631d56653cc1945 SHA512 8f2988a6ce299cc034f98254886b37d089e74887faa20c20188f1cf4c4326fc95a09ea01e31674b851ea71edf833a818ad71f8465bfaee86dcd7bf89eee42835 WHIRLPOOL 81da9d8d96b94187e6db7f26545acf1b53b4158b651f87c84c43abd09e1d140b03edabb37380980b4218640129c0abe57947b554ff87dfedcf7559f72b3e4b86
diff --git a/kde-plasma/powerdevil/powerdevil-5.9.5.ebuild b/kde-plasma/powerdevil/powerdevil-5.9.5.ebuild
new file mode 100644
index 000000000000..fabb7805ea8d
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-5.9.5.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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="consolekit +wireless"
+
+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)
+ >=sys-power/upower-0.9.23
+ consolekit? (
+ >=sys-auth/consolekit-1.0.1
+ sys-auth/polkit-pkla-compat
+ sys-power/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 consolekit ; 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
+}