add: sway-audio-idle-inhibit (#6318) (#6332)

(cherry picked from commit 8c22a0b0ef)

Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
Raboneko
2025-09-04 09:04:46 -07:00
committed by GitHub
parent c1a3b60a9b
commit 8a5e764d29
3 changed files with 34 additions and 0 deletions
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "sway-audio-idle-inhibit.spec"
}
}
@@ -0,0 +1,28 @@
Name: sway-audio-idle-inhibit
Version: 0.2.0
Release: 1%?dist
Summary: Prevents swayidle/hypridle from sleeping while any application is outputting or receiving audio
License: GPL-3.0-only
URL: https://github.com/ErikReider/SwayAudioIdleInhibit
Source0: %url/archive/refs/tags/v%version.tar.gz
BuildRequires: meson gcc-c++
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libsystemd)
%description
%summary.
%prep
%autosetup -n SwayAudioIdleInhibit-%version
%build
%meson -Dlogind-provider=systemd
%meson_build
%install
%meson_install
%files
%doc README.md
%license LICENSE
%_bindir/sway-audio-idle-inhibit
@@ -0,0 +1 @@
rpm.version(gh("ErikReider/SwayAudioIdleInhibit"));