commit:     bb0e29959aa4574fd71cc355ba2a5d877eb28858
Author:     Stefan Cristian B. <stefan.cristian+git <AT> rogentos <DOT> ro>
AuthorDate: Wed Feb  5 12:45:45 2025 +0000
Commit:     Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Wed Feb  5 12:49:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb0e2995

net-im/discord: einfo add for screenshare with kwin[screencast] and wayland

Closes: https://bugs.gentoo.org/948978
Signed-off-by: Stefan Cristian B. <stefan.cristian+git <AT> rogentos.ro>
Closes: https://github.com/gentoo/gentoo/pull/40446
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>

 net-im/discord/discord-0.0.84.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/net-im/discord/discord-0.0.84.ebuild 
b/net-im/discord/discord-0.0.84.ebuild
index a62e1b060922..30c43d42ca79 100644
--- a/net-im/discord/discord-0.0.84.ebuild
+++ b/net-im/discord/discord-0.0.84.ebuild
@@ -143,4 +143,10 @@ pkg_postinst() {
        optfeature "sound support" \
                media-sound/pulseaudio media-sound/apulse[sdk] 
media-video/pipewire
        optfeature "emoji support" media-fonts/noto-emoji
+       if has_version kde-plasma/kwin[-screencast] && use wayland; then
+               einfo " "
+               einfo "When using KWin on Wayland, the 
kde-plasma/kwin[screencast] USE flag"
+               einfo "must be enabled for screensharing."
+               einfo " "
+       fi
 }

Reply via email to