From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0857E158094 for ; Mon, 15 Aug 2022 02:40:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DACBE099C; Mon, 15 Aug 2022 02:40:47 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0B7DCE099C for ; Mon, 15 Aug 2022 02:40:46 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D168E34163E for ; Mon, 15 Aug 2022 02:40:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2BF9F53F for ; Mon, 15 Aug 2022 02:40:44 +0000 (UTC) From: "John Helmert III" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "John Helmert III" Message-ID: <1660531219.4e4773b156dee91fd662dab42a1bdda0a6044d17.ajak@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gui-apps/mako/ X-VCS-Repository: repo/gentoo X-VCS-Files: gui-apps/mako/mako-1.7.1-r1.ebuild X-VCS-Directories: gui-apps/mako/ X-VCS-Committer: ajak X-VCS-Committer-Name: John Helmert III X-VCS-Revision: 4e4773b156dee91fd662dab42a1bdda0a6044d17 X-VCS-Branch: master Date: Mon, 15 Aug 2022 02:40:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 630a7da3-5731-4ff0-9b9b-08047f05bf33 X-Archives-Hash: 1f3c72ee3879d89b889d516f72d1f303 commit: 4e4773b156dee91fd662dab42a1bdda0a6044d17 Author: John Helmert III gentoo org> AuthorDate: Sun Jul 24 19:36:24 2022 +0000 Commit: John Helmert III gentoo 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 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 +}