diff options
Diffstat (limited to 'net-im/zoom')
-rw-r--r-- | net-im/zoom/Manifest | 2 | ||||
-rw-r--r-- | net-im/zoom/zoom-5.3.465578.0920.ebuild | 104 |
2 files changed, 106 insertions, 0 deletions
diff --git a/net-im/zoom/Manifest b/net-im/zoom/Manifest index 2b7c0b278688..958bb1aab266 100644 --- a/net-im/zoom/Manifest +++ b/net-im/zoom/Manifest @@ -2,3 +2,5 @@ DIST zoom-5.2.454870.0831_i686.tar.xz 39596492 BLAKE2B 4b0e0ba01b7865a721b4a7e54 DIST zoom-5.2.454870.0831_x86_64.tar.xz 38984928 BLAKE2B 9cf4f6903287909d4aeaa3437e3a25eebd4e9ea1b4e7eb2f8ba7fdce174b25e570c8aa12d0e4555a43b94a3056506f1a09d45122090a3183d4a934935630fa5a SHA512 44f7fba85c991ac017a8bf61216a7b51d8ae526631be95a25611f6116e3e4b4e1257f8f72b88172539e1ad3d831d58bc87b9858d868a271d4f9ae64b4061d27e DIST zoom-5.2.458699.0906_i686.tar.xz 39597652 BLAKE2B 594dde9f4246e3a1f52bdf0fe45df1557c476a64167f7aa879c8cee39b7a46f65d86265f7b4c18de8028f96b3c74d7e2d6af0d53e8ffea95dc8fc1e0a9e3d679 SHA512 d987913c1680f772eb13362d9b356ee3deb99c67f267a7d15c6907a8693901439e1309e4e6f9eaebd22b2480ca4fa6e68fea96c6e2642a0a7e717211dac90e22 DIST zoom-5.2.458699.0906_x86_64.tar.xz 38982472 BLAKE2B 45645ffd3a105e2e3c801750490ba57a5b509748d7c6f12699bab540410e08b4dd677d3be3f581ea94a66a0e80348ad1dfd739eeb5c543d2d68d172ab6b85154 SHA512 c9f73bb58eaf591df0675c9518bf97bb1c0a7a902107411e6c6ba4d06e51081155abc50f950a0bf234bf1d1a234cc4476dfbf95d08ac8f7dc0b08abc40c7564c +DIST zoom-5.3.465578.0920_i686.tar.xz 39756188 BLAKE2B c14efb485096af16dfcbd80bcbd643e48fcea784568d231a37e9dd7bf57337f0171981de209ebc1482518cc6f7216c425e43fcd36c43c30732b39928057ec7cc SHA512 cbdc35e8124a558a084e89483e0150cfb9585668f6e259e75b7d6f6323849c3dcdae75b1525c5e86eba5cf05867e8ce8a0cb2f4e8406a16fcb5a30673aa7102c +DIST zoom-5.3.465578.0920_x86_64.tar.xz 40086928 BLAKE2B 78df8a807a951b2d82806a46a90f12ce0287adf77bfd31ead5bd11b642c24012b1692e1dd4bd8c83208c091581040d245b05f518318f9aa175046a0e000ff75b SHA512 b98e6783e5189c296857dd7b19708c70004fd38b1bc68f4ecf53d531b4209cdbce1348b8bdb601df78113d38bdc669271ccb267fc2ae1b2d7683abf8d95ad550 diff --git a/net-im/zoom/zoom-5.3.465578.0920.ebuild b/net-im/zoom/zoom-5.3.465578.0920.ebuild new file mode 100644 index 000000000000..0e6c0923b373 --- /dev/null +++ b/net-im/zoom/zoom-5.3.465578.0920.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop eutils readme.gentoo-r1 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 Apache-2.0" # Apache-2.0 for icon +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="bundled-libjpeg-turbo pulseaudio" +RESTRICT="mirror bindist strip" + +RDEPEND="!games-engines/zoom + dev-libs/glib:2 + dev-libs/icu + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + amd64? ( dev-qt/qtdeclarative:5[widgets] ) + x86? ( dev-qt/qtdeclarative:5 ) + dev-qt/qtdiag:5 + dev-qt/qtgraphicaleffects:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtquickcontrols:5[widgets] + dev-qt/qtscript:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + media-sound/mpg123 + sys-apps/dbus + sys-apps/util-linux + virtual/opengl + 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 + !bundled-libjpeg-turbo? ( media-libs/libjpeg-turbo ) + pulseaudio? ( media-sound/pulseaudio ) + !pulseaudio? ( media-libs/alsa-lib )" + +BDEPEND="!pulseaudio? ( dev-util/bbe )" + +QA_PREBUILT="opt/zoom/*" + +src_prepare() { + default + if ! use pulseaudio; then + # For some strange reason, zoom cannot use any ALSA sound devices if + # it finds libpulse. This causes breakage if media-sound/apulse[sdk] + # is installed. So, force zoom to ignore libpulse. + bbe -e 's/libpulse.so/IgNoRePuLsE/' zoom >zoom.tmp || die + mv zoom.tmp zoom || die + fi +} + +src_install() { + insinto /opt/zoom + exeinto /opt/zoom + doins -r json sip timezones translations + doins *.pcm *.pem *.sh Embedded.properties version.txt + doexe zoom zoom.sh zopen ZoomLauncher + dosym {"../../usr/$(get_libdir)",/opt/zoom}/libmpg123.so + + if use bundled-libjpeg-turbo; then + doexe libturbojpeg.so + else + dosym {"../../usr/$(get_libdir)",/opt/zoom}/libturbojpeg.so #715106 + fi + + make_wrapper zoom ./zoom /opt/zoom + make_desktop_entry "zoom %U" Zoom zoom-videocam "" \ + "MimeType=x-scheme-handler/zoommtg;application/x-zoom;" + # The tarball doesn't contain an icon, so take a generic camera icon + # from https://github.com/google/material-design-icons, modified to be + # white on a blue background + doicon -s scalable "${FILESDIR}"/zoom-videocam.svg + doicon -s 24 "${FILESDIR}"/zoom-videocam.xpm + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + + local FORCE_PRINT_ELOG v + for v in ${REPLACING_VERSIONS}; do + ver_test ${v} -le 5.0.403652.0509 && FORCE_PRINT_ELOG=1 + done + readme.gentoo_print_elog +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} |