1 |
commit: 1e9c8f15043280aeeddb643bfa98aea14064faf2 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 29 11:12:40 2022 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 29 11:13:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e9c8f15 |
7 |
|
8 |
net-im/zoom: Remove old |
9 |
|
10 |
Upstream release notes for version 5.10.4 (2845) mention |
11 |
"Security enhancements". |
12 |
|
13 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
14 |
|
15 |
net-im/zoom/Manifest | 1 - |
16 |
net-im/zoom/zoom-5.10.3.2778.ebuild | 188 ------------------------------------ |
17 |
2 files changed, 189 deletions(-) |
18 |
|
19 |
diff --git a/net-im/zoom/Manifest b/net-im/zoom/Manifest |
20 |
index 2478019c388a..c40804235327 100644 |
21 |
--- a/net-im/zoom/Manifest |
22 |
+++ b/net-im/zoom/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST zoom-5.10.3.2778_x86_64.tar.xz 129857964 BLAKE2B e682a75cf0abd1974dff77f70b1abb2138a338677b2d4dea1455b1ba05aef76ce574da51bb8fd40575bef51dab6cc4f54416cf1e894fc8bb0f308a4362183bce SHA512 3736b4688769adc616ccefbc0697804906725c655ba72b1eab7f6809fa6793f19f208a94328fe95c44aa765efe59f5fcf57d562c8c8c81046cd15b188a276c52 |
25 |
DIST zoom-5.10.4.2845_x86_64.tar.xz 129882272 BLAKE2B e1d1e4aa460e56afc906ec2a0b9f8fd3c4ef40bfcc303993b01bde8d84f9935ab867c1527922771c19df451c4452b3838bcb262fbd43bcb65c2b35c021c56c07 SHA512 60115858e391c064893cdb85362fba733c48326acc8bb46e01fd8d6b1875ec0f2b53bf9c85b64a0d33456a781a9c613208705fa4cf03d87959d5254caf00c14f |
26 |
|
27 |
diff --git a/net-im/zoom/zoom-5.10.3.2778.ebuild b/net-im/zoom/zoom-5.10.3.2778.ebuild |
28 |
deleted file mode 100644 |
29 |
index 6a6b21c08daf..000000000000 |
30 |
--- a/net-im/zoom/zoom-5.10.3.2778.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,188 +0,0 @@ |
33 |
-# Copyright 1999-2022 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=8 |
37 |
- |
38 |
-inherit desktop readme.gentoo-r1 wrapper xdg-utils |
39 |
- |
40 |
-DESCRIPTION="Video conferencing and web conferencing service" |
41 |
-HOMEPAGE="https://zoom.us/" |
42 |
-SRC_URI="https://zoom.us/client/${PV}/${PN}_x86_64.tar.xz -> ${P}_x86_64.tar.xz" |
43 |
-S="${WORKDIR}/${PN}" |
44 |
- |
45 |
-LICENSE="all-rights-reserved" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="-* ~amd64" |
48 |
-IUSE="bundled-libjpeg-turbo +bundled-qt opencl pulseaudio wayland" |
49 |
-RESTRICT="mirror bindist strip" |
50 |
- |
51 |
-RDEPEND="!games-engines/zoom |
52 |
- app-accessibility/at-spi2-atk |
53 |
- app-accessibility/at-spi2-core |
54 |
- dev-libs/atk |
55 |
- dev-libs/expat |
56 |
- dev-libs/glib:2 |
57 |
- dev-libs/nspr |
58 |
- dev-libs/nss |
59 |
- >=dev-libs/quazip-1.0:0= |
60 |
- media-libs/alsa-lib |
61 |
- media-libs/fdk-aac:0/2 |
62 |
- media-libs/fontconfig |
63 |
- media-libs/freetype |
64 |
- media-libs/mesa[gbm(+)] |
65 |
- media-sound/mpg123 |
66 |
- net-print/cups |
67 |
- sys-apps/dbus |
68 |
- sys-apps/util-linux |
69 |
- sys-libs/glibc |
70 |
- virtual/opengl |
71 |
- x11-libs/cairo |
72 |
- x11-libs/libdrm |
73 |
- x11-libs/libX11 |
74 |
- x11-libs/libxcb |
75 |
- x11-libs/libXcomposite |
76 |
- x11-libs/libXdamage |
77 |
- x11-libs/libXext |
78 |
- x11-libs/libXfixes |
79 |
- x11-libs/libxkbcommon[X] |
80 |
- x11-libs/libXrandr |
81 |
- x11-libs/libXrender |
82 |
- x11-libs/libxshmfence |
83 |
- x11-libs/libXtst |
84 |
- x11-libs/pango |
85 |
- x11-libs/xcb-util-image |
86 |
- x11-libs/xcb-util-keysyms |
87 |
- opencl? ( virtual/opencl ) |
88 |
- pulseaudio? ( media-sound/pulseaudio ) |
89 |
- wayland? ( dev-libs/wayland ) |
90 |
- !bundled-libjpeg-turbo? ( >=media-libs/libjpeg-turbo-2.0.5 ) |
91 |
- !bundled-qt? ( |
92 |
- dev-libs/icu |
93 |
- dev-qt/qtcore:5 |
94 |
- dev-qt/qtdbus:5 |
95 |
- dev-qt/qtdeclarative:5[widgets] |
96 |
- dev-qt/qtdiag:5 |
97 |
- dev-qt/qtgraphicaleffects:5 |
98 |
- dev-qt/qtgui:5 |
99 |
- dev-qt/qtlocation:5 |
100 |
- dev-qt/qtnetwork:5 |
101 |
- dev-qt/qtquickcontrols:5[widgets] |
102 |
- dev-qt/qtquickcontrols2:5 |
103 |
- dev-qt/qtsvg:5 |
104 |
- dev-qt/qtwidgets:5 |
105 |
- dev-qt/qtx11extras:5 |
106 |
- wayland? ( dev-qt/qtwayland ) |
107 |
- )" |
108 |
- |
109 |
-BDEPEND="dev-util/bbe |
110 |
- bundled-libjpeg-turbo? ( dev-util/patchelf )" |
111 |
- |
112 |
-QA_PREBUILT="opt/zoom/*" |
113 |
- |
114 |
-src_prepare() { |
115 |
- default |
116 |
- |
117 |
- # The tarball doesn't contain an icon, so extract it from the binary |
118 |
- bbe -s -b '/<svg width="32" height="32"/:/<\x2fsvg>\n/' -e 'J 1;D' zoom \ |
119 |
- >videoconference-zoom.svg && [[ -s videoconference-zoom.svg ]] \ |
120 |
- || die "Extraction of icon failed" |
121 |
- |
122 |
- if ! use pulseaudio; then |
123 |
- # For some strange reason, zoom cannot use any ALSA sound devices if |
124 |
- # it finds libpulse. This causes breakage if media-sound/apulse[sdk] |
125 |
- # is installed. So, force zoom to ignore libpulse. |
126 |
- bbe -e 's/libpulse.so/IgNoRePuLsE/' zoom >zoom.tmp || die |
127 |
- mv zoom.tmp zoom || die |
128 |
- fi |
129 |
- |
130 |
- if use bundled-libjpeg-turbo; then |
131 |
- # Remove insecure RPATH from bundled lib |
132 |
- patchelf --remove-rpath libturbojpeg.so || die |
133 |
- fi |
134 |
-} |
135 |
- |
136 |
-src_install() { |
137 |
- insinto /opt/zoom |
138 |
- exeinto /opt/zoom |
139 |
- doins -r cef json ringtone scheduler sip timezones translations |
140 |
- doins *.pcm Embedded.properties version.txt |
141 |
- doexe zoom zopen ZoomLauncher *.sh |
142 |
- dosym -r {"/usr/$(get_libdir)",/opt/zoom}/libmpg123.so |
143 |
- dosym -r "/usr/$(get_libdir)/libfdk-aac.so.2" /opt/zoom/libfdkaac2.so |
144 |
- dosym -r "/usr/$(get_libdir)/libquazip1-qt5.so" /opt/zoom/libquazip.so |
145 |
- |
146 |
- if use opencl; then |
147 |
- doexe aomhost libaomagent.so libclDNN64.so libmkldnn.so |
148 |
- dosym -r {"/usr/$(get_libdir)",/opt/zoom}/libOpenCL.so.1 |
149 |
- fi |
150 |
- |
151 |
- if use bundled-libjpeg-turbo; then |
152 |
- doexe libturbojpeg.so |
153 |
- else |
154 |
- dosym -r {"/usr/$(get_libdir)",/opt/zoom}/libturbojpeg.so |
155 |
- fi |
156 |
- |
157 |
- if use bundled-qt; then |
158 |
- doexe libicu*.so.56 libQt5*.so.5 |
159 |
- doins qt.conf |
160 |
- |
161 |
- local dirs="Qt* bearer generic iconengines imageformats \ |
162 |
- platforminputcontexts platforms wayland* xcbglintegrations" |
163 |
- doins -r ${dirs} |
164 |
- find ${dirs} -type f '(' -name '*.so' -o -name '*.so.*' ')' \ |
165 |
- -printf '/opt/zoom/%p\0' | xargs -0 -r fperms 0755 || die |
166 |
- |
167 |
- ( # Remove libs and plugins with unresolved soname dependencies |
168 |
- cd "${ED}"/opt/zoom || die |
169 |
- rm -r Qt/labs/location QtQuick/LocalStorage QtQuick/Particles.2 \ |
170 |
- QtQuick/Scene2D QtQuick/Scene3D QtQuick/XmlListModel \ |
171 |
- platforms/libqeglfs.so platforms/libqlinuxfb.so || die |
172 |
- use wayland || rm -r libQt5Wayland*.so* QtWayland wayland* \ |
173 |
- platforms/libqwayland*.so || die |
174 |
- ) |
175 |
- else |
176 |
- local qtzoom="5.12" qtver=$(best_version dev-qt/qtcore:5) |
177 |
- if [[ ${qtver} != dev-qt/qtcore-${qtzoom}.* ]]; then |
178 |
- ewarn "You have disabled the bundled-qt USE flag." |
179 |
- ewarn "You may experience problems when running Zoom with" |
180 |
- ewarn "a version of the system-wide Qt libs other than ${qtzoom}." |
181 |
- ewarn "See https://bugs.gentoo.org/798681 for details." |
182 |
- fi |
183 |
- fi |
184 |
- |
185 |
- make_wrapper zoom /opt/zoom{/zoom,} /opt/zoom:/opt/zoom/cef |
186 |
- make_desktop_entry "zoom %U" Zoom videoconference-zoom \ |
187 |
- "Network;VideoConference;" \ |
188 |
- "MimeType=$(printf '%s;' \ |
189 |
- x-scheme-handler/zoommtg \ |
190 |
- x-scheme-handler/zoomus \ |
191 |
- application/x-zoom)" |
192 |
- doicon videoconference-zoom.svg |
193 |
- doicon -s scalable videoconference-zoom.svg |
194 |
- |
195 |
- local DOC_CONTENTS="Some of Zoom's screen share features (e.g. |
196 |
- the whiteboard) require display compositing. If you encounter |
197 |
- a black window when sharing the screen, then one of the following |
198 |
- actions should help: |
199 |
- \\n- Enable compositing in your window manager if it is supported |
200 |
- \\n- Alternatively, run the xcompmgr command (from x11-misc/xcompmgr)" |
201 |
- use wayland \ |
202 |
- && DOC_CONTENTS+="\\n\\nTo enable screen sharing on GNOME Wayland, |
203 |
- edit ~/.config/zoomus.conf and change the value of |
204 |
- enableWaylandShare to true." |
205 |
- has_version ">=sys-libs/glibc-2.34[clone3(+)]" \ |
206 |
- && DOC_CONTENTS+="\\n\\nIf you encounter illegal instruction errors, |
207 |
- try disabling the clone3 use flag of sys-libs/glibc." |
208 |
- readme.gentoo_create_doc |
209 |
-} |
210 |
- |
211 |
-pkg_postinst() { |
212 |
- xdg_desktop_database_update |
213 |
- xdg_icon_cache_update |
214 |
- readme.gentoo_print_elog |
215 |
-} |
216 |
- |
217 |
-pkg_postrm() { |
218 |
- xdg_desktop_database_update |
219 |
- xdg_icon_cache_update |
220 |
-} |