27 lines
1.0 KiB
Bash
27 lines
1.0 KiB
Bash
# Template file for 'power-profiles-daemon'
|
|
pkgname=power-profiles-daemon
|
|
version=0.21
|
|
revision=1
|
|
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/upower/power-profiles-daemon"
|
|
changelog="https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/raw/main/NEWS"
|
|
distfiles="https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/archive/${version}/power-profiles-daemon-${version}.tar.gz"
|
|
checksum=c15a368a59f2cae1474bdfccdd9357f06b0abc9eb7638a87f68c091aaf570349
|
|
make_dirs="/var/lib/power-profiles-daemon 0755 root root"
|
|
|
|
if [ -z "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -Dtests=false"
|
|
fi
|
|
|
|
post_install() {
|
|
vsv power-profiles-daemon
|
|
}
|