aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/powerdevil/template
blob: fbf1b29f36f27218d7c46e5b853631a7c1806f89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Template file for 'powerdevil'
pkgname=powerdevil
version=6.0.4
revision=1
build_style=cmake
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-devel"
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=1773b62181909831d24c9141a3fdd8e96a09cf08bd435a9d9a8605946b0f2559

if [ $CROSS_BUILD ]; then
	hostmakedepends+=" kf6-kcmutils-devel kf6-kirigami-devel"
fi