# vim: syntax=spec Name: sway-audio-idle-inhibit-git Version: v0.2.0.0.git.61.6cb6d44d Release: 61%{?dist} Summary: Prevents swayidle from sleeping while any application is outputting or receiving audio. License: GPLv3 URL: https://github.com/ErikReider/SwayAudioIdleInhibit VCS: git+https://github.com/ErikReider/SwayAudioIdleInhibit#6cb6d44d6512b25e2f13f6ab8e10ac9503de93b1: Source: SwayAudioIdleInhibit-6cb6d44d.tar.gz BuildRequires: meson >= 0.60.0 BuildRequires: git BuildRequires: gcc-c++ BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(systemd) %{?systemd_requires} %description Prevents swayidle from sleeping while any application is outputting or receiving audio. Should work with all Wayland desktops that support the zwp_idle_inhibit_manager_v1 protocol but only tested in Sway This only works for Pulseaudio / Pipewire Pulse %prep %setup -T -b 0 -q -n SwayAudioIdleInhibit %build %meson %meson_build %install %meson_install %post %systemd_user_post sway-audio-idle-inhibit.service %preun %systemd_user_preun sway-audio-idle-inhibit.service %files %doc README.md %{_bindir}/sway-audio-idle-inhibit %{_userunitdir}/sway-audio-idle-inhibit.service %license LICENSE # Changelog will be empty until you make first annotated Git tag. %changelog