aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-05-24 20:55:59 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-05-24 21:26:15 +0200
commit6fba8a193e83ca08911fcc34e076d8ba9aa12f75 (patch)
tree2d28eca3c37355e51e61f88d4ca48713edcaec8a /kde-plasma/powerdevil
parentkde-plasma/polkit-kde-agent: 6.0.90 version bump (diff)
downloadkde-6fba8a193e83ca08911fcc34e076d8ba9aa12f75.tar.gz
kde-6fba8a193e83ca08911fcc34e076d8ba9aa12f75.tar.bz2
kde-6fba8a193e83ca08911fcc34e076d8ba9aa12f75.zip
kde-plasma/powerdevil: 6.0.90 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-6.0.90.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest
new file mode 100644
index 0000000000..29c7ad3ce6
--- /dev/null
+++ b/kde-plasma/powerdevil/Manifest
@@ -0,0 +1 @@
+DIST powerdevil-6.0.90.tar.xz 955636 BLAKE2B b5c0fafd55e2fa38478f50943b7dbe5917e029b7bf8e3ba50db977a84c00b7d1cb40e4b0920da975d7e23bec78d049f759fcc16e314441d5da0341a69ee91c2f SHA512 f1523c93eb2eb5e935186e4ba722c369cd0066c8fd0bdf9e37d26e5c76164694d2b35196d2688c8ed52a03b98387abaed18dd41f6f290177e59c92807fcd0f1f
diff --git a/kde-plasma/powerdevil/powerdevil-6.0.90.ebuild b/kde-plasma/powerdevil/powerdevil-6.0.90.ebuild
new file mode 100644
index 0000000000..01b2d6589f
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-6.0.90.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.2.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=6.7.1
+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
+}