# vim: syntax=spec Name: sway-audio-idle-inhibit-git Version: v0.2.0.0.git.62.f1e92462 Release: 62%{?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#f1e924628a59e7b658493514297aea0991f76b74: Source: SwayAudioIdleInhibit-f1e92462.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