summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-01-11 16:56:07 +0100
committerUlrich Müller <ulm@gentoo.org>2021-01-11 17:06:31 +0100
commitbe4a30e09ac98d66661074a4d4a88b92c6268be8 (patch)
treef6452a35ac44d7dac34ee3c85e053f931cd0d181 /net-im
parentnet-im/zoom: Version bump to 5.4.57862.0110 (diff)
downloadgentoo-be4a30e09ac98d66661074a4d4a88b92c6268be8.tar.gz
gentoo-be4a30e09ac98d66661074a4d4a88b92c6268be8.tar.bz2
gentoo-be4a30e09ac98d66661074a4d4a88b92c6268be8.zip
net-im/zoom: Backport ebuild changes to x86 version
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/zoom/zoom-5.4.53391.1108-r1.ebuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/net-im/zoom/zoom-5.4.53391.1108-r1.ebuild b/net-im/zoom/zoom-5.4.53391.1108-r1.ebuild
index 3d3b63c3854b..07911c9877c9 100644
--- a/net-im/zoom/zoom-5.4.53391.1108-r1.ebuild
+++ b/net-im/zoom/zoom-5.4.53391.1108-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -48,7 +48,8 @@ RDEPEND="!games-engines/zoom
pulseaudio? ( media-sound/pulseaudio )
!pulseaudio? ( media-libs/alsa-lib )"
-BDEPEND="dev-util/bbe"
+BDEPEND="dev-util/bbe
+ bundled-libjpeg-turbo? ( dev-util/patchelf )"
QA_PREBUILT="opt/zoom/*"
@@ -67,6 +68,11 @@ src_prepare() {
bbe -e 's/libpulse.so/IgNoRePuLsE/' zoom >zoom.tmp || die
mv zoom.tmp zoom || die
fi
+
+ if use bundled-libjpeg-turbo; then
+ # Remove insecure RPATH from bundled lib
+ patchelf --remove-rpath libturbojpeg.so || die
+ fi
}
src_install() {
@@ -101,14 +107,6 @@ pkg_postinst() {
ver_test ${v} -le 5.0.403652.0509 && FORCE_PRINT_ELOG=1
done
readme.gentoo_print_elog
-
- if use bundled-libjpeg-turbo; then
- ewarn "If the \"bundled-libjpeg-turbo\" flag is enabled, you may see a"
- ewarn "QA notice about insecure RPATHs in the libturbojpeg.so library"
- ewarn "bundled with the upstream package. Please report this problem"
- ewarn "directly to Zoom upstream. Do *not* file a Gentoo bug for it."
- ewarn "See https://bugs.gentoo.org/715106 for further details."
- fi
}
pkg_postrm() {