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