From: Ulrich Müller Date: Tue, 24 Mar 2020 19:22:53 +0000 (+0100) Subject: net-im/zoom: Fix desktop entry. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4a5a0135ff732e7f87899fa6f831fb1838ca818a;p=gentoo.git net-im/zoom: Fix desktop entry. Bug: https://bugs.gentoo.org/714166 Package-Manager: Portage-2.3.95, Repoman-2.3.21 Signed-off-by: Ulrich Müller --- diff --git a/net-im/zoom/zoom-3.5.372466.0322.ebuild b/net-im/zoom/zoom-3.5.372466.0322-r1.ebuild similarity index 83% rename from net-im/zoom/zoom-3.5.372466.0322.ebuild rename to net-im/zoom/zoom-3.5.372466.0322-r1.ebuild index d867c317bffb..4c181df99b4b 100644 --- a/net-im/zoom/zoom-3.5.372466.0322.ebuild +++ b/net-im/zoom/zoom-3.5.372466.0322-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit desktop eutils +inherit desktop eutils xdg-utils DESCRIPTION="Video conferencing and web conferencing service" HOMEPAGE="https://zoom.us/" @@ -50,5 +50,14 @@ src_install() { use amd64 && doins icudtl.dat doexe zoom{,.sh,linux} zopen ZoomLauncher make_wrapper zoom ./zoom /opt/zoom - make_desktop_entry zoom zoom audio-headset + make_desktop_entry "zoom %U" Zoom audio-headset "" \ + "MimeType=x-scheme-handler/zoommtg;application/x-zoom;" +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update }