commit:     fa40ac7dd559f44c3b901fddafd14cdb1a235776
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  9 12:23:55 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Mar  9 12:26:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa40ac7d

net-im/mattermost-desktop-bin: enable Wayland specific features

Add Wayland specific command line in the .desktop file.
No need to add a USE flag for this, the new parameters don't seem to do
anything meaningful under xorg.

Bug: https://bugs.gentoo.org/899620
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 ...bin-5.3.0_rc4.ebuild => mattermost-desktop-bin-5.3.0_rc4-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc4.ebuild 
b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc4-r1.ebuild
similarity index 93%
rename from 
net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc4.ebuild
rename to 
net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc4-r1.ebuild
index bcf659429aa4..6239ac543889 100644
--- a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc4.ebuild
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc4-r1.ebuild
@@ -87,7 +87,8 @@ src_install() {
 
        dosym -r "/opt/${MY_PN}/${MY_PN}" "/usr/bin/${MY_PN}"
 
-       make_desktop_entry "${MY_PN}" Mattermost "${MY_PN}"
+       make_desktop_entry "${MY_PN} --enable-features=WaylandWindowDecorations 
--ozone-platform-hint=auto" \
+               Mattermost "${MY_PN}"
 
        einstalldocs
 }

Reply via email to