void-packages/srcpkgs/power-profiles-daemon/template

27 lines
1.0 KiB
Bash

# Template file for 'power-profiles-daemon'
pkgname=power-profiles-daemon
version=0.13
revision=3
build_style=meson
configure_args="-Dsystemdsystemunitdir=/usr/lib/systemd/system/"
hostmakedepends="pkg-config glib-devel"
makedepends="libglib-devel libgudev-devel upower-devel polkit-devel"
depends="python3-gobject"
checkdepends="python3-dbusmock umockdev-devel"
short_desc="Makes power profiles handling available over D-Bus"
maintainer="oreo639 <oreo6391@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.freedesktop.org/hadess/power-profiles-daemon"
changelog="https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/raw/main/NEWS"
distfiles="https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/archive/${version}/power-profiles-daemon-${version}.tar.gz"
checksum=74aac43eb43ebe5a3255a00eb48d781a5acfba32e96ab85737e22205e045e581
make_dirs="/var/lib/power-profiles-daemon 0755 root root"
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -Dtests=true"
fi
post_install() {
vsv power-profiles-daemon
}