From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 83F09138351 for ; Sat, 28 Mar 2020 12:16:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70758E0D34; Sat, 28 Mar 2020 12:16:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4554CE0D34 for ; Sat, 28 Mar 2020 12:16:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23E2234F921 for ; Sat, 28 Mar 2020 12:16:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AD25918B for ; Sat, 28 Mar 2020 12:16:17 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1585397705.8c59604601505f67e7c744a656b8a89cb55b94da.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/zoom/, net-im/zoom/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/zoom/files/zoom-videocam.svg net-im/zoom/zoom-3.5.374815.0324-r1.ebuild net-im/zoom/zoom-3.5.374815.0324.ebuild X-VCS-Directories: net-im/zoom/files/ net-im/zoom/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 8c59604601505f67e7c744a656b8a89cb55b94da X-VCS-Branch: master Date: Sat, 28 Mar 2020 12:16:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3650cadf-33c3-406d-9f70-29a4d94efd3d X-Archives-Hash: 599b55b947012fc3fcc3c44ddcd57c8e commit: 8c59604601505f67e7c744a656b8a89cb55b94da Author: Ulrich Müller gentoo org> AuthorDate: Sat Mar 28 12:14:50 2020 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Mar 28 12:15:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c596046 net-im/zoom: Several fixes. Fix problem that ALSA devices are not found if media-sound/apulse[sdk] is installed. Add missing dependency on media-libs/libjpeg-turbo and a symlink (for dlopen?) to fix a camera problem. Install a better icon. Generic camera icon taken from https://github.com/google/material-design-icons/blob/master/av/svg/production/ic_videocam_24px.svg (licensed under Apache-2.0) and locally modified. Closes: https://bugs.gentoo.org/715106 Closes: https://bugs.gentoo.org/715088 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Ulrich Müller gentoo.org> net-im/zoom/files/zoom-videocam.svg | 4 +++ ....0324.ebuild => zoom-3.5.374815.0324-r1.ebuild} | 30 +++++++++++++++++++--- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/net-im/zoom/files/zoom-videocam.svg b/net-im/zoom/files/zoom-videocam.svg new file mode 100644 index 00000000000..33e4ac77b9f --- /dev/null +++ b/net-im/zoom/files/zoom-videocam.svg @@ -0,0 +1,4 @@ + + + + diff --git a/net-im/zoom/zoom-3.5.374815.0324.ebuild b/net-im/zoom/zoom-3.5.374815.0324-r1.ebuild similarity index 58% rename from net-im/zoom/zoom-3.5.374815.0324.ebuild rename to net-im/zoom/zoom-3.5.374815.0324-r1.ebuild index c9475297484..4aa816a1c6a 100644 --- a/net-im/zoom/zoom-3.5.374815.0324.ebuild +++ b/net-im/zoom/zoom-3.5.374815.0324-r1.ebuild @@ -11,9 +11,10 @@ SRC_URI="amd64? ( https://zoom.us/client/${PV}/${PN}_x86_64.tar.xz -> ${P}_x86_6 x86? ( https://zoom.us/client/${PV}/${PN}_i686.tar.xz -> ${P}_i686.tar.xz )" S="${WORKDIR}/${PN}" -LICENSE="all-rights-reserved" +LICENSE="all-rights-reserved Apache-2.0" # Apache-2.0 for icon SLOT="0" KEYWORDS="-* ~amd64 ~x86" +IUSE="pulseaudio" RESTRICT="mirror bindist strip" RDEPEND="dev-libs/glib:2 @@ -31,6 +32,7 @@ RDEPEND="dev-libs/glib:2 dev-qt/qtwebengine:5 dev-qt/qtwidgets:5 media-libs/libglvnd + media-libs/libjpeg-turbo sys-apps/dbus sys-apps/util-linux x11-libs/libX11 @@ -39,10 +41,24 @@ RDEPEND="dev-libs/glib:2 x11-libs/libXfixes x11-libs/libXtst x11-libs/xcb-util-image - x11-libs/xcb-util-keysyms" + x11-libs/xcb-util-keysyms + pulseaudio? ( media-sound/pulseaudio )" + +BDEPEND="!pulseaudio? ( dev-util/bbe )" QA_PREBUILT="opt/zoom/*" +src_prepare() { + default + if ! use pulseaudio; then + # For some strange reason, zoom cannot use any ALSA sound devices if + # it finds libpulse. This causes breakage if media-sound/apulse[sdk] + # is installed. So, force zoom to ignore libpulse. + bbe -e 's/libpulse.so/IgNoRePuLsE/' zoom >zoom.tmp || die + mv zoom.tmp zoom || die + fi +} + src_install() { insinto /opt/zoom exeinto /opt/zoom @@ -50,9 +66,15 @@ src_install() { doins *.pcm *.pem *.sh Embedded.properties version.txt use amd64 && doins icudtl.dat doexe zoom{,.sh,linux} zopen ZoomLauncher + dosym {"../../usr/$(get_libdir)",/opt/zoom}/libturbojpeg.so #715106 + make_wrapper zoom ./zoom /opt/zoom - make_desktop_entry "zoom %U" Zoom audio-headset "" \ - "MimeType=x-scheme-handler/zoommtg;application/x-zoom;" + make_desktop_entry "zoom %U" Zoom zoom-videocam "" \ + "MimeType=x-scheme-handler/zoommtg;application/x-zoom;" + # The tarball doesn't contain an icon, so take a generic camera icon + # from https://github.com/google/material-design-icons, modified to be + # white on a blue background + doicon "${FILESDIR}"/zoom-videocam.svg } pkg_postinst() {