summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-03-24 20:22:53 +0100
committerUlrich Müller <ulm@gentoo.org>2020-03-24 20:24:06 +0100
commit4a5a0135ff732e7f87899fa6f831fb1838ca818a (patch)
tree0ccfa665bf085c3833383b6b9a0c94bc512e7dc1 /net-im/zoom
parentdev-python/python-docs: Bump to 3.8.2 (diff)
downloadgentoo-4a5a0135ff732e7f87899fa6f831fb1838ca818a.tar.gz
gentoo-4a5a0135ff732e7f87899fa6f831fb1838ca818a.tar.bz2
gentoo-4a5a0135ff732e7f87899fa6f831fb1838ca818a.zip
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 <ulm@gentoo.org>
Diffstat (limited to 'net-im/zoom')
-rw-r--r--net-im/zoom/zoom-3.5.372466.0322-r1.ebuild (renamed from net-im/zoom/zoom-3.5.372466.0322.ebuild)13
1 files changed, 11 insertions, 2 deletions
diff --git a/net-im/zoom/zoom-3.5.372466.0322.ebuild b/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
}