public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "John Helmert III" <ajak@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-apps/mako/
Date: Mon, 15 Aug 2022 02:40:44 +0000 (UTC)	[thread overview]
Message-ID: <1660531219.4e4773b156dee91fd662dab42a1bdda0a6044d17.ajak@gentoo> (raw)

commit:     4e4773b156dee91fd662dab42a1bdda0a6044d17
Author:     John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 24 19:36:24 2022 +0000
Commit:     John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Mon Aug 15 02:40:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e4773b1

gui-apps/mako: install systemd user unit and completions

Closes: https://github.com/gentoo/gentoo/pull/26572
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>

 gui-apps/mako/mako-1.7.1-r1.ebuild | 71 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)

diff --git a/gui-apps/mako/mako-1.7.1-r1.ebuild b/gui-apps/mako/mako-1.7.1-r1.ebuild
new file mode 100644
index 000000000000..6ffde2623461
--- /dev/null
+++ b/gui-apps/mako/mako-1.7.1-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson systemd
+
+DESCRIPTION="A lightweight notification daemon for Wayland. Works on Sway"
+HOMEPAGE="https://github.com/emersion/mako"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/emersion/${PN}.git"
+else
+	SRC_URI="https://github.com/emersion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="elogind +icons systemd"
+
+DEPEND="
+	dev-libs/wayland
+	dev-util/wayland-scanner
+	x11-libs/pango
+	x11-libs/cairo
+	|| (
+		systemd? ( sys-apps/systemd )
+		elogind? ( sys-auth/elogind )
+		sys-libs/basu
+	)
+	sys-apps/dbus
+	icons? (
+		x11-libs/gtk+:3
+		x11-libs/gdk-pixbuf
+	)
+"
+RDEPEND="
+	${DEPEND}
+	>=dev-libs/wayland-protocols-1.21
+"
+BDEPEND="
+	virtual/pkgconfig
+	app-text/scdoc
+"
+
+src_configure() {
+	local emesonargs=(
+		-Dicons=$(usex icons enabled disabled)
+		-Dzsh-completions=true
+		-Dfish-completions=true
+		-Dbash-completions=true
+	)
+
+	if use systemd ; then
+		emesonargs+=( -Dsd-bus-provider=libsystemd )
+	elif use elogind ; then
+		emesonargs+=( -Dsd-bus-provider=libelogind )
+	else
+		emesonargs+=( -Dsd-bus-provider=basu )
+	fi
+
+	meson_src_configure
+}
+
+src_install() {
+	meson_src_install
+
+	systemd_douserunit contrib/systemd/mako.service
+}


             reply	other threads:[~2022-08-15  2:40 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-15  2:40 John Helmert III [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-26 16:34 [gentoo-commits] repo/gentoo:master commit in: gui-apps/mako/ Sam James
2024-08-26 13:03 Arthur Zamarin
2024-08-26 13:03 Arthur Zamarin
2024-05-26 17:12 Arthur Zamarin
2024-05-26 17:12 Arthur Zamarin
2024-04-04 16:23 Arthur Zamarin
2024-01-29 11:33 Sam James
2023-08-01 21:26 Matthew Thode
2023-07-02  1:46 Matthew Thode
2023-06-02  0:13 Matthew Thode
2023-03-11 17:04 Sam James
2022-09-09  4:48 Matthew Thode
2022-08-09  1:09 Matthew Thode
2022-07-07 20:51 Matthew Thode
2022-07-07 16:10 Matthew Thode
2022-05-17  5:59 Sam James
2022-01-31 20:11 Jakov Smolić
2021-12-25 22:10 Sam James
2021-12-24  4:47 Sam James
2021-11-14 16:38 Mike Gilbert
2021-09-24  2:25 Matthew Thode
2021-08-11 14:35 Matthew Thode
2021-07-12  3:00 Matthew Thode
2021-07-05 20:02 Matthew Thode
2021-06-06  3:49 Matthew Thode
2021-05-09  4:42 Sam James
2021-05-04 21:13 Matthew Thode
2020-02-21  1:09 Matthew Thode
2020-02-14 16:57 Matthew Thode
2020-02-13 22:54 Matthew Thode
2020-02-13 22:54 Matthew Thode
2020-01-13  5:24 Matthew Thode
2019-08-19 15:32 Matthew Thode
2019-07-19 19:22 Matthew Thode
2019-05-29 20:45 Aaron Bauman
2019-05-15 20:19 Matthew Thode
2019-04-24 23:11 Thomas Deutschmann
2019-04-19 19:47 Matthew Thode
2019-04-10  5:03 Aaron Bauman
2019-04-10  3:01 Aaron Bauman
2019-04-05 22:58 Matthew Thode

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=1660531219.4e4773b156dee91fd662dab42a1bdda0a6044d17.ajak@gentoo \
    --to=ajak@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