Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/zoom/
Date: Wed, 27 Apr 2022 09:29:46
Message-Id: 1651051764.22544225350a4985f624cb46c270cddc0af7c60f.dilfridge@gentoo
1 commit: 22544225350a4985f624cb46c270cddc0af7c60f
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 27 09:29:24 2022 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 27 09:29:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22544225
7
8 net-im/zoom: remove old
9
10 Zoom 5.9 can't sign in to the network anymore.
11
12 Bug: https://bugs.gentoo.org/835930
13 Package-Manager: Portage-3.0.30, Repoman-3.0.3
14 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
15
16 net-im/zoom/Manifest | 1 -
17 net-im/zoom/zoom-5.9.6.2225-r1.ebuild | 165 ----------------------------------
18 2 files changed, 166 deletions(-)
19
20 diff --git a/net-im/zoom/Manifest b/net-im/zoom/Manifest
21 index 735a2f74e2a2..2478019c388a 100644
22 --- a/net-im/zoom/Manifest
23 +++ b/net-im/zoom/Manifest
24 @@ -1,3 +1,2 @@
25 DIST zoom-5.10.3.2778_x86_64.tar.xz 129857964 BLAKE2B e682a75cf0abd1974dff77f70b1abb2138a338677b2d4dea1455b1ba05aef76ce574da51bb8fd40575bef51dab6cc4f54416cf1e894fc8bb0f308a4362183bce SHA512 3736b4688769adc616ccefbc0697804906725c655ba72b1eab7f6809fa6793f19f208a94328fe95c44aa765efe59f5fcf57d562c8c8c81046cd15b188a276c52
26 DIST zoom-5.10.4.2845_x86_64.tar.xz 129882272 BLAKE2B e1d1e4aa460e56afc906ec2a0b9f8fd3c4ef40bfcc303993b01bde8d84f9935ab867c1527922771c19df451c4452b3838bcb262fbd43bcb65c2b35c021c56c07 SHA512 60115858e391c064893cdb85362fba733c48326acc8bb46e01fd8d6b1875ec0f2b53bf9c85b64a0d33456a781a9c613208705fa4cf03d87959d5254caf00c14f
27 -DIST zoom-5.9.6.2225_x86_64.tar.xz 57384044 BLAKE2B a6712499d903fa715170b9a50bf3fd1fadf7f403f4c9a9ff5ed890faf65ffd5564d06f64f26ca596598ef2c5cb53b4a477d8b08f7f7d44282911a890a00900d2 SHA512 f2899377c66cada60bf08326b7cd06a64b659d06fbdc19f0d6f1f0a6458bbfa0a40e59bdfb7ab4fe4877c0bde2f29fd0bfb8e05227b3c7cca66880e713345f10
28
29 diff --git a/net-im/zoom/zoom-5.9.6.2225-r1.ebuild b/net-im/zoom/zoom-5.9.6.2225-r1.ebuild
30 deleted file mode 100644
31 index 64fb8851e99d..000000000000
32 --- a/net-im/zoom/zoom-5.9.6.2225-r1.ebuild
33 +++ /dev/null
34 @@ -1,165 +0,0 @@
35 -# Copyright 1999-2022 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=8
39 -
40 -inherit desktop readme.gentoo-r1 wrapper xdg-utils
41 -
42 -DESCRIPTION="Video conferencing and web conferencing service"
43 -HOMEPAGE="https://zoom.us/"
44 -SRC_URI="https://zoom.us/client/${PV}/${PN}_x86_64.tar.xz -> ${P}_x86_64.tar.xz"
45 -S="${WORKDIR}/${PN}"
46 -
47 -LICENSE="all-rights-reserved"
48 -SLOT="0"
49 -KEYWORDS="-* ~amd64"
50 -IUSE="bundled-libjpeg-turbo +bundled-qt opencl pulseaudio wayland"
51 -RESTRICT="mirror bindist strip"
52 -
53 -RDEPEND="!games-engines/zoom
54 - dev-libs/glib:2
55 - >=dev-libs/quazip-1.0:0=
56 - media-libs/fdk-aac:0/2
57 - media-libs/fontconfig
58 - media-libs/freetype
59 - media-sound/mpg123
60 - sys-apps/dbus
61 - sys-apps/util-linux
62 - sys-libs/glibc
63 - virtual/opengl
64 - x11-libs/libX11
65 - x11-libs/libxcb
66 - x11-libs/libXext
67 - x11-libs/libXfixes
68 - x11-libs/libxkbcommon[X]
69 - x11-libs/libXrender
70 - x11-libs/libXtst
71 - x11-libs/xcb-util-image
72 - x11-libs/xcb-util-keysyms
73 - opencl? ( virtual/opencl )
74 - pulseaudio? ( media-sound/pulseaudio )
75 - !pulseaudio? ( media-libs/alsa-lib )
76 - wayland? ( dev-libs/wayland )
77 - !bundled-libjpeg-turbo? ( >=media-libs/libjpeg-turbo-2.0.5 )
78 - !bundled-qt? (
79 - dev-libs/icu
80 - dev-qt/qtcore:5
81 - dev-qt/qtdbus:5
82 - dev-qt/qtdeclarative:5[widgets]
83 - dev-qt/qtdiag:5
84 - dev-qt/qtgraphicaleffects:5
85 - dev-qt/qtgui:5
86 - dev-qt/qtlocation:5
87 - dev-qt/qtnetwork:5
88 - dev-qt/qtquickcontrols:5[widgets]
89 - dev-qt/qtquickcontrols2:5
90 - dev-qt/qtsvg:5
91 - dev-qt/qtwidgets:5
92 - dev-qt/qtx11extras:5
93 - wayland? ( dev-qt/qtwayland )
94 - )"
95 -
96 -BDEPEND="dev-util/bbe
97 - bundled-libjpeg-turbo? ( dev-util/patchelf )"
98 -
99 -QA_PREBUILT="opt/zoom/*"
100 -
101 -src_prepare() {
102 - default
103 -
104 - # The tarball doesn't contain an icon, so extract it from the binary
105 - bbe -s -b '/<svg width="32"/:/<\x2fsvg>\n/' -e 'J 1;D' zoom \
106 - >videoconference-zoom.svg && [[ -s videoconference-zoom.svg ]] \
107 - || die "Extraction of icon failed"
108 -
109 - if ! use pulseaudio; then
110 - # For some strange reason, zoom cannot use any ALSA sound devices if
111 - # it finds libpulse. This causes breakage if media-sound/apulse[sdk]
112 - # is installed. So, force zoom to ignore libpulse.
113 - bbe -e 's/libpulse.so/IgNoRePuLsE/' zoom >zoom.tmp || die
114 - mv zoom.tmp zoom || die
115 - fi
116 -
117 - if use bundled-libjpeg-turbo; then
118 - # Remove insecure RPATH from bundled lib
119 - patchelf --remove-rpath libturbojpeg.so || die
120 - fi
121 -}
122 -
123 -src_install() {
124 - insinto /opt/zoom
125 - exeinto /opt/zoom
126 - doins -r json ringtone sip timezones translations
127 - doins *.pcm Embedded.properties version.txt
128 - doexe zoom zopen ZoomLauncher *.sh
129 - dosym -r {"/usr/$(get_libdir)",/opt/zoom}/libmpg123.so
130 - dosym -r "/usr/$(get_libdir)/libfdk-aac.so.2" /opt/zoom/libfdkaac2.so
131 - dosym -r "/usr/$(get_libdir)/libquazip1-qt5.so" /opt/zoom/libquazip.so
132 -
133 - if use opencl; then
134 - doexe aomhost libaomagent.so libclDNN64.so libmkldnn.so
135 - dosym -r {"/usr/$(get_libdir)",/opt/zoom}/libOpenCL.so.1
136 - fi
137 -
138 - if use bundled-libjpeg-turbo; then
139 - doexe libturbojpeg.so
140 - else
141 - dosym -r {"/usr/$(get_libdir)",/opt/zoom}/libturbojpeg.so
142 - fi
143 -
144 - if use bundled-qt; then
145 - doexe libicu*.so.56 libQt5*.so.5
146 - doins qt.conf
147 -
148 - local dirs="Qt* bearer generic iconengines imageformats \
149 - platforminputcontexts platforms wayland* xcbglintegrations"
150 - doins -r ${dirs}
151 - find ${dirs} -type f '(' -name '*.so' -o -name '*.so.*' ')' \
152 - -printf '/opt/zoom/%p\0' | xargs -0 -r fperms 0755 || die
153 -
154 - ( # Remove libs and plugins with unresolved soname dependencies
155 - cd "${ED}"/opt/zoom || die
156 - rm -r Qt/labs/location QtQml/RemoteObjects \
157 - QtQuick/LocalStorage QtQuick/Particles.2 QtQuick/Scene2D \
158 - QtQuick/Scene3D QtQuick/XmlListModel \
159 - platforms/libqeglfs.so platforms/libqlinuxfb.so || die
160 - use wayland || rm -r libQt5Wayland*.so* QtWayland wayland* \
161 - platforms/libqwayland*.so || die
162 - )
163 - else
164 - local qtzoom="5.12" qtver=$(best_version dev-qt/qtcore:5)
165 - if [[ ${qtver} != dev-qt/qtcore-${qtzoom}.* ]]; then
166 - ewarn "You have disabled the bundled-qt USE flag."
167 - ewarn "You may experience problems when running Zoom with"
168 - ewarn "a version of the system-wide Qt libs other than ${qtzoom}."
169 - ewarn "See https://bugs.gentoo.org/798681 for details."
170 - fi
171 - fi
172 -
173 - make_wrapper zoom /opt/zoom{/zoom,} $(usev bundled-qt /opt/zoom)
174 - make_desktop_entry "zoom %U" Zoom videoconference-zoom \
175 - "Network;VideoConference;" \
176 - "MimeType=$(printf '%s;' \
177 - x-scheme-handler/zoommtg \
178 - x-scheme-handler/zoomus \
179 - application/x-zoom)"
180 - doicon videoconference-zoom.svg
181 - doicon -s scalable videoconference-zoom.svg
182 - readme.gentoo_create_doc
183 -}
184 -
185 -pkg_postinst() {
186 - xdg_desktop_database_update
187 - xdg_icon_cache_update
188 -
189 - local FORCE_PRINT_ELOG v
190 - for v in ${REPLACING_VERSIONS}; do
191 - ver_test ${v} -lt 5.7.28852.0718 && use wayland && FORCE_PRINT_ELOG=1
192 - done
193 - readme.gentoo_print_elog
194 -}
195 -
196 -pkg_postrm() {
197 - xdg_desktop_database_update
198 - xdg_icon_cache_update
199 -}