summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-05-26 20:14:35 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-05-26 20:15:01 +0200
commit67bb2e00f0afba7b37bda0fa513b7e60b962aa07 (patch)
tree6bfb835af2dd0fa8cc543b4ddb68b15c87379e57 /kde-plasma/powerdevil
parentsys-kernel/ck-sources: v.bump (4.11.3-r1) (diff)
downloadgentoo-67bb2e00f0afba7b37bda0fa513b7e60b962aa07.tar.gz
gentoo-67bb2e00f0afba7b37bda0fa513b7e60b962aa07.tar.bz2
gentoo-67bb2e00f0afba7b37bda0fa513b7e60b962aa07.zip
kde-plasma: Add KDE Plasma 5.8.7 LTS
Package-Manager: Portage-2.3.5, 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.8.7.ebuild82
2 files changed, 83 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest
index 33570d519eec..c7a34c339d93 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.8.7.tar.xz 359416 SHA256 3e51ed8bf7e160565ca47ce4065ea359ca23ac0047b602868e686973a3fcaacf SHA512 96992778aea75bfa5344e3a8bbe2820faf0db8240ec509174cf65dbb61a96681b3512febe7004908aa8f8c82e11fa137f7910dddf87c76111cc04b8f604e7208 WHIRLPOOL 772776100da86b749f3c8094059dfa77d31d6e1a86054cd9217243b98fa3a8dc181e802fa6998cac1b3aac3519100ab5a06f2415574e343bbaaf925d57cc66ac
DIST powerdevil-5.9.5.tar.xz 360176 SHA256 9fc15ea3894c83ad1be3b4a07f7b320ef729ab6e15931889b631d56653cc1945 SHA512 8f2988a6ce299cc034f98254886b37d089e74887faa20c20188f1cf4c4326fc95a09ea01e31674b851ea71edf833a818ad71f8465bfaee86dcd7bf89eee42835 WHIRLPOOL 81da9d8d96b94187e6db7f26545acf1b53b4158b651f87c84c43abd09e1d140b03edabb37380980b4218640129c0abe57947b554ff87dfedcf7559f72b3e4b86
diff --git a/kde-plasma/powerdevil/powerdevil-5.8.7.ebuild b/kde-plasma/powerdevil/powerdevil-5.8.7.ebuild
new file mode 100644
index 000000000000..fabb7805ea8d
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-5.8.7.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
+}