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, 07 Jun 2022 06:49:58
Message-Id: 1654584545.1eec0ff3721f5c97addadb79b36a34b1d8c5806c.ulm@gentoo
1 commit: 1eec0ff3721f5c97addadb79b36a34b1d8c5806c
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 7 06:48:02 2022 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 7 06:49:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eec0ff3
7
8 net-im/zoom: drop 5.9.6.2225-r2
9
10 Bug: https://bugs.gentoo.org/846395
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 net-im/zoom/Manifest | 1 -
14 net-im/zoom/zoom-5.9.6.2225-r2.ebuild | 171 ----------------------------------
15 2 files changed, 172 deletions(-)
16
17 diff --git a/net-im/zoom/Manifest b/net-im/zoom/Manifest
18 index 8b4743e756d7..4872338f3c63 100644
19 --- a/net-im/zoom/Manifest
20 +++ b/net-im/zoom/Manifest
21 @@ -1,3 +1,2 @@
22 DIST zoom-5.10.6.3192_x86_64.tar.xz 130094040 BLAKE2B 52013b5c57eb6d4a68ff3c7eebe846fc913b0b7fe7d3a57480bf877cef0e89359d43f86c4157a2093399c479c095aef139ef86081097d23afb4b2f4b1eda947f SHA512 4a6618af786d0d4d7ec0f06105030adbbac46e2257d241bb0af8e3cafab18ec866fc45d57fbac61b3e5b43a51baeb378c1402030b54b1ebce006a80964a1bdec
23 DIST zoom-5.10.7.3311_x86_64.tar.xz 130117904 BLAKE2B d3ad7501ec6fc495c62bb783c79690f5424c7e07b0cad1a3e71e20633e9df088c918a0b9a4cc5a956b016e6144da4998567ebb3ef393452caf8814d4e300c186 SHA512 acf31bc5e983500f534ccfcfe0b935a735e4a259bcfb37d99109bed41d0f3f561a664c5cbf728f907feb8ec5e79a13a27dc39c01948ee2e9f1bab2288e450231
24 -DIST zoom-5.9.6.2225_x86_64.tar.xz 57384044 BLAKE2B a6712499d903fa715170b9a50bf3fd1fadf7f403f4c9a9ff5ed890faf65ffd5564d06f64f26ca596598ef2c5cb53b4a477d8b08f7f7d44282911a890a00900d2 SHA512 f2899377c66cada60bf08326b7cd06a64b659d06fbdc19f0d6f1f0a6458bbfa0a40e59bdfb7ab4fe4877c0bde2f29fd0bfb8e05227b3c7cca66880e713345f10
25
26 diff --git a/net-im/zoom/zoom-5.9.6.2225-r2.ebuild b/net-im/zoom/zoom-5.9.6.2225-r2.ebuild
27 deleted file mode 100644
28 index 01a338330463..000000000000
29 --- a/net-im/zoom/zoom-5.9.6.2225-r2.ebuild
30 +++ /dev/null
31 @@ -1,171 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -inherit desktop readme.gentoo-r1 wrapper xdg-utils
38 -
39 -DESCRIPTION="Video conferencing and web conferencing service"
40 -HOMEPAGE="https://zoom.us/"
41 -SRC_URI="https://zoom.us/client/${PV}/${PN}_x86_64.tar.xz -> ${P}_x86_64.tar.xz"
42 -S="${WORKDIR}/${PN}"
43 -
44 -LICENSE="all-rights-reserved"
45 -SLOT="0"
46 -KEYWORDS="-* ~amd64"
47 -IUSE="bundled-libjpeg-turbo +bundled-qt opencl pulseaudio wayland"
48 -RESTRICT="mirror bindist strip"
49 -
50 -RDEPEND="!games-engines/zoom
51 - dev-libs/glib:2
52 - >=dev-libs/quazip-1.0:0=
53 - media-libs/fdk-aac:0/2
54 - media-libs/fontconfig
55 - media-libs/freetype
56 - media-sound/mpg123
57 - sys-apps/dbus
58 - sys-apps/util-linux
59 - sys-libs/glibc
60 - virtual/opengl
61 - x11-libs/libX11
62 - x11-libs/libxcb
63 - x11-libs/libXext
64 - x11-libs/libXfixes
65 - x11-libs/libxkbcommon[X]
66 - x11-libs/libXrender
67 - x11-libs/libXtst
68 - x11-libs/xcb-util-image
69 - x11-libs/xcb-util-keysyms
70 - opencl? ( virtual/opencl )
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/qtsvg:5
88 - dev-qt/qtwidgets:5
89 - dev-qt/qtx11extras: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" height="32"/:/<\x2fsvg>\n/' -e 'J 1;D' zoom \
103 - >videoconference-zoom.svg && [[ -s videoconference-zoom.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 Embedded.properties version.txt
125 - doexe zoom zopen ZoomLauncher *.sh
126 - dosym -r {"/usr/$(get_libdir)",/opt/zoom}/libmpg123.so
127 - dosym -r "/usr/$(get_libdir)/libfdk-aac.so.2" /opt/zoom/libfdkaac2.so
128 - dosym -r "/usr/$(get_libdir)/libquazip1-qt5.so" /opt/zoom/libquazip.so
129 -
130 - if use opencl; then
131 - doexe aomhost libaomagent.so libclDNN64.so libmkldnn.so
132 - dosym -r {"/usr/$(get_libdir)",/opt/zoom}/libOpenCL.so.1
133 - fi
134 -
135 - if use bundled-libjpeg-turbo; then
136 - doexe libturbojpeg.so
137 - else
138 - dosym -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* bearer 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/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 - else
161 - local qtzoom="5.12" qtver=$(best_version dev-qt/qtcore:5)
162 - if [[ ${qtver} != dev-qt/qtcore-${qtzoom}.* ]]; then
163 - ewarn "You have disabled the bundled-qt USE flag."
164 - ewarn "You may experience problems when running Zoom with"
165 - ewarn "a version of the system-wide Qt libs other than ${qtzoom}."
166 - ewarn "See https://bugs.gentoo.org/798681 for details."
167 - fi
168 - fi
169 -
170 - make_wrapper zoom /opt/zoom{/zoom,,}
171 - make_desktop_entry "zoom %U" Zoom videoconference-zoom \
172 - "Network;VideoConference;" \
173 - "MimeType=$(printf '%s;' \
174 - x-scheme-handler/zoommtg \
175 - x-scheme-handler/zoomus \
176 - application/x-zoom)"
177 - doicon videoconference-zoom.svg
178 - doicon -s scalable videoconference-zoom.svg
179 -
180 - local DOC_CONTENTS="Some of Zoom's screen share features (e.g.
181 - the whiteboard) require display compositing. If you encounter
182 - a black window when sharing the screen, then one of the following
183 - actions should help:
184 - \\n- Enable compositing in your window manager if it is supported
185 - \\n- Alternatively, run the xcompmgr command (from x11-misc/xcompmgr)"
186 - use wayland \
187 - && DOC_CONTENTS+="\\n\\nTo enable screen sharing on GNOME Wayland,
188 - edit ~/.config/zoomus.conf and change the value of
189 - enableWaylandShare to true."
190 - readme.gentoo_create_doc
191 -}
192 -
193 -pkg_postinst() {
194 - xdg_desktop_database_update
195 - xdg_icon_cache_update
196 - readme.gentoo_print_elog
197 -}
198 -
199 -pkg_postrm() {
200 - xdg_desktop_database_update
201 - xdg_icon_cache_update
202 -}