gui-apps/sway-audio-idle-inhibit: fix QA

Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
dsaf
2026-01-26 00:55:35 -03:00
parent 2aeab61103
commit a71cef6c9c
2 changed files with 29 additions and 19 deletions

View File

@@ -1,19 +1,27 @@
# Copyright 1999-2025 Gentoo Authors
# 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"
SRC_URI="https://github.com/ErikReider/SwayAudioIdleInhibit/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/SwayAudioIdleInhibit-${PV}"
LICENSE="GPL-3"
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"
KEYWORDS="~amd64"
IUSE="systemd"
@@ -37,8 +45,3 @@ src_configure() {
meson_src_configure
}
src_install() {
meson_src_install
dodoc README.md
}

View File

@@ -1,16 +1,28 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 meson
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"
EGIT_REPO_URI="https://github.com/ErikReider/SwayAudioIdleInhibit.git"
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/9999"
SLOT="0"
IUSE="systemd"
DEPEND="
@@ -33,8 +45,3 @@ src_configure() {
meson_src_configure
}
src_install() {
meson_src_install
dodoc README.md
}