From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/eventd/
Date: Wed, 24 May 2017 12:14:43 +0000 (UTC) [thread overview]
Message-ID: <1495628081.576d205ae13327cc92780feb0e843eab4fceed30.mgorny@gentoo> (raw)
commit: 576d205ae13327cc92780feb0e843eab4fceed30
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Sun May 21 22:12:38 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 24 12:14:41 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=576d205a
net-misc/eventd: verbump to 0.23.0
Upstream now uses meson build system exclusively, so port ebuild to it.
Closes: https://github.com/gentoo/gentoo/pull/4708
Package-Manager: Portage-2.3.6, Repoman-2.3.2
net-misc/eventd/Manifest | 1 +
net-misc/eventd/eventd-0.23.0.ebuild | 135 +++++++++++++++++++++++++++++++++++
2 files changed, 136 insertions(+)
diff --git a/net-misc/eventd/Manifest b/net-misc/eventd/Manifest
index 5b3d81cbeab..d5685b018d9 100644
--- a/net-misc/eventd/Manifest
+++ b/net-misc/eventd/Manifest
@@ -1 +1,2 @@
DIST eventd-0.21.0.tar.xz 392080 SHA256 f4e1bf014e3e17bf79d3b2a61d947cf4d34000d35fab0b90b869f33f002d2349 SHA512 5907d453c493c9f2332df506037027ef7df021b1e29a6773cf8bb5c32c7a301b65ca55d3e3ea40982d3e48b837738c97b5420309a45a550f409d8912636d1dae WHIRLPOOL 864221209a50491aa9d631ff4b8d9f28b1cda77c6c34b5ac597f0496312830ae75bf10166a574df5adcd93b062fa711f79bcabb8b74e7ca254b40c99b1cb373c
+DIST eventd-0.23.0.tar.xz 157468 SHA256 fe4905d79c8312686c11db28783364b84216289fd1a7fa58db3137135047dc9e SHA512 3aba3e6c969fd123420935537b504ee3868ae1bb2589c1a755228a3aaf010fb71720a708e20de9de7a006cce9094a2b549c5eb686575f6b5b7a772e523b778c6 WHIRLPOOL 56807be1e2c52dd0fee24e815e601dd0ca11c7bdc2d5d3a3e7bdf8ecdf1d090438bf106135de411d788d3eada47dd4f1d5137665c26a5194a164f5d1ae649003
diff --git a/net-misc/eventd/eventd-0.23.0.ebuild b/net-misc/eventd/eventd-0.23.0.ebuild
new file mode 100644
index 00000000000..c656458a796
--- /dev/null
+++ b/net-misc/eventd/eventd-0.23.0.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic linux-info meson systemd xdg-utils
+
+DESCRIPTION="A small daemon to act on remote or local events"
+HOMEPAGE="https://www.eventd.org/"
+SRC_URI="https://www.eventd.org/download/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-3+ LGPL-3+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug fbcon +introspection ipv6 libcanberra libnotify +notification
+ pulseaudio purple speech systemd test upnp websocket +X zeroconf"
+
+REQUIRED_USE="
+ X? ( notification )
+ fbcon? ( notification )
+ notification? ( || ( X fbcon ) )
+ test? ( websocket )
+"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.40:2
+ sys-apps/util-linux
+ introspection? ( >=dev-libs/gobject-introspection-1.42 )
+ libcanberra? ( media-libs/libcanberra )
+ libnotify? ( x11-libs/gdk-pixbuf:2 )
+ notification? (
+ x11-libs/cairo
+ x11-libs/pango
+ x11-libs/gdk-pixbuf:2
+ X? (
+ x11-libs/cairo[xcb]
+ x11-libs/libxcb:=
+ 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:= )
+ websocket? ( >=net-libs/libsoup-2.50:2.4 )
+ zeroconf? ( net-dns/avahi[dbus] )
+"
+DEPEND="${COMMON_DEPEND}
+ app-text/docbook-xml-dtd:4.5
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ virtual/pkgconfig
+ fbcon? ( virtual/os-headers )
+"
+RDEPEND="${COMMON_DEPEND}
+ net-libs/glib-networking[ssl]
+"
+
+eventd_check_compiler() {
+ if [[ ${MERGE_TYPE} != "binary" ]] && ! test-flag-CXX -std=c++11; then
+ die "Your compiler lacks C++11 support. Use GCC>=4.7.0 or Clang>=3.3."
+ fi
+}
+
+pkg_pretend() {
+ eventd_check_compiler
+}
+
+pkg_setup() {
+ if use ipv6; then
+ CONFIG_CHECK=$(usex test 'IPV6' '~IPV6')
+ linux-info_pkg_setup
+ fi
+ eventd_check_compiler
+}
+
+src_prepare() {
+ default_src_prepare
+
+ # Workaround Gentoo bug 604398.
+ sed -i \
+ -e 's|libspeechd|speech-dispatcher/libspeechd|g' \
+ plugins/tts/src/tts.c || die
+
+ # Prevent access violations from introspection metadata generation.
+ xdg_environment_reset
+}
+
+eventd_use_enable() {
+ echo "-Denable-${2:-${1}}=$(usex ${1} 'true' 'false')" || die
+}
+
+src_configure() {
+ local emesonargs=(
+ -Dsystemduserunitdir="$(systemd_get_userunitdir)"
+ -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
+ -Ddbussessionservicedir="${EPREFIX}/usr/share/dbus-1/services"
+ $(eventd_use_enable websocket)
+ $(eventd_use_enable zeroconf dns-sd)
+ $(eventd_use_enable upnp ssdp)
+ $(eventd_use_enable ipv6)
+ $(eventd_use_enable systemd)
+ $(eventd_use_enable notification notification-daemon)
+ # Wayland plugin requires wayland-wall, which is currently WIP.
+ # See https://github.com/wayland-wall/wayland-wall/issues/1
+ -Denable-nd-wayland="false"
+ $(eventd_use_enable X nd-xcb)
+ $(eventd_use_enable fbcon nd-fbdev)
+ $(eventd_use_enable purple im)
+ $(eventd_use_enable pulseaudio sound)
+ $(eventd_use_enable speech tts)
+ $(eventd_use_enable libnotify)
+ $(eventd_use_enable libcanberra)
+ $(eventd_use_enable introspection gobject-introspection)
+ $(eventd_use_enable debug)
+ )
+ meson_src_configure
+}
+
+src_test() {
+ EVENTD_TESTS_TMP_DIR="${T}" meson_src_test
+}
+
+pkg_postinst() {
+ if { use notification || use libnotify; } && ! has_version 'gnome-base/librsvg'; then
+ elog
+ elog "For SVG icons in notifications, please install 'gnome-base/librsvg'."
+ elog
+ fi
+}
next reply other threads:[~2017-05-24 12:14 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-24 12:14 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-08-14 21:13 [gentoo-commits] repo/gentoo:master commit in: net-misc/eventd/ Matt Turner
2023-08-14 21:13 Matt Turner
2023-06-10 22:56 Andreas Sturmlechner
2023-01-08 2:19 Sam James
2022-10-08 22:15 Sam James
2020-05-28 12:00 Joonas Niilola
2020-02-21 21:20 Mart Raudsepp
2020-01-14 22:48 Matt Turner
2019-12-12 14:58 Michał Górny
2019-10-26 9:58 Joonas Niilola
2019-10-26 9:54 Joonas Niilola
2019-10-23 13:46 Joonas Niilola
2019-10-23 5:10 Joonas Niilola
2019-10-23 5:10 Joonas Niilola
2018-03-17 11:19 Michał Górny
2018-03-17 11:19 Michał Górny
2018-03-11 23:37 Michael Palimaka
2018-03-11 23:37 Michael Palimaka
2018-02-25 23:59 Andreas Sturmlechner
2017-11-19 16:10 Andreas Sturmlechner
2017-11-19 16:10 Andreas Sturmlechner
2017-05-21 21:03 Michał Górny
2017-04-15 7:35 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1495628081.576d205ae13327cc92780feb0e843eab4fceed30.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox