aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/powerdevil/template
blob: 8eb9b32d53945c58b40694526e4b7581a8966f6a (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.5
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=27f995bce6f27e35b78e0c232f8dee8fba50fb91d7b3afd117583bdb79a12fd4

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