mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
(cherry picked from commit 8c22a0b0ef)
Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -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"));
|
||||
Reference in New Issue
Block a user