25 lines
891 B
Bash
25 lines
891 B
Bash
# Template file for 'power-profiles-daemon'
|
|
pkgname=power-profiles-daemon
|
|
version=0.12
|
|
revision=2
|
|
build_style=meson
|
|
configure_args="-Dsystemdsystemunitdir=/usr/lib/systemd/system/"
|
|
hostmakedepends="pkg-config glib-devel"
|
|
makedepends="libglib-devel libgudev-devel upower0-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"
|
|
distfiles="https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/archive/${version}/power-profiles-daemon-${version}.tar.gz"
|
|
checksum=4c01dc51cd734403af868cff2d13923c83076c477d7f02c601f3a5127dd82a18
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -Dtests=true"
|
|
fi
|
|
|
|
post_install() {
|
|
vsv power-profiles-daemon
|
|
}
|