Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/zoom/
Date: Tue, 27 Oct 2020 11:01:15
Message-Id: 1603796385.4d40e9e396f0752e11f708f596536a2cf7041314.ulm@gentoo
1 commit: 4d40e9e396f0752e11f708f596536a2cf7041314
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 27 10:59:45 2020 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 27 10:59:45 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d40e9e3
7
8 net-im/zoom: net-im/zoom: Version bump to 5.4.53268.1025.
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.2
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 net-im/zoom/Manifest | 2 +
14 net-im/zoom/zoom-5.4.53268.1025.ebuild | 106 +++++++++++++++++++++++++++++++++
15 2 files changed, 108 insertions(+)
16
17 diff --git a/net-im/zoom/Manifest b/net-im/zoom/Manifest
18 index 045b11ce682..ad41e62e2cc 100644
19 --- a/net-im/zoom/Manifest
20 +++ b/net-im/zoom/Manifest
21 @@ -4,3 +4,5 @@ DIST zoom-5.3.469451.0927_i686.tar.xz 39797144 BLAKE2B 74e7eb541e1ac4c304f5d1faa
22 DIST zoom-5.3.469451.0927_x86_64.tar.xz 40206068 BLAKE2B 82a97ad9a908767edddb6ef3b5331b502e5644ce7116d6683ddd810b442080790a4745493e40d7dc82d63515373f3dc6af4cd1665622022f8a8e61d2f65891fc SHA512 922903e576325754b8d7814866c1a06a17e8bfcaee872b6e72f6645a3655832ff6e1f244b5635305ad9286f8472dc82168d3567e816c998981042de00acb574d
23 DIST zoom-5.3.472687.1012_i686.tar.xz 39774708 BLAKE2B 3cd80244168bfee3b92ffc5be1763eb9e205c6119cabc64d91dfdb9b22a3a5515c7f397a938982e0de80a51512ff0c47a9812ca4969619a0b403b99d0b385963 SHA512 d0fecb64a50594376b1a9747e9532153ffba8d541ef1b705a3e7ccd1acfd1611fbad6308ec576d2dad99fb4a26a730f283e0eda512afe8939c1f90e3c6636b6d
24 DIST zoom-5.3.472687.1012_x86_64.tar.xz 40046644 BLAKE2B a05255bcefcf0a0f44055ef5f89797ef8c62082732fc7e1a68c9601b34ece01989216a8b68fb6d42ec51976159d9f2766de50f25db4dd53120a303c1b6bd26d0 SHA512 c355073ce73ae047bc4aad952432e85ab0464bc3bb68dc20c121243bc719b3bd3337382bd3a283a44724d68b28a6e64c7bd8eb0f6598c2ecb6d4ddcb7193eab0
25 +DIST zoom-5.4.53268.1025_i686.tar.xz 40405772 BLAKE2B b955715d10eb3a3cf46b782c329395e5f1e37687b423ec4ef8296a0b709ec7deaac38fcb755e0f28aaae9bd69204e2437dc25aa480cbce4fa7dce610ba42f390 SHA512 57bea1bc8886db3df1fdd81c20fd2fb162fb649557926fe7c684caf6bfa171cdd0567dbff1520affed3a60a0b18043f12691f64374050c2229155d89c082112c
26 +DIST zoom-5.4.53268.1025_x86_64.tar.xz 44763068 BLAKE2B ec5aa7affece601dce78e10292afbb0be9f44157f783529cc73264852a14dbcf9b27d91c3a2eb49a044fd040a9b1679b3c42a65b2b9f1973d2b330c082d20a83 SHA512 572a657a7f588792244720154b25f568d602571ba3e03a3b8375c096717927fd223ffea425b787cb61dd272c10d5c0048dcdc3be5e5cd72ff6f7a0c122b1a275
27
28 diff --git a/net-im/zoom/zoom-5.4.53268.1025.ebuild b/net-im/zoom/zoom-5.4.53268.1025.ebuild
29 new file mode 100644
30 index 00000000000..b6642189422
31 --- /dev/null
32 +++ b/net-im/zoom/zoom-5.4.53268.1025.ebuild
33 @@ -0,0 +1,106 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit desktop eutils readme.gentoo-r1 xdg-utils
40 +
41 +DESCRIPTION="Video conferencing and web conferencing service"
42 +HOMEPAGE="https://zoom.us/"
43 +SRC_URI="amd64? ( https://zoom.us/client/${PV}/${PN}_x86_64.tar.xz -> ${P}_x86_64.tar.xz )
44 + x86? ( https://zoom.us/client/${PV}/${PN}_i686.tar.xz -> ${P}_i686.tar.xz )"
45 +S="${WORKDIR}/${PN}"
46 +
47 +LICENSE="all-rights-reserved Apache-2.0" # Apache-2.0 for icon
48 +SLOT="0"
49 +KEYWORDS="-* ~amd64 ~x86"
50 +IUSE="bundled-libjpeg-turbo pulseaudio"
51 +RESTRICT="mirror bindist strip"
52 +
53 +RDEPEND="!games-engines/zoom
54 + dev-libs/glib:2
55 + dev-libs/icu
56 + dev-libs/quazip
57 + dev-qt/qtcore:5
58 + dev-qt/qtdbus:5
59 + dev-qt/qtdeclarative:5[widgets]
60 + dev-qt/qtdiag:5
61 + dev-qt/qtgraphicaleffects:5
62 + dev-qt/qtgui:5
63 + dev-qt/qtlocation:5
64 + dev-qt/qtnetwork:5
65 + dev-qt/qtquickcontrols:5[widgets]
66 + dev-qt/qtscript:5
67 + dev-qt/qtsvg:5
68 + dev-qt/qtwidgets:5
69 + media-sound/mpg123
70 + sys-apps/dbus
71 + sys-apps/util-linux
72 + virtual/opengl
73 + x11-libs/libX11
74 + x11-libs/libxcb
75 + x11-libs/libXext
76 + x11-libs/libXfixes
77 + x11-libs/libXtst
78 + x11-libs/xcb-util-image
79 + x11-libs/xcb-util-keysyms
80 + !bundled-libjpeg-turbo? ( media-libs/libjpeg-turbo )
81 + pulseaudio? ( media-sound/pulseaudio )
82 + !pulseaudio? ( media-libs/alsa-lib )"
83 +
84 +BDEPEND="!pulseaudio? ( dev-util/bbe )"
85 +
86 +QA_PREBUILT="opt/zoom/*"
87 +
88 +src_prepare() {
89 + default
90 + if ! use pulseaudio; then
91 + # For some strange reason, zoom cannot use any ALSA sound devices if
92 + # it finds libpulse. This causes breakage if media-sound/apulse[sdk]
93 + # is installed. So, force zoom to ignore libpulse.
94 + bbe -e 's/libpulse.so/IgNoRePuLsE/' zoom >zoom.tmp || die
95 + mv zoom.tmp zoom || die
96 + fi
97 +}
98 +
99 +src_install() {
100 + insinto /opt/zoom
101 + exeinto /opt/zoom
102 + doins -r json ringtone sip timezones translations
103 + doins *.pcm *.pem *.sh Embedded.properties version.txt
104 + doexe zoom zoom.sh zopen ZoomLauncher
105 + dosym {"../../usr/$(get_libdir)",/opt/zoom}/libmpg123.so
106 + dosym {"../../usr/$(get_libdir)",/opt/zoom}/libquazip.so
107 +
108 + if use bundled-libjpeg-turbo; then
109 + doexe libturbojpeg.so
110 + else
111 + dosym {"../../usr/$(get_libdir)",/opt/zoom}/libturbojpeg.so #715106
112 + fi
113 +
114 + make_wrapper zoom ./zoom /opt/zoom
115 + make_desktop_entry "zoom %U" Zoom zoom-videocam "" \
116 + "MimeType=x-scheme-handler/zoommtg;application/x-zoom;"
117 + # The tarball doesn't contain an icon, so take a generic camera icon
118 + # from https://github.com/google/material-design-icons, modified to be
119 + # white on a blue background
120 + doicon -s scalable "${FILESDIR}"/zoom-videocam.svg
121 + doicon -s 24 "${FILESDIR}"/zoom-videocam.xpm
122 + readme.gentoo_create_doc
123 +}
124 +
125 +pkg_postinst() {
126 + xdg_desktop_database_update
127 + xdg_icon_cache_update
128 +
129 + local FORCE_PRINT_ELOG v
130 + for v in ${REPLACING_VERSIONS}; do
131 + ver_test ${v} -le 5.0.403652.0509 && FORCE_PRINT_ELOG=1
132 + done
133 + readme.gentoo_print_elog
134 +}
135 +
136 +pkg_postrm() {
137 + xdg_desktop_database_update
138 + xdg_icon_cache_update
139 +}