summaryrefslogtreecommitdiff
path: root/kde-plasma/powerdevil
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-25 02:45:51 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-25 02:45:51 +0100
commit237ad05f4a374a9f1707c3413a5094a6ce93e7ab (patch)
tree4e147c642dea57b55f5219109ecce4757a022f4b /kde-plasma/powerdevil
parent342922f04a58a969ff23806acc427c7ff79119ce (diff)
gentoo auto-resync : 25:10:2023 - 02:45:51
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r--kde-plasma/powerdevil/Manifest2
-rw-r--r--kde-plasma/powerdevil/powerdevil-5.27.9.ebuild71
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest
index b5869e1403aa..1f701d70bbc2 100644
--- a/kde-plasma/powerdevil/Manifest
+++ b/kde-plasma/powerdevil/Manifest
@@ -1,3 +1,5 @@
DIST powerdevil-5.27.8.tar.xz 787952 BLAKE2B 52d9a6673913133b084e546b60d5619252aa794c3e70c37cc64f237643be9b7b2f284a9c28fb70cbf0cf68b175b320a43f5d01557b36b4a5e0479bcc7dd0418a SHA512 be9c18130ff13e5db9b7e297463fa07b1781dd7817f91837d330bbc5189c51b88b0258b9419a18171132162e42776008d1f1fa9582bf59a34cb1aa2e2f91ff2a
+DIST powerdevil-5.27.9.tar.xz 788132 BLAKE2B 299182bc2a626e6834dcc590b9e165d4318c4daf1b3b3b3a049aca3a5831d4a97fbdd4a37e43bde4a699b4be43506414e7a29dc8e5e501d4fedf43fe168a910d SHA512 06a613a5f3db5133bdd855f8c2f3ebdb2e3c3d2933c7f399528c10abac138f172c2bb8130a0aa54a695def0dedae669c4171942c484b463f0e9255058fbb7b83
EBUILD powerdevil-5.27.8.ebuild 2048 BLAKE2B 774c64f384fb7841ee53336623e4029fd38d26384dcbff2151d59a7777ef34a95ca778059132df6f38b9dd5b7217a5bd3ca32199b13b468a597e1945035aaeb8 SHA512 d631011c02757e7c4ff38c661dae0d9f8dcf3fc86f0ab241a0cc6fa4c1af5fe513c1967d31d923376b1f584c32435f543008cfcd3e4d90b5408c94cedb73f9a3
+EBUILD powerdevil-5.27.9.ebuild 2051 BLAKE2B b9e95192b825af82c330cefd0b8d6b8931697dcb53cb342b83397b623d297408e6a5aff5fa8797effaa284760262da8e3f3228165de0fb479e3b665118eae691 SHA512 4f1908e86022441e5e16b61a4a0918f999df843803d567da241077c4121b85296737a5576474013e8c5abad66884379a78e8833783d66ed632b131839630dc21
MISC metadata.xml 597 BLAKE2B 4e436cb067ff3c936a6e497de75b03947f4ccd1103f45237a8a7fe738f67c5a718bf17bbb7aa0a9eff068ce18ce4f0b73bb8f737badc63971e3edabcdd09bff8 SHA512 f4652971683109791e796a57de30efaf603566ad5f9e3e1d16ca54b1212b4cd3ebe1d9a934959fcb51d2722aafe3d57af708f45722534f225ea4b2889a492dc6
diff --git a/kde-plasma/powerdevil/powerdevil-5.27.9.ebuild b/kde-plasma/powerdevil/powerdevil-5.27.9.ebuild
new file mode 100644
index 000000000000..2d8aec45adce
--- /dev/null
+++ b/kde-plasma/powerdevil/powerdevil-5.27.9.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.106.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.9
+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/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/power-profiles-daemon
+ >=sys-power/upower-0.9.23
+"
+BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:5"
+
+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
+}