diff options
author | Sam James <sam@gentoo.org> | 2023-10-24 23:15:34 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-24 23:36:05 +0100 |
commit | 326eda8cde4e6b76a35542ec7c422bc6474597dc (patch) | |
tree | c9b104fe274b3da1eb16545933037b6007c31238 /kde-plasma/powerdevil | |
parent | kde-plasma/polkit-kde-agent: 5.27.9 version bump (diff) | |
download | gentoo-326eda8cde4e6b76a35542ec7c422bc6474597dc.tar.gz gentoo-326eda8cde4e6b76a35542ec7c422bc6474597dc.tar.bz2 gentoo-326eda8cde4e6b76a35542ec7c422bc6474597dc.zip |
kde-plasma/powerdevil: 5.27.9 version bump
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r-- | kde-plasma/powerdevil/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/powerdevil/powerdevil-5.27.9.ebuild | 71 |
2 files changed, 72 insertions, 0 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest index 06dc280e98b2..2492b0e59969 100644 --- a/kde-plasma/powerdevil/Manifest +++ b/kde-plasma/powerdevil/Manifest @@ -1 +1,2 @@ DIST powerdevil-5.27.8.tar.xz 787952 BLAKE2B 52d9a6673913133b084e546b60d5619252aa794c3e70c37cc64f237643be9b7b2f284a9c28fb70cbf0cf68b175b320a43f5d01557b36b4a5e0479bcc7dd0418a SHA512 be9c18130ff13e5db9b7e297463fa07b1781dd7817f91837d330bbc5189c51b88b0258b9419a18171132162e42776008d1f1fa9582bf59a34cb1aa2e2f91ff2a +DIST powerdevil-5.27.9.tar.xz 788132 BLAKE2B 299182bc2a626e6834dcc590b9e165d4318c4daf1b3b3b3a049aca3a5831d4a97fbdd4a37e43bde4a699b4be43506414e7a29dc8e5e501d4fedf43fe168a910d SHA512 06a613a5f3db5133bdd855f8c2f3ebdb2e3c3d2933c7f399528c10abac138f172c2bb8130a0aa54a695def0dedae669c4171942c484b463f0e9255058fbb7b83 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 +} |