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: Thu, 01 Apr 2021 09:24:28
Message-Id: 1617269057.aa6ecf6b44c83ba8478fe2ac3a8d79a11732cf32.ulm@gentoo
1 commit: aa6ecf6b44c83ba8478fe2ac3a8d79a11732cf32
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 1 09:22:46 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 1 09:24:17 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa6ecf6b
7
8 net-im/zoom: Remove old
9
10 Package-Manager: Portage-3.0.17, Repoman-3.0.2
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 net-im/zoom/Manifest | 1 -
14 net-im/zoom/zoom-5.5.7938.0228.ebuild | 151 ----------------------------------
15 2 files changed, 152 deletions(-)
16
17 diff --git a/net-im/zoom/Manifest b/net-im/zoom/Manifest
18 index 17922e82d27..64e59c81102 100644
19 --- a/net-im/zoom/Manifest
20 +++ b/net-im/zoom/Manifest
21 @@ -1,5 +1,4 @@
22 DIST zoom-5.4.53391.1108_i686.tar.xz 40384800 BLAKE2B 0d449103e16799e6e6bcaf6ef1c105d6a75ce8728bfedb5107a9c6deedd9e8ef1988e19ddc33da43de8eb925d386460a84b5efe13c0709de6901239a688b4fb0 SHA512 d77357ab669ade90d4b8ae99116372db8b8b9a251625ed0566e89a8cc4d3f7aced07fd08d4646a223fad58f588e1dc2484464bd70e203b875ac9866fb92fe2ea
23 DIST zoom-5.4.53391.1108_x86_64.tar.xz 44660944 BLAKE2B 7152f4daccdbce56e2c83971f507bc70d5b77e8edd558f311e67f0e2ab127967cdd15c90b92ca95735b2fad3e11d692b206c32c5f7d65cd116050e8e6579fcdd SHA512 f52e2fda15a29c2232656e8f34a5d65c3c401eb50f249d5436a949c09efd5b821d1c5e1f59dc4c27b5f4aadc1c24f474854498664b5d333d340d03f4998c59ba
24 -DIST zoom-5.5.7938.0228_x86_64.tar.xz 50938368 BLAKE2B e8a45c95db2080092674441f16d4bdeeadbe8999483f3ac7ba2da3afb1b340fb3f03cb879a97dd93512159f5a6ff57996782d7b4137547aa78c652c3c40b2641 SHA512 76d3d1dc3c8772636db59f8b641241c4910a54c0e71d33e3f51960d85fd5957536d0e5bbd20870fb7fc1af1457344a3567d7f46bcdfe99774bb87280b14e812c
25 DIST zoom-5.6.13558.0321_x86_64.tar.xz 51216956 BLAKE2B c8643ceed50a1714f56565ce49174a6b7297467948dffd6f6d395e8b363510c017a9fd6a9496b6b61b2443b27433bf038c195feb9780cef3170db7dde07c4a50 SHA512 e6ca64e6c5b1e4fdf033d475f53a8c0b598d162c8cbea2688b3626105118bf7cc7c58664519587a0d01c644c812d6c0a58fbd14e45ea52de0cdd2774750fa6c0
26 DIST zoom-5.6.13632.0328_x86_64.tar.xz 51279124 BLAKE2B ccbdfa54cc718f236bdacd570f70930a29e46a86ec739af9af2dfde9083f60b659d5fb9e73ecf7a139e3641d9790eab2717d494dc71916f2ee56e195adbe8902 SHA512 88659f41f1332002ba35ce626638e95f4c6b0fa62a193cb7e4fcb613310612ad7641d57f10ecd5a8791408b0d920587d586659a502f874c761758cc6c86d4733
27
28 diff --git a/net-im/zoom/zoom-5.5.7938.0228.ebuild b/net-im/zoom/zoom-5.5.7938.0228.ebuild
29 deleted file mode 100644
30 index 7ae87da3f7b..00000000000
31 --- a/net-im/zoom/zoom-5.5.7938.0228.ebuild
32 +++ /dev/null
33 @@ -1,151 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit desktop eapi8-dosym readme.gentoo-r1 wrapper xdg-utils
40 -
41 -DESCRIPTION="Video conferencing and web conferencing service"
42 -HOMEPAGE="https://zoom.us/"
43 -SRC_URI="https://zoom.us/client/${PV}/${PN}_x86_64.tar.xz -> ${P}_x86_64.tar.xz"
44 -S="${WORKDIR}/${PN}"
45 -
46 -LICENSE="all-rights-reserved"
47 -SLOT="0"
48 -KEYWORDS="-* ~amd64"
49 -IUSE="bundled-libjpeg-turbo +bundled-qt pulseaudio wayland"
50 -RESTRICT="mirror bindist strip"
51 -
52 -RDEPEND="!games-engines/zoom
53 - dev-libs/glib:2
54 - dev-libs/quazip:0=
55 - media-libs/fdk-aac:0/2
56 - media-libs/fontconfig
57 - media-libs/freetype
58 - media-sound/mpg123
59 - sys-apps/dbus
60 - sys-apps/util-linux
61 - virtual/opengl
62 - x11-libs/libX11
63 - x11-libs/libxcb
64 - x11-libs/libXext
65 - x11-libs/libXfixes
66 - x11-libs/libxkbcommon[X]
67 - x11-libs/libXrender
68 - x11-libs/libXtst
69 - x11-libs/xcb-util-image
70 - x11-libs/xcb-util-keysyms
71 - pulseaudio? ( media-sound/pulseaudio )
72 - !pulseaudio? ( media-libs/alsa-lib )
73 - wayland? ( dev-libs/wayland )
74 - !bundled-libjpeg-turbo? ( >=media-libs/libjpeg-turbo-2.0.5 )
75 - !bundled-qt? (
76 - dev-libs/icu
77 - dev-qt/qtcore:5
78 - dev-qt/qtdbus:5
79 - dev-qt/qtdeclarative:5[widgets]
80 - dev-qt/qtdiag:5
81 - dev-qt/qtgraphicaleffects:5
82 - dev-qt/qtgui:5
83 - dev-qt/qtlocation:5
84 - dev-qt/qtnetwork:5
85 - dev-qt/qtquickcontrols:5[widgets]
86 - dev-qt/qtquickcontrols2:5
87 - dev-qt/qtscript:5
88 - dev-qt/qtsvg:5
89 - dev-qt/qtwidgets:5
90 - wayland? ( dev-qt/qtwayland )
91 - )"
92 -
93 -BDEPEND="dev-util/bbe
94 - bundled-libjpeg-turbo? ( dev-util/patchelf )"
95 -
96 -QA_PREBUILT="opt/zoom/*"
97 -
98 -src_prepare() {
99 - default
100 -
101 - # The tarball doesn't contain an icon, so extract it from the binary
102 - bbe -s -b '/<svg width="32"/:/<\x2fsvg>\n/' -e 'J 1;D' zoom \
103 - >zoom-videocam.svg && [[ -s zoom-videocam.svg ]] \
104 - || die "Extraction of icon failed"
105 -
106 - if ! use pulseaudio; then
107 - # For some strange reason, zoom cannot use any ALSA sound devices if
108 - # it finds libpulse. This causes breakage if media-sound/apulse[sdk]
109 - # is installed. So, force zoom to ignore libpulse.
110 - bbe -e 's/libpulse.so/IgNoRePuLsE/' zoom >zoom.tmp || die
111 - mv zoom.tmp zoom || die
112 - fi
113 -
114 - if use bundled-libjpeg-turbo; then
115 - # Remove insecure RPATH from bundled lib
116 - patchelf --remove-rpath libturbojpeg.so || die
117 - fi
118 -}
119 -
120 -src_install() {
121 - insinto /opt/zoom
122 - exeinto /opt/zoom
123 - doins -r json ringtone sip timezones translations
124 - doins *.pcm *.sh Embedded.properties version.txt
125 - doexe zoom zopen ZoomLauncher
126 - dosym8 -r {"/usr/$(get_libdir)",/opt/zoom}/libmpg123.so
127 - dosym8 -r "/usr/$(get_libdir)/libfdk-aac.so.2" /opt/zoom/libfdkaac2.so
128 -
129 - local quazip_so="libquazip1-qt5.so"
130 - if has_version "<dev-libs/quazip-1.0"; then
131 - quazip_so="libquazip5.so"
132 - fi
133 - dosym8 -r "/usr/$(get_libdir)/${quazip_so}" /opt/zoom/libquazip.so
134 -
135 - if use bundled-libjpeg-turbo; then
136 - doexe libturbojpeg.so
137 - else
138 - dosym8 -r {"/usr/$(get_libdir)",/opt/zoom}/libturbojpeg.so
139 - fi
140 -
141 - if use bundled-qt; then
142 - doexe libicu*.so.56 libQt5*.so.5
143 - doins qt.conf
144 -
145 - local dirs="Qt* generic iconengines imageformats \
146 - platforminputcontexts platforms wayland* xcbglintegrations"
147 - doins -r ${dirs}
148 - find ${dirs} -type f '(' -name '*.so' -o -name '*.so.*' ')' \
149 - -printf '/opt/zoom/%p\0' | xargs -0 -r fperms 0755 || die
150 -
151 - ( # Remove libs and plugins with unresolved soname dependencies
152 - cd "${ED}"/opt/zoom || die
153 - rm -r Qt/labs/location QtQml/RemoteObjects \
154 - QtQuick/LocalStorage QtQuick/Particles.2 QtQuick/Scene2D \
155 - QtQuick/Scene3D QtQuick/Shapes QtQuick/XmlListModel \
156 - platforms/libqeglfs.so platforms/libqlinuxfb.so || die
157 - use wayland || rm -r libQt5Wayland*.so* QtWayland wayland* \
158 - platforms/libqwayland*.so || die
159 - )
160 - fi
161 -
162 - make_wrapper zoom /opt/zoom{/zoom,} $(usex bundled-qt /opt/zoom "")
163 - make_desktop_entry "zoom %U" Zoom zoom-videocam "" \
164 - "MimeType=x-scheme-handler/zoommtg;application/x-zoom;"
165 - doicon zoom-videocam.svg
166 - doicon -s scalable zoom-videocam.svg
167 - readme.gentoo_create_doc
168 -}
169 -
170 -pkg_postinst() {
171 - xdg_desktop_database_update
172 - xdg_icon_cache_update
173 -
174 - local FORCE_PRINT_ELOG v
175 - for v in ${REPLACING_VERSIONS}; do
176 - ver_test ${v} -le 5.0.403652.0509 && FORCE_PRINT_ELOG=1
177 - done
178 - readme.gentoo_print_elog
179 -}
180 -
181 -pkg_postrm() {
182 - xdg_desktop_database_update
183 - xdg_icon_cache_update
184 -}