public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/sway-audio-idle-inhibit/
@ 2023-10-28 20:39 Brett Alcox
  0 siblings, 0 replies; 2+ messages in thread
From: Brett Alcox @ 2023-10-28 20:39 UTC (permalink / raw
  To: gentoo-commits

commit:     ef642b60369ba1fa13313b36827422c5d1df9168
Author:     brettalcox <brettalcox <AT> gmail <DOT> com>
AuthorDate: Sat Oct 28 20:39:10 2023 +0000
Commit:     Brett Alcox <brettalcox <AT> gmail <DOT> com>
CommitDate: Sat Oct 28 20:39:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef642b60

gui-apps/sway-audio-idle-inhibit: new package, add 9999

Signed-off-by: brettalcox <brettalcox <AT> gmail.com>

 gui-apps/sway-audio-idle-inhibit/metadata.xml        | 10 ++++++++++
 .../sway-audio-idle-inhibit-9999.ebuild              | 20 ++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/gui-apps/sway-audio-idle-inhibit/metadata.xml b/gui-apps/sway-audio-idle-inhibit/metadata.xml
new file mode 100644
index 0000000000..6e1796c10d
--- /dev/null
+++ b/gui-apps/sway-audio-idle-inhibit/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<maintainer type="person">
+		<email>brettalcox@gmail.com</email>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">ErikReider/SwayAudioIdleInhibit</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/gui-apps/sway-audio-idle-inhibit/sway-audio-idle-inhibit-9999.ebuild b/gui-apps/sway-audio-idle-inhibit/sway-audio-idle-inhibit-9999.ebuild
new file mode 100644
index 0000000000..64febe12b2
--- /dev/null
+++ b/gui-apps/sway-audio-idle-inhibit/sway-audio-idle-inhibit-9999.ebuild
@@ -0,0 +1,20 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit git-r3 meson
+
+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"
+
+LICENSE="GPL-3"
+SLOT="0/9999"
+
+DEPEND="
+	dev-libs/wayland
+	dev-libs/wayland-protocols
+	media-libs/libpulse
+"
+RDEPEND="${DEPEND}"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/sway-audio-idle-inhibit/
@ 2025-09-17  0:32 dsaf
  0 siblings, 0 replies; 2+ messages in thread
From: dsaf @ 2025-09-17  0:32 UTC (permalink / raw
  To: gentoo-commits

commit:     88bf9109ee65e817b0e3a40a8d2e27a4a6705456
Author:     dsaf <ghostyn678+git <AT> gmail <DOT> com>
AuthorDate: Wed Sep 17 00:30:44 2025 +0000
Commit:     dsaf <ghostyn678+git <AT> gmail <DOT> com>
CommitDate: Wed Sep 17 00:30:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=88bf9109

gui-apps/sway-audio-idle-inhibit: add 0.2.0, add IUSE systemd

Signed-off-by: dsaf <ghostyn678+git <AT> gmail.com>

 gui-apps/sway-audio-idle-inhibit/Manifest          |  1 +
 .../sway-audio-idle-inhibit-0.2.0.ebuild           | 44 ++++++++++++++++++++++
 .../sway-audio-idle-inhibit-9999.ebuild            | 22 ++++++++++-
 3 files changed, 66 insertions(+), 1 deletion(-)

diff --git a/gui-apps/sway-audio-idle-inhibit/Manifest b/gui-apps/sway-audio-idle-inhibit/Manifest
new file mode 100644
index 0000000000..aa1cee86e6
--- /dev/null
+++ b/gui-apps/sway-audio-idle-inhibit/Manifest
@@ -0,0 +1 @@
+DIST sway-audio-idle-inhibit-0.2.0.tar.gz 19335 BLAKE2B 9fbc6448ec7353aecba48b5a0f1e0db0ed1498135aed1723d7f734c9a76a089b8a81b86ee4dbc5e45c63970f1e42c669f3f4f680f21c1df0038ebaf12bb811f2 SHA512 8f1dd8e517a49f944a6a462d4fe88b19893d24dd35f6d9d5ec494ec32e796db11db4e8ba704d85ce6bf1c5c575929689e149e8a30eea291498a5c04d5da63db6

diff --git a/gui-apps/sway-audio-idle-inhibit/sway-audio-idle-inhibit-0.2.0.ebuild b/gui-apps/sway-audio-idle-inhibit/sway-audio-idle-inhibit-0.2.0.ebuild
new file mode 100644
index 0000000000..e504cec688
--- /dev/null
+++ b/gui-apps/sway-audio-idle-inhibit/sway-audio-idle-inhibit-0.2.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+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"
+
+SLOT="0"
+KEYWORDS="~amd64"
+
+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
+}
+
+src_install() {
+	meson_src_install
+	dodoc README.md
+}

diff --git a/gui-apps/sway-audio-idle-inhibit/sway-audio-idle-inhibit-9999.ebuild b/gui-apps/sway-audio-idle-inhibit/sway-audio-idle-inhibit-9999.ebuild
index 64febe12b2..a2dd861b0d 100644
--- a/gui-apps/sway-audio-idle-inhibit/sway-audio-idle-inhibit-9999.ebuild
+++ b/gui-apps/sway-audio-idle-inhibit/sway-audio-idle-inhibit-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,10 +11,30 @@ EGIT_REPO_URI="https://github.com/ErikReider/SwayAudioIdleInhibit.git"
 
 LICENSE="GPL-3"
 SLOT="0/9999"
+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
+}
+
+src_install() {
+	meson_src_install
+	dodoc README.md
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-17  0:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-17  0:32 [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/sway-audio-idle-inhibit/ dsaf
  -- strict thread matches above, loose matches on Subject: below --
2023-10-28 20:39 Brett Alcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox