From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1527648-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 60E0315812E
	for <garchives@archives.gentoo.org>; Sat, 10 Jun 2023 22:56:30 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E25EAE08B0;
	Sat, 10 Jun 2023 22:56:27 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id CBCDAE08B0
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Jun 2023 22:56:27 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 1A0FC33BF5B
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Jun 2023 22:56:27 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A25EA94
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Jun 2023 22:56:24 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1686437769.e175ae42224b8fa205c8f2b79ad5380a5b2f0378.asturm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/eventd/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/eventd/eventd-0.29.0-r1.ebuild
X-VCS-Directories: net-misc/eventd/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: e175ae42224b8fa205c8f2b79ad5380a5b2f0378
X-VCS-Branch: master
Date: Sat, 10 Jun 2023 22:56:24 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: bec9edc9-6ed5-4f1e-8f19-596ca1e35db3
X-Archives-Hash: b5e54680df940e2af611ff5df5ee7f5f

commit:     e175ae42224b8fa205c8f2b79ad5380a5b2f0378
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 21:47:08 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 22:56:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e175ae42

net-misc/eventd: Switch IUSE=pulseaudio to media-libs/libpulse

Switch preference for IUSE=pulseaudio at the same time - primary
must be libpulse to satisfy global IUSE.

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-misc/eventd/eventd-0.29.0-r1.ebuild | 110 ++++++++++++++++++++++++++++++++
 1 file changed, 110 insertions(+)

diff --git a/net-misc/eventd/eventd-0.29.0-r1.ebuild b/net-misc/eventd/eventd-0.29.0-r1.ebuild
new file mode 100644
index 000000000000..0733249e9b62
--- /dev/null
+++ b/net-misc/eventd/eventd-0.29.0-r1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-info meson systemd
+
+DESCRIPTION="A small daemon to act on remote or local events"
+HOMEPAGE="https://www.eventd.org/"
+SRC_URI="https://www.eventd.org/download/eventd/${P}.tar.xz"
+
+LICENSE="GPL-3+ LGPL-3+ ISC MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug fbcon +introspection ipv6 libcanberra libnotify +notification
+	pulseaudio purple speech systemd test upnp webhook websocket +X zeroconf"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+	X? ( notification )
+	fbcon? ( notification )
+	notification? ( || ( X fbcon ) )
+	test? ( websocket )
+"
+
+COMMON_DEPEND="
+	dev-libs/glib:2
+	sys-apps/util-linux
+	x11-libs/libxkbcommon
+	introspection? ( dev-libs/gobject-introspection )
+	libcanberra? ( media-libs/libcanberra )
+	libnotify? ( x11-libs/gdk-pixbuf:2 )
+	notification? (
+		gnome-base/librsvg
+		x11-libs/cairo
+		x11-libs/pango
+		x11-libs/gdk-pixbuf:2
+		X? (
+			x11-libs/cairo[X,xcb(+)]
+			x11-libs/libxcb:=[xkb(+)]
+			x11-libs/xcb-util
+			x11-libs/xcb-util-wm
+		)
+	)
+	pulseaudio? (
+		media-libs/libpulse
+		media-libs/libsndfile
+	)
+	purple? ( net-im/pidgin )
+	speech? ( app-accessibility/speech-dispatcher )
+	systemd? ( sys-apps/systemd:= )
+	upnp? ( >=net-libs/gssdp-1.2:0= )
+	webhook? ( net-libs/libsoup:3.0 )
+	websocket? ( net-libs/libsoup:3.0 )
+	zeroconf? ( net-dns/avahi[dbus] )
+"
+DEPEND="
+	${COMMON_DEPEND}
+	fbcon? ( virtual/os-headers )
+"
+RDEPEND="
+	${COMMON_DEPEND}
+	net-libs/glib-networking[ssl]
+"
+BDEPEND="
+	app-text/docbook-xml-dtd:4.5
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig
+"
+
+pkg_setup() {
+	if use ipv6; then
+		CONFIG_CHECK=$(usex test 'IPV6' '~IPV6')
+		linux-info_pkg_setup
+	fi
+}
+
+src_configure() {
+	# wayland disabled due to missing dep in ::gentoo, wayland-wall
+	local emesonargs=(
+		-Dsystemduserunitdir="$(systemd_get_userunitdir)"
+		-Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
+		-Ddbussessionservicedir="${EPREFIX}/usr/share/dbus-1/services"
+		-Dnd-wayland=false
+		-Dvapi=false
+		$(meson_feature websocket)
+		$(meson_feature zeroconf dns-sd)
+		$(meson_feature upnp ssdp)
+		$(meson_use ipv6)
+		$(meson_use systemd)
+		$(meson_use notification notification-daemon)
+		$(meson_use X nd-xcb)
+		$(meson_use fbcon nd-fbdev)
+		$(meson_use purple im)
+		$(meson_use pulseaudio sound)
+		$(meson_use speech tts)
+		$(meson_use webhook)
+		$(meson_use libnotify)
+		$(meson_use libcanberra)
+		$(meson_use introspection gobject-introspection)
+		$(meson_use debug debug-output)
+	)
+
+	meson_src_configure
+}
+
+src_test() {
+	EVENTD_TESTS_TMP_DIR="${T}" meson_src_test
+}