From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-apps/mako/
Date: Sat, 25 Dec 2021 22:10:04 +0000 (UTC) [thread overview]
Message-ID: <1640470190.97985fb97c421b1301b70c750f90051fbcf70bae.sam@gentoo> (raw)
commit: 97985fb97c421b1301b70c750f90051fbcf70bae
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 25 22:08:39 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 25 22:09:50 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97985fb9
gui-apps/mako: fix automagic basu usage
Not sure how I missed that before!
Fixes: 8f162d2e7717b30d130925a72129d56a4fbd4daa
Closes: https://bugs.gentoo.org/783156
Reported-by: Arsen Arsenovic <arsen <AT> aarsen.me>
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../mako/{mako-1.6-r2.ebuild => mako-1.6-r3.ebuild} | 17 +++++++++++++----
gui-apps/mako/mako-9999.ebuild | 17 +++++++++++++----
2 files changed, 26 insertions(+), 8 deletions(-)
diff --git a/gui-apps/mako/mako-1.6-r2.ebuild b/gui-apps/mako/mako-1.6-r3.ebuild
similarity index 72%
rename from gui-apps/mako/mako-1.6-r2.ebuild
rename to gui-apps/mako/mako-1.6-r3.ebuild
index 89b09c2d756e..dc520d5f6127 100644
--- a/gui-apps/mako/mako-1.6-r2.ebuild
+++ b/gui-apps/mako/mako-1.6-r3.ebuild
@@ -13,20 +13,20 @@ if [[ ${PV} == 9999 ]]; then
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"
+ KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
-IUSE="+icons"
+IUSE="elogind +icons systemd"
DEPEND="
dev-libs/wayland
x11-libs/pango
x11-libs/cairo
|| (
- sys-apps/systemd
- sys-auth/elogind
+ systemd? ( sys-apps/systemd )
+ elogind? ( sys-auth/elogind )
sys-libs/basu
)
sys-apps/dbus
@@ -49,5 +49,14 @@ src_configure() {
-Dicons=$(usex icons enabled disabled)
"-Dwerror=false"
)
+
+ 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
}
diff --git a/gui-apps/mako/mako-9999.ebuild b/gui-apps/mako/mako-9999.ebuild
index 920feefafb99..dc520d5f6127 100644
--- a/gui-apps/mako/mako-9999.ebuild
+++ b/gui-apps/mako/mako-9999.ebuild
@@ -18,15 +18,15 @@ fi
LICENSE="MIT"
SLOT="0"
-IUSE="+icons"
+IUSE="elogind +icons systemd"
DEPEND="
dev-libs/wayland
x11-libs/pango
x11-libs/cairo
|| (
- sys-apps/systemd
- sys-auth/elogind
+ systemd? ( sys-apps/systemd )
+ elogind? ( sys-auth/elogind )
sys-libs/basu
)
sys-apps/dbus
@@ -37,7 +37,7 @@ DEPEND="
"
RDEPEND="
${DEPEND}
- dev-libs/wayland-protocols
+ >=dev-libs/wayland-protocols-1.21
"
BDEPEND="
virtual/pkgconfig
@@ -49,5 +49,14 @@ src_configure() {
-Dicons=$(usex icons enabled disabled)
"-Dwerror=false"
)
+
+ 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
}
next reply other threads:[~2021-12-25 22:10 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-25 22:10 Sam James [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-15 2:40 John Helmert III
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-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=1640470190.97985fb97c421b1301b70c750f90051fbcf70bae.sam@gentoo \
--to=sam@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