summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-03-21 17:00:32 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-03-21 17:00:32 +0100
commitcd8eec9f21cd570c8674d55761936a407df983c3 (patch)
tree725eb698be8cc7da2c1cc6131f80df5b95f51d1c /kde-plasma/powerdevil
parentdev-vcs/subversion: add ~x64-cygwin keyword (diff)
downloadgentoo-cd8eec9f21cd570c8674d55761936a407df983c3.tar.gz
gentoo-cd8eec9f21cd570c8674d55761936a407df983c3.tar.bz2
gentoo-cd8eec9f21cd570c8674d55761936a407df983c3.zip
kde-plasma: Add KDE Plasma 5.9.4 release
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/metadata.xml3
-rw-r--r--kde-plasma/powerdevil/powerdevil-5.9.4.ebuild82
3 files changed, 85 insertions, 1 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest
index dd3d5019ce81..76c3aa66986f 100644
--- a/kde-plasma/powerdevil/Manifest
+++ b/kde-plasma/powerdevil/Manifest
@@ -1,3 +1,4 @@
DIST powerdevil-5.8.5.tar.xz 357872 SHA256 041cb684b981ba1c618627b7b6a9fb58bb4b2e4106937e228f376a8715934752 SHA512 8b2653c4e73ff4bb8fe4fc794f803e5e5ca525bcec749a04f715f7e518b3f5dacba8b83afb002804af2db6cf276ae3262e5972ad6817683fe5e7bae86bc01f9e WHIRLPOOL 44282d5d12cdacfae8ed88d643e03402a321915f67f1ddb40685f01db8e73006b0147d30c07ba2fe124acf170cef8b3b4cb900a622511d73fc4a86ba2ce8f5ca
DIST powerdevil-5.8.6.tar.xz 357808 SHA256 64db4d23c631397632cc84183008290e86fe1ffdf8df662fc627a47f8ce8be32 SHA512 90afa4e771e33e776d78fded893e90829553f4e4e60e0d4bce49c0fe12cbe97a3b8bd3cd8a6734f87edd4c19c85b8dc5bd890bbd26282e850391b465714df1e3 WHIRLPOOL 7cb04e359995e43c11fd7b2d4f7aeb82943e61d4d377eb5ced37e65d87a204381f9162c40c599657777c4407ccc3c88030191a6dd159b310c095f13b002aacea
DIST powerdevil-5.9.3.tar.xz 358432 SHA256 b2abb0b6169b928878e64eb575f0784e809a8693b6240bba2edabac99eadf0ea SHA512 1bbf6bfd870104720b709564559f20ac4559e6c2776ff6c944eef694de72c35b850bf80d75511ec252f1c1dea1a3fbfd90869e7aca6eea4d8c8df58f282aca7a WHIRLPOOL dbb89204543953509ed1ecd4e06fb6f42e1d8bd69e76b4c69b6d07b3d7b063ac1e1e021c875889776e2db36e1c4e565e10cf2bd7bf8bd0d158f256a3e082199f
+DIST powerdevil-5.9.4.tar.xz 359316 SHA256 3b877429e6be898f114848964c1190f2fbd41ea97db820dea5a1f0989901f7ba SHA512 9ac5e580a0395db62339ebcfb72d6b405ebed10f2a6a93246bc218adaaa2ea9fbbd9093fd552b48dd3f962f0a43fb8ed13ae61726072258e8f3394b73bae6141 WHIRLPOOL 29f3eb027835d24f735ace64ececc95d7794c3ea94ccf22dff1320d4f452c39271d070376f48aecd5d24720526ce9900737cf6f7438b4c8c852a6855105f4de6
diff --git a/kde-plasma/powerdevil/metadata.xml b/kde-plasma/powerdevil/metadata.xml
index 8344ab76e5f8..a83a59e337ab 100644
--- a/kde-plasma/powerdevil/metadata.xml
+++ b/kde-plasma/powerdevil/metadata.xml
@@ -6,7 +6,8 @@
<name>Gentoo KDE Project</name>
</maintainer>
<use>
- <flag name="elogind">Use <pkg>sys-auth/elogind</pkg> for session tracking.</flag>
+ <flag name="consolekit">Enable <pkg>sys-auth/consolekit</pkg> support</flag>
+ <flag name="elogind">Use <pkg>sys-auth/elogind</pkg> for session tracking</flag>
<flag name="wireless">Enable wireless energy saving actions via <pkg>kde-frameworks/bluez-qt</pkg> and <pkg>kde-frameworks/networkmanager-qt</pkg></flag>
</use>
</pkgmetadata>
diff --git a/kde-plasma/powerdevil/powerdevil-5.9.4.ebuild b/kde-plasma/powerdevil/powerdevil-5.9.4.ebuild
new file mode 100644
index 000000000000..fabb7805ea8d
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-5.9.4.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
+}