summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-04-08 14:47:26 +0200
committerUlrich Müller <ulm@gentoo.org>2020-04-08 14:56:50 +0200
commit9093b2fd2b0dc2b969a29f72dcdb150ba25e0dd8 (patch)
treed899acc47832a3fb20d7a7e56feeb653be7ec2df /net-im
parentdev-python/pathspec: add ~arm keyword (diff)
downloadgentoo-9093b2fd2b0dc2b969a29f72dcdb150ba25e0dd8.tar.gz
gentoo-9093b2fd2b0dc2b969a29f72dcdb150ba25e0dd8.tar.bz2
gentoo-9093b2fd2b0dc2b969a29f72dcdb150ba25e0dd8.zip
net-im/zoom: New use flag bundled-libjpeg-turbo.
Bug: https://bugs.gentoo.org/715106 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/zoom/metadata.xml4
-rw-r--r--net-im/zoom/zoom-3.5.382995.0407.ebuild12
2 files changed, 13 insertions, 3 deletions
diff --git a/net-im/zoom/metadata.xml b/net-im/zoom/metadata.xml
index cef6d2567e16..df9fc1aee0d0 100644
--- a/net-im/zoom/metadata.xml
+++ b/net-im/zoom/metadata.xml
@@ -10,4 +10,8 @@
<maintainer type="person">
<email>mva@gentoo.org</email>
</maintainer>
+ <use>
+ <flag name="bundled-libjpeg-turbo">Use bundled libturbojpeg
+ instead of <pkg>media-libs/libjpeg-turbo</pkg></flag>
+ </use>
</pkgmetadata>
diff --git a/net-im/zoom/zoom-3.5.382995.0407.ebuild b/net-im/zoom/zoom-3.5.382995.0407.ebuild
index 15de2f97fc13..c0591aa26637 100644
--- a/net-im/zoom/zoom-3.5.382995.0407.ebuild
+++ b/net-im/zoom/zoom-3.5.382995.0407.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}"
LICENSE="all-rights-reserved Apache-2.0" # Apache-2.0 for icon
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
-IUSE="pulseaudio"
+IUSE="bundled-libjpeg-turbo pulseaudio"
RESTRICT="mirror bindist strip"
RDEPEND="dev-libs/glib:2
@@ -29,7 +29,6 @@ RDEPEND="dev-libs/glib:2
dev-qt/qtscript:5
dev-qt/qtwidgets:5
media-libs/libglvnd
- media-libs/libjpeg-turbo
media-sound/mpg123
sys-apps/dbus
sys-apps/util-linux
@@ -49,6 +48,7 @@ RDEPEND="dev-libs/glib:2
x86? (
dev-qt/qtwebkit:5
)
+ !bundled-libjpeg-turbo? ( media-libs/libjpeg-turbo )
pulseaudio? ( media-sound/pulseaudio )
!pulseaudio? ( media-libs/alsa-lib )"
@@ -75,7 +75,13 @@ src_install() {
use amd64 && doins icudtl.dat
doexe zoom{,.sh,linux} zopen ZoomLauncher
dosym {"../../usr/$(get_libdir)",/opt/zoom}/libmpg123.so
- dosym {"../../usr/$(get_libdir)",/opt/zoom}/libturbojpeg.so #715106
+
+ if use bundled-libjpeg-turbo; then
+ doexe libturbojpeg.so.0.1.0
+ dosym libturbojpeg.so.0.1.0 /opt/zoom/libturbojpeg.so
+ else
+ dosym {"../../usr/$(get_libdir)",/opt/zoom}/libturbojpeg.so #715106
+ fi
make_wrapper zoom ./zoom /opt/zoom
make_desktop_entry "zoom %U" Zoom zoom-videocam "" \