commit:     22e8d8de65ccbd3b917376569b72380670a1bee1
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 28 13:15:08 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Oct 28 13:15:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22e8d8de

net-im/zoom: Version bump to 5.4.53350.1027.

Drop the bundled-libjpeg-turbo use flag, because new Zoom versions
bundle a more recent version (2.0.4) of libjpeg-turbo.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 net-im/zoom/Manifest                   |   2 +
 net-im/zoom/zoom-5.4.53350.1027.ebuild | 101 +++++++++++++++++++++++++++++++++
 2 files changed, 103 insertions(+)

diff --git a/net-im/zoom/Manifest b/net-im/zoom/Manifest
index ac8f5782901..6c34ba00c24 100644
--- a/net-im/zoom/Manifest
+++ b/net-im/zoom/Manifest
@@ -2,3 +2,5 @@ DIST zoom-5.3.472687.1012_i686.tar.xz 39774708 BLAKE2B 
3cd80244168bfee3b92ffc5be
 DIST zoom-5.3.472687.1012_x86_64.tar.xz 40046644 BLAKE2B 
a05255bcefcf0a0f44055ef5f89797ef8c62082732fc7e1a68c9601b34ece01989216a8b68fb6d42ec51976159d9f2766de50f25db4dd53120a303c1b6bd26d0
 SHA512 
c355073ce73ae047bc4aad952432e85ab0464bc3bb68dc20c121243bc719b3bd3337382bd3a283a44724d68b28a6e64c7bd8eb0f6598c2ecb6d4ddcb7193eab0
 DIST zoom-5.4.53268.1025_i686.tar.xz 40405772 BLAKE2B 
b955715d10eb3a3cf46b782c329395e5f1e37687b423ec4ef8296a0b709ec7deaac38fcb755e0f28aaae9bd69204e2437dc25aa480cbce4fa7dce610ba42f390
 SHA512 
57bea1bc8886db3df1fdd81c20fd2fb162fb649557926fe7c684caf6bfa171cdd0567dbff1520affed3a60a0b18043f12691f64374050c2229155d89c082112c
 DIST zoom-5.4.53268.1025_x86_64.tar.xz 44763068 BLAKE2B 
ec5aa7affece601dce78e10292afbb0be9f44157f783529cc73264852a14dbcf9b27d91c3a2eb49a044fd040a9b1679b3c42a65b2b9f1973d2b330c082d20a83
 SHA512 
572a657a7f588792244720154b25f568d602571ba3e03a3b8375c096717927fd223ffea425b787cb61dd272c10d5c0048dcdc3be5e5cd72ff6f7a0c122b1a275
+DIST zoom-5.4.53350.1027_i686.tar.xz 40387408 BLAKE2B 
1dcbe3d8fd61340b25966467cbc439906942a5b37129374323ee2de3c06339f7d2af6dd88a90a5bb0ccb14f2b722bb69de26bf3f2c9194fbe1b7bb8b283138e7
 SHA512 
f3cbdae312e4f5bedb31a177ab7deceac3537101cfbd5dcde75d780c137166050b8e961933ae2cda21d57c8fb0b2b6e4008ea4baae37dab38f95448f91e70cc6
+DIST zoom-5.4.53350.1027_x86_64.tar.xz 44685804 BLAKE2B 
dd84c75f6702f9b271b54b114941d4c40da47fd5678011c80d9eca1565f771db64e8180ddcf8efb33e94c0e242e6ca763eb7ea76a7610f06bc85e8c176c6ef7f
 SHA512 
454bc3a70896ffc50748c4ad32a6d6ec2c2e9ce02768d5d19d0341d7d7e8280f0281415595a384381f37be5e1a190194c6b3ae9f65d85f45e3326e5b09c2ccc0

diff --git a/net-im/zoom/zoom-5.4.53350.1027.ebuild 
b/net-im/zoom/zoom-5.4.53350.1027.ebuild
new file mode 100644
index 00000000000..3081591a3d7
--- /dev/null
+++ b/net-im/zoom/zoom-5.4.53350.1027.ebuild
@@ -0,0 +1,101 @@
+# 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="pulseaudio"
+RESTRICT="mirror bindist strip"
+
+RDEPEND="!games-engines/zoom
+       dev-libs/glib:2
+       dev-libs/icu
+       dev-libs/quazip
+       dev-qt/qtcore:5
+       dev-qt/qtdbus:5
+       dev-qt/qtdeclarative:5[widgets]
+       dev-qt/qtdiag:5
+       dev-qt/qtgraphicaleffects:5
+       dev-qt/qtgui:5
+       dev-qt/qtlocation:5
+       dev-qt/qtnetwork:5
+       dev-qt/qtquickcontrols:5[widgets]
+       dev-qt/qtscript:5
+       dev-qt/qtsvg:5
+       dev-qt/qtwidgets:5
+       media-libs/libjpeg-turbo
+       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
+       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 ringtone 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
+       dosym {"../../usr/$(get_libdir)",/opt/zoom}/libquazip.so
+       dosym {"../../usr/$(get_libdir)",/opt/zoom}/libturbojpeg.so #715106
+
+       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
+}

Reply via email to