summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-04-16 21:15:23 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-04-16 21:50:32 +0200
commitf5b941a37d156ead27a94040859fca74f0e1b94c (patch)
tree25839e34323598d6c34a073784599ecb47fea67c /kde-plasma/powerdevil
parentkde-plasma/polkit-kde-agent: add 6.0.4 (diff)
downloadgentoo-f5b941a37d156ead27a94040859fca74f0e1b94c.tar.gz
gentoo-f5b941a37d156ead27a94040859fca74f0e1b94c.tar.bz2
gentoo-f5b941a37d156ead27a94040859fca74f0e1b94c.zip
kde-plasma/powerdevil: add 6.0.4
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-6.0.4.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest
index 51b44e266048..06df4d9d4bf4 100644
--- a/kde-plasma/powerdevil/Manifest
+++ b/kde-plasma/powerdevil/Manifest
@@ -1,2 +1,3 @@
DIST powerdevil-5.27.11.tar.xz 791244 BLAKE2B 423bca5c6c1731f241e1db5aba3a75c7f5801fb99957fb6de6df682053ee5810aeec412a599b83862f4b27c7392cd8781f5b5e952a11bcdb2910a406bf9990c6 SHA512 7ea5640d42c3aa4bc21091a56452202f798ed3df3cfab6b0f38895cdd558fe877e463bf2c801914ded2511777b353d6e252f9dcee2856b1995b6f08c84cc3b84
DIST powerdevil-6.0.3.tar.xz 794492 BLAKE2B 87024c280bab8061797867116fcb18f8fc79fce6030726aca5198a7f0658ee0d74cad57ac70c537074bcf3b9295c1dd35238ff5e0e04a960db5cb9c93c372e53 SHA512 e96db98ac84a7d98445a79acb1cfc3878d4ffa9c8de55094d3e918458335825b34e0251557c10665963330f93760df898d2577f09d4badce3d965efb3dec41ee
+DIST powerdevil-6.0.4.tar.xz 795852 BLAKE2B ce23fbb018b9d447028d5c89a96086f4251007bdda70d7ac704fb9e3e64b1e2e82cc15e8b3b244e851342914ed885b31f8e0c28cc6cd9b07fa5647f5e11bea0e SHA512 9290ea667b254f4a9c7ce7322a1f34eed755d15067caa1dd29573bfd9b4cff1d47589f585176e63e9f8e0435129287581ca52e5548c4083c5c2f6e508c0f7a49
diff --git a/kde-plasma/powerdevil/powerdevil-6.0.4.ebuild b/kde-plasma/powerdevil/powerdevil-6.0.4.ebuild
new file mode 100644
index 000000000000..587311940d33
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-6.0.4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="forceoptional"
+KFMIN=6.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=6.6.2
+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="6"
+KEYWORDS="~amd64"
+IUSE="brightness-control caps"
+
+# slot op: Uses Qt::GuiPrivate for qtx11extras_p.h
+DEPEND="
+ >=dev-qt/qtbase-${QTMIN}:6=[dbus,gui,widgets]
+ >=kde-frameworks/kauth-${KFMIN}:6[policykit]
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kcrash-${KFMIN}:6
+ >=kde-frameworks/kdbusaddons-${KFMIN}:6
+ >=kde-frameworks/kglobalaccel-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kidletime-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/kirigami-${KFMIN}:6
+ >=kde-frameworks/kitemmodels-${KFMIN}:6
+ >=kde-frameworks/knotifications-${KFMIN}:6
+ >=kde-frameworks/kservice-${KFMIN}:6
+ >=kde-frameworks/kwindowsystem-${KFMIN}:6[X]
+ >=kde-frameworks/kxmlgui-${KFMIN}:6
+ >=kde-frameworks/solid-${KFMIN}:6
+ >=kde-plasma/layer-shell-qt-${PVCUT}:6
+ >=kde-plasma/libkscreen-${PVCUT}:6
+ >=kde-plasma/plasma-activities-${PVCUT}:6
+ >=kde-plasma/plasma-workspace-${PVCUT}:6
+ virtual/libudev:=
+ x11-libs/libxcb
+ brightness-control? ( app-misc/ddcutil:= )
+ caps? ( sys-libs/libcap )
+"
+RDEPEND="${DEPEND}
+ >=dev-qt/qtdeclarative-${QTMIN}:6
+ >=kde-plasma/kde-cli-tools-${PVCUT}:*
+ sys-power/power-profiles-daemon
+ >=sys-power/upower-0.9.23
+"
+BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:6"
+
+src_configure() {
+ local mycmakeargs=(
+ -DHAVE_DDCUTIL=$(usex brightness-control)
+ $(cmake_use_find_package caps Libcap)
+ )
+
+ ecm_src_configure
+}