summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r--kde-plasma/powerdevil/Manifest1
-rw-r--r--kde-plasma/powerdevil/powerdevil-5.10.1.ebuild81
2 files changed, 82 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest
index c7a34c339d93..7555d4f57b7f 100644
--- a/kde-plasma/powerdevil/Manifest
+++ b/kde-plasma/powerdevil/Manifest
@@ -1,3 +1,4 @@
+DIST powerdevil-5.10.1.tar.xz 361344 SHA256 77395169237e85de4faaf55fcaa6d5cad4d536a0f8eeff5bf42e002f069b484e SHA512 acd0ed1c96cdf3ea4fe1fdf61e03dfac8d63be51289977712508c255003daa6cddc22702e50d5596e8136eca80b1ebdea645c92a726f816d80e7213baf17a206 WHIRLPOOL edda3bb0bb2250890b677b68479a59dd339e395bfa5b0126fc14590671aa0550694f696053694b8a661bb8035d162fc7aa87b7d352734af76e7407851a89056c
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.10.1.ebuild b/kde-plasma/powerdevil/powerdevil-5.10.1.ebuild
new file mode 100644
index 000000000000..4261074c8c68
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-5.10.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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
+}