sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
sys/power-profiles-daemon/recipe
1941 bytes at e2d5247 · GitHub
name power-profiles-daemon
version 0.23
release 4
description power-profiles-daemon: power profiles
source https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/archive/0.23/power-profiles-daemon-0.23.tar.gz
hash sha256:ccf6e00093dc5300be48d66d439540bb6239460b602bbd85001c937860de2e5f
depend filesystem
depend glib
depend libgudev
depend polkit
depend upower
depend dbus
optional systemd
optional openrc
builddep meson
builddep ninja
configure meson setup build --prefix=/usr --buildtype=release -Dtests=false -Dpylint=disabled -Dmanpage=disabled -Dsystemdsystemunitdir=/usr/lib/systemd/system
build meson compile -C build
install DESTDIR="$PKG" meson install -C build --no-rebuild
install mkdir -p "$PKG/etc/init.d"
install install -m 0755 "$SRC/files/openrc-power-profiles-daemon" "$PKG/etc/init.d/power-profiles-daemon"
install mkdir -p "$PKG/usr/lib/systemd/system" "$PKG/etc/init.d" "$PKG/etc/sv/power-profiles-daemon" "$PKG/etc/s6/sv/power-profiles-daemon" "$PKG/etc/dinit.d" "$PKG/etc/shepherd.d" "$PKG/etc/rc.d/init.d"
install install -m 0644 "$SRC/files/power-profiles-daemon.service" "$PKG/usr/lib/systemd/system/power-profiles-daemon.service"
install install -m 0755 "$SRC/files/openrc-power-profiles-daemon" "$PKG/etc/init.d/power-profiles-daemon"
install install -m 0755 "$SRC/files/runit-power-profiles-daemon" "$PKG/etc/sv/power-profiles-daemon/run"
install install -m 0755 "$SRC/files/s6-power-profiles-daemon" "$PKG/etc/s6/sv/power-profiles-daemon/run"
install install -m 0644 "$SRC/files/dinit-power-profiles-daemon" "$PKG/etc/dinit.d/power-profiles-daemon"
install install -m 0644 "$SRC/files/shepherd-power-profiles-daemon.scm" "$PKG/etc/shepherd.d/power-profiles-daemon.scm"
install install -m 0755 "$SRC/files/sysvinit-power-profiles-daemon" "$PKG/etc/rc.d/init.d/power-profiles-daemon"