Install this version:
emerge -a =gui-apps/sway-audio-idle-inhibit-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =gui-apps/sway-audio-idle-inhibit-9999
Or alternatively:
emerge --autounmask-write -a =gui-apps/sway-audio-idle-inhibit-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
MY_PN="SwayAudioIdleInhibit"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Prevents swayidle from idle when an application is outputting or receiving audio"
HOMEPAGE="https://github.com/ErikReider/SwayAudioIdleInhibit"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ErikReider/SwayAudioIdleInhibit.git"
else
SRC_URI="https://github.com/ErikReider/SwayAudioIdleInhibit/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${MY_P}"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="systemd"
DEPEND="
dev-libs/wayland
dev-libs/wayland-protocols
media-libs/libpulse
systemd? (
sys-apps/systemd
)
!systemd? (
sys-auth/elogind
)
"
RDEPEND="${DEPEND}"
src_configure() {
local emesonargs=(
-Dlogind-provider="$(usex systemd systemd elogind)"
)
meson_src_configure
}
Manage flags for this package:
euse -i <flag> -p gui-apps/sway-audio-idle-inhibit |
euse -E <flag> -p gui-apps/sway-audio-idle-inhibit |
euse -D <flag> -p gui-apps/sway-audio-idle-inhibit
dev-libs/wayland dev-libs/wayland-protocols media-libs/libpulse systemd? ( sys-apps/systemd ) !systemd? ( sys-auth/elogind )
dev-libs/wayland dev-libs/wayland-protocols media-libs/libpulse systemd? ( sys-apps/systemd ) !systemd? ( sys-auth/elogind )