From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1214112-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 5277813835A
	for <garchives@archives.gentoo.org>; Mon, 12 Oct 2020 12:16:04 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8D8DBE0870;
	Mon, 12 Oct 2020 12:16:03 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 4E7DBE0880
	for <gentoo-commits@lists.gentoo.org>; Mon, 12 Oct 2020 12:16:03 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 31F51340AEC
	for <gentoo-commits@lists.gentoo.org>; Mon, 12 Oct 2020 12:16:02 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E329736B
	for <gentoo-commits@lists.gentoo.org>; Mon, 12 Oct 2020 12:16:00 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1602504951.ef19a977c5d18e7c40e9351ed8072b1320a5ca6d.ulm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/zoom/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-im/zoom/Manifest net-im/zoom/zoom-5.3.472687.1012.ebuild
X-VCS-Directories: net-im/zoom/
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: ef19a977c5d18e7c40e9351ed8072b1320a5ca6d
X-VCS-Branch: master
Date: Mon, 12 Oct 2020 12:16:00 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 2a09b52d-1a23-4a80-be64-7e9f6871c227
X-Archives-Hash: cc4e12d2f38809f9df963f63b448e3d3

commit:     ef19a977c5d18e7c40e9351ed8072b1320a5ca6d
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 12 12:14:30 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Oct 12 12:15:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef19a977

net-im/zoom: Version bump to 5.3.472687.1012.

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

 net-im/zoom/Manifest                    |   2 +
 net-im/zoom/zoom-5.3.472687.1012.ebuild | 105 ++++++++++++++++++++++++++++++++
 2 files changed, 107 insertions(+)

diff --git a/net-im/zoom/Manifest b/net-im/zoom/Manifest
index e38a38a6181..246cc4d1df5 100644
--- a/net-im/zoom/Manifest
+++ b/net-im/zoom/Manifest
@@ -4,3 +4,5 @@ DIST zoom-5.3.465578.0920_i686.tar.xz 39756188 BLAKE2B c14efb485096af16dfcbd80bc
 DIST zoom-5.3.465578.0920_x86_64.tar.xz 40086928 BLAKE2B 78df8a807a951b2d82806a46a90f12ce0287adf77bfd31ead5bd11b642c24012b1692e1dd4bd8c83208c091581040d245b05f518318f9aa175046a0e000ff75b SHA512 b98e6783e5189c296857dd7b19708c70004fd38b1bc68f4ecf53d531b4209cdbce1348b8bdb601df78113d38bdc669271ccb267fc2ae1b2d7683abf8d95ad550
 DIST zoom-5.3.469451.0927_i686.tar.xz 39797144 BLAKE2B 74e7eb541e1ac4c304f5d1faae342078f7ede92e0af84efa2150b9be0db3d69bf78ead639225cba4017a684f94dc505e28aad481ccd0cbeacbfa30ac1aa38faa SHA512 8593d66e214df2c8b6038ce32e2561b035eab6408affcb6bf4ec1f61113a422ec2e710cb2c6ed178034500f96900685bdb10994bc7554462f2899561e54f2e47
 DIST zoom-5.3.469451.0927_x86_64.tar.xz 40206068 BLAKE2B 82a97ad9a908767edddb6ef3b5331b502e5644ce7116d6683ddd810b442080790a4745493e40d7dc82d63515373f3dc6af4cd1665622022f8a8e61d2f65891fc SHA512 922903e576325754b8d7814866c1a06a17e8bfcaee872b6e72f6645a3655832ff6e1f244b5635305ad9286f8472dc82168d3567e816c998981042de00acb574d
+DIST zoom-5.3.472687.1012_i686.tar.xz 39774708 BLAKE2B 3cd80244168bfee3b92ffc5be1763eb9e205c6119cabc64d91dfdb9b22a3a5515c7f397a938982e0de80a51512ff0c47a9812ca4969619a0b403b99d0b385963 SHA512 d0fecb64a50594376b1a9747e9532153ffba8d541ef1b705a3e7ccd1acfd1611fbad6308ec576d2dad99fb4a26a730f283e0eda512afe8939c1f90e3c6636b6d
+DIST zoom-5.3.472687.1012_x86_64.tar.xz 40046644 BLAKE2B a05255bcefcf0a0f44055ef5f89797ef8c62082732fc7e1a68c9601b34ece01989216a8b68fb6d42ec51976159d9f2766de50f25db4dd53120a303c1b6bd26d0 SHA512 c355073ce73ae047bc4aad952432e85ab0464bc3bb68dc20c121243bc719b3bd3337382bd3a283a44724d68b28a6e64c7bd8eb0f6598c2ecb6d4ddcb7193eab0

diff --git a/net-im/zoom/zoom-5.3.472687.1012.ebuild b/net-im/zoom/zoom-5.3.472687.1012.ebuild
new file mode 100644
index 00000000000..58b926df6a2
--- /dev/null
+++ b/net-im/zoom/zoom-5.3.472687.1012.ebuild
@@ -0,0 +1,105 @@
+# 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-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/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
+	dosym {"../../usr/$(get_libdir)",/opt/zoom}/libquazip.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
+}