summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-01-14 14:41:50 -0800
committerMatt Turner <mattst88@gentoo.org>2020-01-14 14:48:00 -0800
commit831e057d115735412a4cbce0d87b600cc17c64b3 (patch)
tree8eb30d4afd7a37839370f9c4af847c2febc65a2c /net-misc/eventd/eventd-0.27.0-r1.ebuild
parentx11-misc/i3lock: Update x11-libs/cairo dependency (diff)
downloadgentoo-831e057d115735412a4cbce0d87b600cc17c64b3.tar.gz
gentoo-831e057d115735412a4cbce0d87b600cc17c64b3.tar.bz2
gentoo-831e057d115735412a4cbce0d87b600cc17c64b3.zip
net-misc/eventd: Update x11-libs/cairo dependency
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'net-misc/eventd/eventd-0.27.0-r1.ebuild')
-rw-r--r--net-misc/eventd/eventd-0.27.0-r1.ebuild106
1 files changed, 106 insertions, 0 deletions
diff --git a/net-misc/eventd/eventd-0.27.0-r1.ebuild b/net-misc/eventd/eventd-0.27.0-r1.ebuild
new file mode 100644
index 000000000000..b7ceae38f1fb
--- /dev/null
+++ b/net-misc/eventd/eventd-0.27.0-r1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 wayland 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:= )
+ wayland? ( dev-libs/wayland )
+ webhook? ( net-libs/libsoup:2.4 )
+ websocket? ( net-libs/libsoup: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
+ fbcon? ( virtual/os-headers )
+"
+RDEPEND="${COMMON_DEPEND}
+ net-libs/glib-networking[ssl]
+"
+BDEPEND="virtual/pkgconfig"
+
+pkg_setup() {
+ if use ipv6; then
+ CONFIG_CHECK=$(usex test 'IPV6' '~IPV6')
+ linux-info_pkg_setup
+ fi
+}
+
+src_configure() {
+ local emesonargs=(
+ -Dsystemduserunitdir="$(systemd_get_userunitdir)"
+ -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
+ -Ddbussessionservicedir="${EPREFIX}/usr/share/dbus-1/services"
+ $(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 wayland nd-wayland)
+ $(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
+}