commit: ff08c94b67407b36c9bbb39d509ea3bb73fd6796 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jan 8 02:19:23 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jan 8 02:19:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff08c94b
net-misc/eventd: add 0.29.0 Closes: https://bugs.gentoo.org/739680 Closes: https://bugs.gentoo.org/854195 Signed-off-by: Sam James <sam <AT> gentoo.org> net-misc/eventd/Manifest | 1 + net-misc/eventd/eventd-0.29.0.ebuild | 110 +++++++++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+) diff --git a/net-misc/eventd/Manifest b/net-misc/eventd/Manifest index f2c37465e8c6..68ee6c94bb4a 100644 --- a/net-misc/eventd/Manifest +++ b/net-misc/eventd/Manifest @@ -1 +1,2 @@ DIST eventd-0.27.0.tar.xz 188000 BLAKE2B 06779168e9049714aabc051f8a85a5e5764509c3deceddd300c103f4831b6679f082748858bebb9629dcd47fa0b570158c6cf2b665167ab8e20a7dc0f12cc00f SHA512 586fdf36742cfda5a3c5e4cf4600307b8d699701fdf32eec25a7b294c815ded6e7e41210e65c706c34c5f2d911cadec89b677f082dad183f486fb7d1a55a2302 +DIST eventd-0.29.0.tar.xz 196276 BLAKE2B 5d9fd352df65a8bb00e6bf1f7600dadc1bf3d3c98ed02eb3ad3cb6148dc8370dd2bc2ecda7e2b8f60d90b7adebb2187490bb6c934bc0bf8b5d0cd38bb26a8c36 SHA512 32407049df0abba68eb6310a86f8c6ec42774bd55934e5927d92f9eb75fc11f32e790904641a0113d8668c66591a0a82246b3240ba1a9517b243301bb96227b8 diff --git a/net-misc/eventd/eventd-0.29.0.ebuild b/net-misc/eventd/eventd-0.29.0.ebuild new file mode 100644 index 000000000000..b475370e4e82 --- /dev/null +++ b/net-misc/eventd/eventd-0.29.0.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/libsndfile + media-sound/pulseaudio + ) + 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 +}
