powerdevil: update to 6.0.4

This commit is contained in:
John 2024-03-05 13:37:58 +01:00 committed by Đoàn Trần Công Danh
parent 8e26a1a63f
commit 7dec323d04
1 changed files with 16 additions and 7 deletions

View File

@ -1,16 +1,25 @@
# Template file for 'powerdevil'
pkgname=powerdevil
version=5.27.11
version=6.0.4
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF5_HOST_TOOLING=/usr/lib/cmake"
hostmakedepends="extra-cmake-modules pkg-config kdoctools kauth-devel
gettext kconfig-devel kcmutils-devel qt5-qmake qt5-host-tools"
makedepends="bluez-qt5-devel libkscreen-devel networkmanager-qt5-devel
kdesignerplugin-devel kdoctools-devel plasma-workspace-devel ksolid-devel"
build_helper=qemu
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules pkg-config gettext qt6-base qt6-tools
kf6-kdoctools kf6-kcmutils kf6-kauth-tools"
makedepends="kf6-bluez-qt-devel libkf6screen-devel kf6-networkmanager-qt-devel
kf6-solid-devel kf6-kcmutils-devel kf6-kauth-devel kf6-kdoctools-devel
kf6-kidletime-devel kf6-kxmlgui-devel kf6-knotifications-devel kf6-kio-devel
kf6-kirigami-devel kf6-kitemmodels-devel plasma-activities-devel
plasma-workspace-devel ddcutil"
short_desc="Power consumption settings of a Plasma"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later"
homepage="https://invent.kde.org/plasma/powerdevil"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=28d2ab2e05bcbd39b8f5e5eafef2860c94efd5c7562fc5a4e81d5e5ab36c7573
checksum=1773b62181909831d24c9141a3fdd8e96a09cf08bd435a9d9a8605946b0f2559
if [ $CROSS_BUILD ]; then
hostmakedepends+=" kf6-kcmutils-devel kf6-kirigami-devel"
fi