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

26 lines
978 B
Bash

# Template file for 'power-profiles-daemon'
pkgname=power-profiles-daemon
version=0.13
revision=2
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
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -Dtests=true"
fi
post_install() {
vsv power-profiles-daemon
}