From: "Nick Sarnie" <sarnex@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/discord/
Date: Mon, 24 Jun 2024 22:16:25 +0000 (UTC) [thread overview]
Message-ID: <1719267170.83b7b26d11695034f09482b389e1da0da6d09b19.sarnex@gentoo> (raw)
commit: 83b7b26d11695034f09482b389e1da0da6d09b19
Author: Jon Janzen <jon <AT> jonjanzen <DOT> com>
AuthorDate: Thu Jun 6 02:25:24 2024 +0000
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Mon Jun 24 22:12:50 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83b7b26d
net-im/discord: Add wayland support
Discord appears to support wayland when launched with these options, it
just needs to be enabled manually.
Signed-off-by: Jon Janzen <jon <AT> jonjanzen.com>
Closes: https://github.com/gentoo/gentoo/pull/37043
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>
.../discord/{discord-0.0.57.ebuild => discord-0.0.57-r1.ebuild} | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/net-im/discord/discord-0.0.57.ebuild b/net-im/discord/discord-0.0.57-r1.ebuild
similarity index 93%
rename from net-im/discord/discord-0.0.57.ebuild
rename to net-im/discord/discord-0.0.57-r1.ebuild
index fefed5b524d7..e7dde173394c 100644
--- a/net-im/discord/discord-0.0.57.ebuild
+++ b/net-im/discord/discord-0.0.57-r1.ebuild
@@ -23,7 +23,7 @@ LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="amd64"
-IUSE="appindicator +seccomp"
+IUSE="appindicator +seccomp wayland"
RESTRICT="bindist mirror strip test"
RDEPEND="
@@ -85,6 +85,12 @@ src_prepare() {
sed -i "/Exec/s:/usr/share/discord/Discord:${DESTDIR}/${MY_PN^}:" \
"${MY_PN}.desktop" ||
die "fixing of exec location on .desktop failed"
+ # USE wayland
+ if use wayland; then
+ sed -i '/Exec/s/Discord/Discord --enable-features=UseOzonePlatform --ozone-platform=wayland/' \
+ "${MY_PN}.desktop" ||
+ die "sed failed for wayland"
+ fi
# USE seccomp
if ! use seccomp; then
sed -i '/Exec/s/Discord/Discord --disable-seccomp-filter-sandbox/' \
next reply other threads:[~2024-06-24 22:16 UTC|newest]
Thread overview: 77+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-24 22:16 Nick Sarnie [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-15 2:05 [gentoo-commits] repo/gentoo:master commit in: net-im/discord/ Nick Sarnie
2025-04-01 0:01 Nick Sarnie
2025-03-25 1:43 Nick Sarnie
2025-03-10 22:31 Nick Sarnie
2025-02-24 23:17 Nick Sarnie
2025-02-19 5:34 Nick Sarnie
2025-02-10 22:43 Nick Sarnie
2025-02-05 12:49 Nick Sarnie
2025-02-05 8:33 Nick Sarnie
2025-02-03 22:30 Nick Sarnie
2025-01-28 14:50 Nick Sarnie
2025-01-22 22:14 Nick Sarnie
2025-01-14 9:48 Nick Sarnie
2025-01-07 8:40 Nick Sarnie
2024-12-18 13:18 Nick Sarnie
2024-12-10 8:36 Nick Sarnie
2024-11-25 20:06 Nick Sarnie
2024-11-19 7:06 Nick Sarnie
2024-11-13 6:30 Nick Sarnie
2024-11-04 19:25 Nick Sarnie
2024-10-22 11:18 Nick Sarnie
2024-10-10 8:35 Nick Sarnie
2024-10-02 5:12 Nick Sarnie
2024-09-24 4:42 Nick Sarnie
2024-09-10 6:37 Nick Sarnie
2024-09-04 19:38 Nick Sarnie
2024-09-02 1:39 Nick Sarnie
2024-08-28 6:51 Nick Sarnie
2024-08-22 23:27 Nick Sarnie
2024-08-13 18:42 Nick Sarnie
2024-08-06 0:20 Nick Sarnie
2024-07-30 22:07 Nick Sarnie
2024-07-22 22:42 Nick Sarnie
2024-07-15 23:37 Nick Sarnie
2024-07-09 23:52 Nick Sarnie
2024-06-30 18:57 Nick Sarnie
2024-06-26 0:48 Nick Sarnie
2024-06-17 18:32 Nick Sarnie
2024-06-11 0:07 Nick Sarnie
2024-06-05 2:19 Nick Sarnie
2024-05-14 17:54 Nick Sarnie
2024-05-07 6:17 Joonas Niilola
2024-04-29 22:46 Nick Sarnie
2024-04-23 0:24 Nick Sarnie
2024-04-17 11:08 Joonas Niilola
2024-04-09 19:23 Nick Sarnie
2024-04-09 1:11 Nick Sarnie
2024-03-26 10:08 Nick Sarnie
2024-03-19 11:44 Nick Sarnie
2024-03-13 10:00 Nick Sarnie
2024-03-12 17:39 Nick Sarnie
2024-03-07 3:12 Nick Sarnie
2024-02-13 3:33 Nick Sarnie
2024-01-29 21:37 Nick Sarnie
2024-01-23 3:53 Nick Sarnie
2024-01-10 17:10 Nick Sarnie
2023-12-21 7:52 Sam James
2023-12-12 23:06 Nick Sarnie
2023-12-05 22:19 Nick Sarnie
2023-11-28 23:23 Nick Sarnie
2023-11-14 1:54 Nick Sarnie
2023-11-07 1:44 Nick Sarnie
2023-10-31 18:03 Nick Sarnie
2023-10-17 0:52 Nick Sarnie
2023-10-05 19:46 Nick Sarnie
2023-09-18 23:08 Stefan Strogin
2023-08-30 20:22 Nick Sarnie
2023-07-12 8:32 Stefan Strogin
2023-05-10 14:02 Ionen Wolkens
2023-05-10 14:02 Ionen Wolkens
2023-04-27 22:44 Nick Sarnie
2023-04-27 14:41 Pacho Ramos
2023-03-31 16:25 Sam James
2023-03-31 16:23 Sam James
2023-03-31 0:44 Nick Sarnie
2023-02-14 1:24 Stefan Strogin
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=1719267170.83b7b26d11695034f09482b389e1da0da6d09b19.sarnex@gentoo \
--to=sarnex@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