summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-07-12 17:32:34 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-07-13 11:16:02 +0200
commite38af3df87b0dd884540b29490ebe1a0c567a051 (patch)
treec23715f135a5cd52c9a6be1144df049bb2a60427 /kde-plasma/powerdevil
parentkde-plasma/polkit-kde-agent: 5.24.6 version bump (diff)
downloadgentoo-e38af3df87b0dd884540b29490ebe1a0c567a051.tar.gz
gentoo-e38af3df87b0dd884540b29490ebe1a0c567a051.tar.bz2
gentoo-e38af3df87b0dd884540b29490ebe1a0c567a051.zip
kde-plasma/powerdevil: 5.24.6 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r--kde-plasma/powerdevil/Manifest1
-rw-r--r--kde-plasma/powerdevil/powerdevil-5.24.6.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest
index 8b3d67a29f15..b915f2ad0255 100644
--- a/kde-plasma/powerdevil/Manifest
+++ b/kde-plasma/powerdevil/Manifest
@@ -1,2 +1,3 @@
DIST powerdevil-5.24.5.tar.xz 632800 BLAKE2B 657e68359664bdf4d6ac782a53148400b430ae786d5551763b45d28690d1a3481d913e47618aea015c1753389c779f7e028c03f21a328d08edc6fa5bb3ab21d1 SHA512 2f3e6888be7039bf7beb754ef117d09e79ceb4e5ef73d74f982d37785adbd7a489fc86641c9df9ea4a34fabd2ccac737f5e7ee08958d2dd03b5a676f22aa4c15
+DIST powerdevil-5.24.6.tar.xz 633104 BLAKE2B 6247c9327bbd72973844983e13d54166f3a38425b7c7024a1a8a1a138ed62e47641d203d929bd3f3e86e5f8bc1b23b9c46c2b2f418f68f01d2a6fb8adc2ef164 SHA512 b1a4c597b31706ec4749466018662443fea8a77c02f323066874df8d5cd5353a363f7ba8cc75301988e7a35afd9fbf654f24580e2254dec2f65d8c30dbeb4025
DIST powerdevil-5.25.2.tar.xz 636376 BLAKE2B 0d700e6172b3c91eb9e603acc3a7c0b107ed15e9221445c7aaf4106416619b505f7b11e0ea7c2c5c3a0a2df4716c35626b330572b5d5fd00aa6e77822ef7856b SHA512 6b6a49aaa702a5c482df708eaf8b07b3a7bf787503ab0c40a3d9f60f7a5bc57efb551b7606863804db9fb8791d1d56754fe37f367e48ae8e01ff879defa59edb
diff --git a/kde-plasma/powerdevil/powerdevil-5.24.6.ebuild b/kde-plasma/powerdevil/powerdevil-5.24.6.ebuild
new file mode 100644
index 000000000000..8adbaefe4be2
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-5.24.6.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.92.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.4
+inherit ecm plasma.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 ~loong ~ppc64 ~riscv ~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/kirigami-${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
+}