Add net-im/zoom
authorStefan Huber <shuber@sthu.org>
Thu, 26 Mar 2020 08:56:46 +0000 (09:56 +0100)
committerStefan Huber <shuber@sthu.org>
Thu, 26 Mar 2020 08:56:46 +0000 (09:56 +0100)
Stolen from https://gitweb.gentoo.org/repo/gentoo.git

net-im/zoom/Manifest [new file with mode: 0644]
net-im/zoom/zoom-3.5.372466.0322-r1.ebuild [new file with mode: 0644]

diff --git a/net-im/zoom/Manifest b/net-im/zoom/Manifest
new file mode 100644 (file)
index 0000000..5e8bc50
--- /dev/null
@@ -0,0 +1,3 @@
+DIST zoom-3.5.372466.0322_i686.tar.xz 48479676 BLAKE2B b6fdc176690ce6e4b107ebdd0f348dcbf578c815067c6616eca72e2bc98b993033074525326da74a1377ab61b4db366e816c6213291f59a29dfb0f8f3336fcbc SHA512 ac3e30baa9d251ac2ecde9bc33857d15857c52c28a6632ca7173710e3fff3424f33d55d03754a3d703b6de3578e6cc2b973b2f0eccf8b852b3edb7f2017ac4cb
+DIST zoom-3.5.372466.0322_x86_64.tar.xz 72594544 BLAKE2B dac548df8cfbcdbd90427b1a0c85c6be8798b6065b420e25dc279c8d104e6fc0f9201ad77e5451bf350f11fc26745c5c9e238675ce78e5c54216573c6af829bc SHA512 87058be065e51ea3e85801b4a40e4141278e33719d1390567bbb83010ebd90cf7c48262433227585709c3376278ff7b09d77628920672013c4df3ad97ea0d2c6
+EBUILD zoom-3.5.372466.0322-r1.ebuild 1506 BLAKE2B bbeed66bafd44f283712b9db91a6114f3cba4eb65d7f55b80915e6cae91d568ae0c361f9d2f34895b6d61d2814d6d1946b62b1d180a8b4a7da757c6e168e34ef SHA512 8fa30048ab8845b39f2dfeacd65bfa831d5ab358643a118be1b345aefac478ac86feba9b3247bc741f67bfd0a814b9ee9fd1c388b2c19c05bc02395ed110664e
diff --git a/net-im/zoom/zoom-3.5.372466.0322-r1.ebuild b/net-im/zoom/zoom-3.5.372466.0322-r1.ebuild
new file mode 100644 (file)
index 0000000..4c181df
--- /dev/null
@@ -0,0 +1,63 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop eutils xdg-utils
+
+DESCRIPTION="Video conferencing and web conferencing service"
+HOMEPAGE="https://zoom.us/"
+SRC_URI="amd64? ( https://zoom.us/client/${PV}/${PN}_x86_64.tar.xz -> ${P}_x86_64.tar.xz )
+       x86? ( https://zoom.us/client/${PV}/${PN}_i686.tar.xz -> ${P}_i686.tar.xz )"
+S="${WORKDIR}/${PN}"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="mirror bindist strip"
+
+RDEPEND="dev-libs/glib:2
+       dev-qt/qtcore:5
+       dev-qt/qtdbus:5
+       dev-qt/qtdeclarative:5
+       dev-qt/qtgraphicaleffects:5
+       dev-qt/qtgui:5
+       dev-qt/qtnetwork:5
+       dev-qt/qtpositioning:5
+       dev-qt/qtprintsupport:5
+       dev-qt/qtscript:5
+       dev-qt/qtwebchannel:5
+       dev-qt/qtwebengine:5
+       dev-qt/qtwidgets:5
+       media-libs/libglvnd
+       sys-apps/dbus
+       sys-apps/util-linux
+       x11-libs/libX11
+       x11-libs/libxcb
+       x11-libs/libXext
+       x11-libs/libXfixes
+       x11-libs/libXtst
+       x11-libs/xcb-util-image
+       x11-libs/xcb-util-keysyms"
+
+QA_PREBUILT="opt/zoom/*"
+
+src_install() {
+       insinto /opt/zoom
+       exeinto /opt/zoom
+       doins -r json sip timezones translations
+       doins *.pcm *.pem *.sh Embedded.properties version.txt
+       use amd64 && doins icudtl.dat
+       doexe zoom{,.sh,linux} zopen ZoomLauncher
+       make_wrapper zoom ./zoom /opt/zoom
+       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
+}