commit:     e5cbbc5defd3ffec03ca5854a7af11021c5b5117
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  9 07:41:07 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Nov  9 07:42:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5cbbc5d

net-im/mattermost-desktop-bin: declare mime type

Fix launching from browser.

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

 ...ktop-bin-5.5.1.ebuild => mattermost-desktop-bin-5.5.1-r1.ebuild} | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.1.ebuild 
b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.1-r1.ebuild
similarity index 90%
rename from net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.1.ebuild
rename to net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.1-r1.ebuild
index 339810206271..75064aceabf4 100644
--- a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.1.ebuild
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.1-r1.ebuild
@@ -86,8 +86,10 @@ src_install() {
 
        dosym -r "/opt/${MY_PN}/${MY_PN}" "/usr/bin/${MY_PN}"
 
-       make_desktop_entry "${MY_PN} --enable-features=WaylandWindowDecorations 
--ozone-platform-hint=auto" \
-               Mattermost "${MY_PN}"
+       make_desktop_entry \
+               "${MY_PN} --enable-features=WaylandWindowDecorations 
--ozone-platform-hint=auto %U" \
+               Mattermost "${MY_PN}" "Network;InstantMessaging;" \
+               "MimeType=x-scheme-handler/mattermost;"
 
        einstalldocs
 }

Reply via email to