summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-10-20 20:47:47 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-10-20 21:56:19 +0200
commitefc14be6355e9f37c18c454d07ec3a3cef7bf120 (patch)
treef99776b8e22b9eeee3de9383821616c4f7fb1199 /kde-plasma
parentkde-plasma/polkit-kde-agent: 5.20.1 version bump (diff)
downloadgentoo-efc14be6355e9f37c18c454d07ec3a3cef7bf120.tar.gz
gentoo-efc14be6355e9f37c18c454d07ec3a3cef7bf120.tar.bz2
gentoo-efc14be6355e9f37c18c454d07ec3a3cef7bf120.zip
kde-plasma/powerdevil: 5.20.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma')
-rw-r--r--kde-plasma/powerdevil/Manifest1
-rw-r--r--kde-plasma/powerdevil/powerdevil-5.20.1.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest
index a225c8544e10..6cdde4eb32ef 100644
--- a/kde-plasma/powerdevil/Manifest
+++ b/kde-plasma/powerdevil/Manifest
@@ -1,2 +1,3 @@
DIST powerdevil-5.19.5.tar.xz 600388 BLAKE2B 0b99c229b576d8a033187dd81a0f6f199ff991f9c1eb4c6856a77a7ddd269ddf1ce50a76ea71821487be11593f5740a7d66a2af3e6b6c1f983a5e87bfc008b9b SHA512 5f1b1e8fdcd996769024a4f008527960fc91af32862047fdd13674ddb6925fd7b1a024a5c45182d14be32aa0bb8ba1bc694476061e480bcdfb3bdcb65d60cb16
DIST powerdevil-5.20.0.tar.xz 606232 BLAKE2B 77f4c88431e6050703510d230a4a2298ff9ab2835bac5909ec785219c8ed584f9ba39a8add9bb94a0859356c37f75ba965c0175a44bc96137a14b31313129b25 SHA512 09d0893ba0876fc7e1a90cde315cf3aefe3028b99fe3b7edd9fcf7f37b1552175b6514b9a49a68878497215d1ee73938c3efa8b63ddeb4e3be8aeb96b6d640c3
+DIST powerdevil-5.20.1.tar.xz 607288 BLAKE2B 7733a5fa810cb31ceeace3791923c5629c87c86dfd5d7ee317dab5f5f6823eaa9a678f64267c8cf45abe034247618418dd2cc1ee809f7728ede061d71bd4ac5e SHA512 550d3015e3a17feaf13882e62d251bab2b0c8d749d6f628b06877ce7af4c03a4a201af8ac0441d16db3de934126771cd37f92935796d9bc889779c3707c611a8
diff --git a/kde-plasma/powerdevil/powerdevil-5.20.1.ebuild b/kde-plasma/powerdevil/powerdevil-5.20.1.ebuild
new file mode 100644
index 000000000000..4bd73a392c96
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-5.20.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.74.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.1
+inherit ecm kde.org
+
+DESCRIPTION="Power management for KDE Plasma Shell"
+HOMEPAGE="https://invent.kde.org/plasma/powerdevil"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="brightness-control caps +wireless"
+
+DEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ >=kde-frameworks/kactivities-${KFMIN}:5
+ >=kde-frameworks/kauth-${KFMIN}:5[policykit]
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/kglobalaccel-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kidletime-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/knotifyconfig-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/kwayland-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/solid-${KFMIN}:5
+ >=kde-plasma/libkscreen-${PVCUT}:5
+ >=kde-plasma/libkworkspace-${PVCUT}:5
+ virtual/libudev:=
+ x11-libs/libxcb
+ brightness-control? ( app-misc/ddcutil )
+ caps? ( sys-libs/libcap )
+ wireless? (
+ >=kde-frameworks/bluez-qt-${KFMIN}:5
+ >=kde-frameworks/networkmanager-qt-${KFMIN}:5
+ )
+"
+RDEPEND="${DEPEND}
+ >=kde-plasma/kde-cli-tools-${PVCUT}:5
+ >=sys-power/upower-0.9.23
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DHAVE_DDCUTIL=$(usex brightness-control)
+ $(cmake_use_find_package caps Libcap)
+ $(cmake_use_find_package wireless KF5BluezQt)
+ $(cmake_use_find_package wireless KF5NetworkManagerQt)
+ )
+
+ ecm_src_configure
+}