From 159ec3f090554ee5d7f61b2da553833fb7566f99 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Oct 2023 20:44:11 +0100 Subject: gentoo auto-resync : 25:10:2023 - 20:44:11 --- net-im/Manifest.gz | Bin 9243 -> 9242 bytes net-im/slack/Manifest | 4 +- net-im/slack/slack-4.34.120.ebuild | 114 --------------------- net-im/slack/slack-4.35.121.ebuild | 114 +++++++++++++++++++++ net-im/zoom/Manifest | 4 +- net-im/zoom/zoom-5.16.0.8131.ebuild | 194 ------------------------------------ net-im/zoom/zoom-5.16.5.303.ebuild | 194 ++++++++++++++++++++++++++++++++++++ 7 files changed, 312 insertions(+), 312 deletions(-) delete mode 100644 net-im/slack/slack-4.34.120.ebuild create mode 100644 net-im/slack/slack-4.35.121.ebuild delete mode 100644 net-im/zoom/zoom-5.16.0.8131.ebuild create mode 100644 net-im/zoom/zoom-5.16.5.303.ebuild (limited to 'net-im') diff --git a/net-im/Manifest.gz b/net-im/Manifest.gz index 5c6020e548e2..424c91f8976e 100644 Binary files a/net-im/Manifest.gz and b/net-im/Manifest.gz differ diff --git a/net-im/slack/Manifest b/net-im/slack/Manifest index 709bb2337b20..e93e90fbddbb 100644 --- a/net-im/slack/Manifest +++ b/net-im/slack/Manifest @@ -1,5 +1,5 @@ -DIST slack-desktop-4.34.120-amd64.deb 78115758 BLAKE2B 0f695c71627f0c5ee272874db11260d751deac72e25419b3574df49f670345603d6358fa84c2847f881a9195e11feb5d340554c856275dad881480c15e5e14f6 SHA512 d886d43c1f061c1b81f6117646e1d1ff849c9f98accb37994763572e75178c0e68ffdaaaba36e5322d9bd5b023de5f19ac6b7efd541ff7c963ea792258f7ecb4 DIST slack-desktop-4.34.121-amd64.deb 78112006 BLAKE2B b0e0a5466e250066bfb1768086ca4d62d16fad3e9b9fff744ff7adf01b751422860d2f4499a3069e97cbf7e5409b73abb4963548368fc058384b1ea47723607e SHA512 a58ebac5b5c2471ba8ed2f60bf64150437baff2e18bac969564c5d0244c1dc0d7b31f598d4621b5313b51c0950a954be765da6fc31409597e58822ed02f47153 -EBUILD slack-4.34.120.ebuild 3391 BLAKE2B 6f51feaf13f26fc127267406a19c9510740e060c4a896ecf6a2d67249a4c0a3c1d54af4b2f42768c1368a511f7ba47fc4d3a43155a6aedd75b46a27ed11fb158 SHA512 126a38dd866eb0f41c4177b616f3024fc9a8a4c4b221549906ce3bd199a6b46e107fdc8dd1eaed5311551f8a8a1affdeb502f190533da6800accf548033fbd30 +DIST slack-desktop-4.35.121-amd64.deb 78549434 BLAKE2B a2e75806f43bfbd7e052c554ea42b409c0648b9fcfad144023268d5a865e587448e19524d0c35997421a528ca514633025f982f88680c9da79f17f6da8493ae0 SHA512 94cb4cbd9c7d0317bc7b8b8515e8d4b0e766d0f6fb06e673bbec72cfb6d8c7834e3a8e60f451b955e0fd5f1ae40c9bfb765907648fa7058c804be3e639f2d61d EBUILD slack-4.34.121.ebuild 3391 BLAKE2B 6f51feaf13f26fc127267406a19c9510740e060c4a896ecf6a2d67249a4c0a3c1d54af4b2f42768c1368a511f7ba47fc4d3a43155a6aedd75b46a27ed11fb158 SHA512 126a38dd866eb0f41c4177b616f3024fc9a8a4c4b221549906ce3bd199a6b46e107fdc8dd1eaed5311551f8a8a1affdeb502f190533da6800accf548033fbd30 +EBUILD slack-4.35.121.ebuild 3391 BLAKE2B 6f51feaf13f26fc127267406a19c9510740e060c4a896ecf6a2d67249a4c0a3c1d54af4b2f42768c1368a511f7ba47fc4d3a43155a6aedd75b46a27ed11fb158 SHA512 126a38dd866eb0f41c4177b616f3024fc9a8a4c4b221549906ce3bd199a6b46e107fdc8dd1eaed5311551f8a8a1affdeb502f190533da6800accf548033fbd30 MISC metadata.xml 820 BLAKE2B fbc57502a8a3fd4d5d3c8df0cc4e51b97f2349704fe3d2f53dc1933eb7ea5ddc5579a0cacea547581933a0f24ace33ea003921566e4d71ed275a1058ca80562a SHA512 776c49eef270ac6c837a73b3e2aec3aedf7613af20e37da7c91b8c482d5b957c5a0e66baf28ebc3a1bf0ff70afa46688c6f360a47123905af7537dc1a1a6e0e9 diff --git a/net-im/slack/slack-4.34.120.ebuild b/net-im/slack/slack-4.34.120.ebuild deleted file mode 100644 index f0291e2700fa..000000000000 --- a/net-im/slack/slack-4.34.120.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MULTILIB_COMPAT=( abi_x86_64 ) - -inherit desktop multilib-build optfeature pax-utils unpacker xdg - -DESCRIPTION="Team collaboration tool" -HOMEPAGE="https://slack.com" -SRC_URI="https://downloads.slack-edge.com/releases/linux/${PV}/prod/x64/${PN}-desktop-${PV}-amd64.deb" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="-* ~amd64" -IUSE="appindicator +seccomp suid wayland" -RESTRICT="bindist mirror" - -RDEPEND="app-accessibility/at-spi2-core:2[${MULTILIB_USEDEP}] - dev-libs/expat:0[${MULTILIB_USEDEP}] - dev-libs/glib:2[${MULTILIB_USEDEP}] - dev-libs/nspr:0[${MULTILIB_USEDEP}] - dev-libs/nss:0[${MULTILIB_USEDEP}] - dev-libs/wayland[${MULTILIB_USEDEP}] - media-libs/alsa-lib:0[${MULTILIB_USEDEP}] - media-libs/mesa:0[${MULTILIB_USEDEP}] - net-print/cups:0[${MULTILIB_USEDEP}] - sys-apps/dbus:0[${MULTILIB_USEDEP}] - x11-libs/cairo:0[${MULTILIB_USEDEP}] - x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] - x11-libs/gtk+:3[${MULTILIB_USEDEP}] - x11-libs/libdrm:0[${MULTILIB_USEDEP}] - x11-libs/libX11:0[${MULTILIB_USEDEP}] - x11-libs/libxcb:0/1.12[${MULTILIB_USEDEP}] - x11-libs/libXcomposite:0[${MULTILIB_USEDEP}] - x11-libs/libXdamage:0[${MULTILIB_USEDEP}] - x11-libs/libXext:0[${MULTILIB_USEDEP}] - x11-libs/libXfixes:0[${MULTILIB_USEDEP}] - x11-libs/libxkbcommon:0[${MULTILIB_USEDEP}] - x11-libs/libxkbfile:0[${MULTILIB_USEDEP}] - x11-libs/libXrandr:0[${MULTILIB_USEDEP}] - x11-libs/pango:0[${MULTILIB_USEDEP}] - appindicator? ( dev-libs/libayatana-appindicator )" - -QA_PREBUILT="opt/slack/chrome-sandbox - opt/slack/chrome_crashpad_handler - opt/slack/libEGL.so - opt/slack/libGLESv2.so - opt/slack/libffmpeg.so - opt/slack/libvk_swiftshader.so - opt/slack/libvulkan.so.1 - opt/slack/resources/app.asar.unpacked/node_modules/* - opt/slack/slack - opt/slack/swiftshader/libEGL.so - opt/slack/swiftshader/libGLESv2.so" - -S="${WORKDIR}" - -src_prepare() { - default - - # remove hardcoded path, logging noise (wrt 694058, 711494) - sed -i -e '/Icon/s|/usr/share/pixmaps/slack.png|slack|' \ - -e '/Exec/s|slack|slack -s|' \ - usr/share/applications/slack.desktop \ - || die "sed failed in Icon for slack.desktop" - - if use appindicator ; then - sed -i '/Exec/s|=|=env XDG_CURRENT_DESKTOP=Unity |' \ - usr/share/applications/slack.desktop \ - || die "sed failed for appindicator" - fi - - if ! use seccomp ; then - sed -i '/Exec/s/%U/%U --disable-seccomp-filter-sandbox/' \ - usr/share/applications/slack.desktop \ - || die "sed failed for seccomp" - fi - - if use wayland ; then - sed -i '/Exec/s/%U/%U --enable-features=WebRTCPipeWireCapturer/' \ - usr/share/applications/slack.desktop \ - || die "sed failed for wayland" - fi - - rm usr/lib/slack/LICENSE{,S-linux.json} \ - || die "rm licenses failed" -} - -src_install() { - doicon usr/share/pixmaps/slack.png - doicon -s 512 usr/share/pixmaps/slack.png - domenu usr/share/applications/slack.desktop - - insinto /opt # wrt 720134 - cp -a usr/lib/slack "${ED}"/opt || die "cp failed" - - use suid && fperms u+s /opt/slack/chrome-sandbox # wrt 713094 - dosym ../../opt/slack/slack usr/bin/slack - - pax-mark -m "${ED}"/opt/slack/slack - - # https://bugs.gentoo.org/898912 - if use appindicator; then - dosym ../../usr/lib64/libayatana-appindicator3.so /opt/slack/libappindicator3.so - fi -} - -pkg_postinst() { - optfeature "storing passwords via gnome-keyring" app-crypt/libsecret - - xdg_pkg_postinst -} diff --git a/net-im/slack/slack-4.35.121.ebuild b/net-im/slack/slack-4.35.121.ebuild new file mode 100644 index 000000000000..f0291e2700fa --- /dev/null +++ b/net-im/slack/slack-4.35.121.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MULTILIB_COMPAT=( abi_x86_64 ) + +inherit desktop multilib-build optfeature pax-utils unpacker xdg + +DESCRIPTION="Team collaboration tool" +HOMEPAGE="https://slack.com" +SRC_URI="https://downloads.slack-edge.com/releases/linux/${PV}/prod/x64/${PN}-desktop-${PV}-amd64.deb" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="appindicator +seccomp suid wayland" +RESTRICT="bindist mirror" + +RDEPEND="app-accessibility/at-spi2-core:2[${MULTILIB_USEDEP}] + dev-libs/expat:0[${MULTILIB_USEDEP}] + dev-libs/glib:2[${MULTILIB_USEDEP}] + dev-libs/nspr:0[${MULTILIB_USEDEP}] + dev-libs/nss:0[${MULTILIB_USEDEP}] + dev-libs/wayland[${MULTILIB_USEDEP}] + media-libs/alsa-lib:0[${MULTILIB_USEDEP}] + media-libs/mesa:0[${MULTILIB_USEDEP}] + net-print/cups:0[${MULTILIB_USEDEP}] + sys-apps/dbus:0[${MULTILIB_USEDEP}] + x11-libs/cairo:0[${MULTILIB_USEDEP}] + x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] + x11-libs/gtk+:3[${MULTILIB_USEDEP}] + x11-libs/libdrm:0[${MULTILIB_USEDEP}] + x11-libs/libX11:0[${MULTILIB_USEDEP}] + x11-libs/libxcb:0/1.12[${MULTILIB_USEDEP}] + x11-libs/libXcomposite:0[${MULTILIB_USEDEP}] + x11-libs/libXdamage:0[${MULTILIB_USEDEP}] + x11-libs/libXext:0[${MULTILIB_USEDEP}] + x11-libs/libXfixes:0[${MULTILIB_USEDEP}] + x11-libs/libxkbcommon:0[${MULTILIB_USEDEP}] + x11-libs/libxkbfile:0[${MULTILIB_USEDEP}] + x11-libs/libXrandr:0[${MULTILIB_USEDEP}] + x11-libs/pango:0[${MULTILIB_USEDEP}] + appindicator? ( dev-libs/libayatana-appindicator )" + +QA_PREBUILT="opt/slack/chrome-sandbox + opt/slack/chrome_crashpad_handler + opt/slack/libEGL.so + opt/slack/libGLESv2.so + opt/slack/libffmpeg.so + opt/slack/libvk_swiftshader.so + opt/slack/libvulkan.so.1 + opt/slack/resources/app.asar.unpacked/node_modules/* + opt/slack/slack + opt/slack/swiftshader/libEGL.so + opt/slack/swiftshader/libGLESv2.so" + +S="${WORKDIR}" + +src_prepare() { + default + + # remove hardcoded path, logging noise (wrt 694058, 711494) + sed -i -e '/Icon/s|/usr/share/pixmaps/slack.png|slack|' \ + -e '/Exec/s|slack|slack -s|' \ + usr/share/applications/slack.desktop \ + || die "sed failed in Icon for slack.desktop" + + if use appindicator ; then + sed -i '/Exec/s|=|=env XDG_CURRENT_DESKTOP=Unity |' \ + usr/share/applications/slack.desktop \ + || die "sed failed for appindicator" + fi + + if ! use seccomp ; then + sed -i '/Exec/s/%U/%U --disable-seccomp-filter-sandbox/' \ + usr/share/applications/slack.desktop \ + || die "sed failed for seccomp" + fi + + if use wayland ; then + sed -i '/Exec/s/%U/%U --enable-features=WebRTCPipeWireCapturer/' \ + usr/share/applications/slack.desktop \ + || die "sed failed for wayland" + fi + + rm usr/lib/slack/LICENSE{,S-linux.json} \ + || die "rm licenses failed" +} + +src_install() { + doicon usr/share/pixmaps/slack.png + doicon -s 512 usr/share/pixmaps/slack.png + domenu usr/share/applications/slack.desktop + + insinto /opt # wrt 720134 + cp -a usr/lib/slack "${ED}"/opt || die "cp failed" + + use suid && fperms u+s /opt/slack/chrome-sandbox # wrt 713094 + dosym ../../opt/slack/slack usr/bin/slack + + pax-mark -m "${ED}"/opt/slack/slack + + # https://bugs.gentoo.org/898912 + if use appindicator; then + dosym ../../usr/lib64/libayatana-appindicator3.so /opt/slack/libappindicator3.so + fi +} + +pkg_postinst() { + optfeature "storing passwords via gnome-keyring" app-crypt/libsecret + + xdg_pkg_postinst +} diff --git a/net-im/zoom/Manifest b/net-im/zoom/Manifest index 1b85490580fc..ac620d4026d2 100644 --- a/net-im/zoom/Manifest +++ b/net-im/zoom/Manifest @@ -1,7 +1,7 @@ DIST zoom-5.15.10.6882_x86_64.tar.xz 183547824 BLAKE2B d5cae97d902b8eebfc1095b251c1461a424850708126e96a0e81040a2d3e1cbc743f1d71cc80c7b8357f0cd426d2482945fe62dd7095823b7be2f859224fd38b SHA512 1b8da9b890991b7142d8834ccc6ae7c9cd5ae590a8a771938117943b6ffcda92ced2e8782ae6cc8e36dd38e7712ed2b389318393ea1058d7a05170223668780d -DIST zoom-5.16.0.8131_x86_64.tar.xz 178610556 BLAKE2B 4a7ab2e3104c70022d2adf90814b581459782e0c0ad7e0cd02545c7a1451740a9ac19d65c47113179bea1f0aea4acc666065aacf79139ef839a095f5092e09bc SHA512 6411d1e7047cdb6de7295ee4c67c9ca1ca4d9b64a14f4fef5575a9cafb50f108f9c94f2e73a753a714ffac4ab0424cf31155f8faad243163be69156f14c8e015 DIST zoom-5.16.2.8828_x86_64.tar.xz 178678156 BLAKE2B aefee9806e5f0ad7bf794b92616aab7b6778d4eef187e77bf35cd6796fd4c6733118e607cc3d5fd54857487f62fa8372a9637aae0cdc146faf22b21cbb2e76de SHA512 e66dd3fefc9ec65bea7fb9e5a5411ba56a20250a917578e5fe345f361317498e7e3b16ce2f8fb15d8b23595677ddbf9baf05b976b448303ae65f0c4cb33158c1 +DIST zoom-5.16.5.303_x86_64.tar.xz 184724404 BLAKE2B 20ecd29ee973cb1c4c9cdb230270ca26c150ad0b040e8b549db9f0197bab4c34afe42a3beecd9d76e426a5468e304aa6d22940bdb479d1fcb6ee70cbae24216b SHA512 5ef53364c03dee0a4d0565b51e11414ab880a6a1833435b0f040e22687e70039a964396fb970ff232881abd767aa8d338577db7028a5c7a74e226638f72695fb EBUILD zoom-5.15.10.6882.ebuild 5748 BLAKE2B f7ca9267a9fdaa60c199e7f9dab30b77c95b596aa91a1365bc2ff043a50aa325cd8d4d7c01172ead39b35f8949d133145ba8aaa99fb6f555e79eafdac543526d SHA512 407f74099b83302679bb723a65b2f7dda45d26f942fb674a125c0e90cf18fff7d4ab2e6d1b719ce59960f2a8392fcb3e0ed784a5f561046f78ddff9a8da452b5 -EBUILD zoom-5.16.0.8131.ebuild 5748 BLAKE2B f7ca9267a9fdaa60c199e7f9dab30b77c95b596aa91a1365bc2ff043a50aa325cd8d4d7c01172ead39b35f8949d133145ba8aaa99fb6f555e79eafdac543526d SHA512 407f74099b83302679bb723a65b2f7dda45d26f942fb674a125c0e90cf18fff7d4ab2e6d1b719ce59960f2a8392fcb3e0ed784a5f561046f78ddff9a8da452b5 EBUILD zoom-5.16.2.8828.ebuild 5748 BLAKE2B f7ca9267a9fdaa60c199e7f9dab30b77c95b596aa91a1365bc2ff043a50aa325cd8d4d7c01172ead39b35f8949d133145ba8aaa99fb6f555e79eafdac543526d SHA512 407f74099b83302679bb723a65b2f7dda45d26f942fb674a125c0e90cf18fff7d4ab2e6d1b719ce59960f2a8392fcb3e0ed784a5f561046f78ddff9a8da452b5 +EBUILD zoom-5.16.5.303.ebuild 5727 BLAKE2B da3cdab2a421b5811a4eca71ab8895e741d9e4d04ae66e26d1ce1fe3b71819e6bd2f832a943b7f0c19344adbb37dc0880d7cf11ed42dfe2e97679408570b354a SHA512 4c447560742df7cb7625ef2cda5056d4ced8dc7812659c84927407113881d19f39ef92e6b3e132b59b288a5f9538a8bc60f0126a3b0e3242deb62eb8b4a7e130 MISC metadata.xml 741 BLAKE2B 454d9820d7d877a5b92cf3ed71cbf3d4e55a758c6dc27b94c4a65b9a2229c09740cb8ff8469c83c0217e4d9c8220aa7b97a77ec11c7fefd30569eef893e40b31 SHA512 a1c98b94bd5dc91791e852958c1d1edb29c8d36cdaa64e65ab17b50f0bf9e86f7fca2271de82ee7949013a4872ecf07a57ccbc9691d45436c7a778bed6f864e0 diff --git a/net-im/zoom/zoom-5.16.0.8131.ebuild b/net-im/zoom/zoom-5.16.0.8131.ebuild deleted file mode 100644 index e415e67eadd7..000000000000 --- a/net-im/zoom/zoom-5.16.0.8131.ebuild +++ /dev/null @@ -1,194 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop linux-info readme.gentoo-r1 xdg-utils - -DESCRIPTION="Video conferencing and web conferencing service" -HOMEPAGE="https://zoom.us/" -SRC_URI="https://zoom.us/client/${PV}/${PN}_x86_64.tar.xz -> ${P}_x86_64.tar.xz" -S="${WORKDIR}/${PN}" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="-* ~amd64" -IUSE="bundled-libjpeg-turbo +bundled-qt opencl pulseaudio wayland" -RESTRICT="mirror bindist strip" - -RDEPEND="!games-engines/zoom - >=app-accessibility/at-spi2-core-2.46.0:2 - app-crypt/mit-krb5 - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - >=dev-libs/quazip-1.0:0=[qt5(+)] - media-libs/alsa-lib - media-libs/fdk-aac:0/2 - media-libs/fontconfig - media-libs/freetype - media-libs/mesa[gbm(+)] - media-sound/mpg123 - net-print/cups - sys-apps/dbus - sys-apps/util-linux - sys-libs/glibc - sys-libs/zlib - virtual/opengl - x11-libs/cairo - x11-libs/libdrm - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libxkbcommon[X] - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libxshmfence - x11-libs/libXtst - x11-libs/pango - x11-libs/xcb-util-image - x11-libs/xcb-util-keysyms - x11-libs/xcb-util-renderutil - x11-libs/xcb-util-wm - opencl? ( virtual/opencl ) - pulseaudio? ( media-libs/libpulse ) - wayland? ( dev-libs/wayland ) - !bundled-libjpeg-turbo? ( >=media-libs/libjpeg-turbo-2.0.5 ) - !bundled-qt? ( - dev-libs/icu - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtdeclarative:5[widgets] - dev-qt/qtdiag:5 - dev-qt/qtgraphicaleffects:5 - dev-qt/qtgui:5 - dev-qt/qtlocation:5 - dev-qt/qtnetwork:5 - dev-qt/qtquickcontrols:5[widgets] - dev-qt/qtquickcontrols2:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - dev-qt/qtxml:5 - wayland? ( dev-qt/qtwayland ) - )" - -BDEPEND="dev-util/bbe - bundled-libjpeg-turbo? ( dev-util/patchelf )" - -CONFIG_CHECK="~USER_NS ~PID_NS ~NET_NS ~SECCOMP_FILTER" -QA_PREBUILT="opt/zoom/*" - -src_prepare() { - default - - # The tarball doesn't contain an icon, so extract it from the binary - bbe -s -b '/\n/' -e 'J 1;D' zoom \ - >videoconference-zoom.svg && [[ -s videoconference-zoom.svg ]] \ - || die "Extraction of icon failed" - - 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 - - if use bundled-libjpeg-turbo; then - # Remove insecure RPATH from bundled lib - patchelf --remove-rpath libturbojpeg.so || die - fi -} - -src_install() { - insinto /opt/zoom - exeinto /opt/zoom - doins -r calendar cef email json ringtone scheduler sip timezones \ - translations - doins *.pcm Embedded.properties version.txt - doexe zoom zopen ZoomLauncher *.sh \ - aomhost libaomagent.so libdvf.so libmkldnn.so \ - libavcodec.so* libavformat.so* libavutil.so* libswresample.so* - fperms a+x /opt/zoom/cef/chrome-sandbox - dosym -r {"/usr/$(get_libdir)",/opt/zoom}/libmpg123.so - dosym -r "/usr/$(get_libdir)/libfdk-aac.so.2" /opt/zoom/libfdkaac2.so - dosym -r "/usr/$(get_libdir)/libquazip1-qt5.so" /opt/zoom/libquazip.so - - if use opencl; then - doexe libclDNN64.so - dosym -r {"/usr/$(get_libdir)",/opt/zoom}/libOpenCL.so.1 - fi - - if use bundled-libjpeg-turbo; then - doexe libturbojpeg.so - else - dosym -r {"/usr/$(get_libdir)",/opt/zoom}/libturbojpeg.so - fi - - if ! use wayland; then - # Soname dependency on libwayland-client.so.0 - rm "${ED}"/opt/zoom/cef/libGLESv2.so || die - fi - - if use bundled-qt; then - doins -r Qt - find Qt -type f '(' -name '*.so' -o -name '*.so.*' ')' \ - -printf '/opt/zoom/%p\0' | xargs -0 -r fperms 0755 || die - ( # Remove libs and plugins with unresolved soname dependencies. - # Why does the upstream package contain such garbage? :-( - cd "${ED}"/opt/zoom/Qt || die - rm -r plugins/audio plugins/egldeviceintegrations \ - plugins/platforms/libqeglfs.so \ - plugins/platforms/libqlinuxfb.so \ - plugins/platformthemes/libqgtk3.so \ - qml/Qt/labs/lottieqt qml/QtQml/RemoteObjects \ - qml/QtQuick/LocalStorage qml/QtQuick/Particles.2 \ - qml/QtQuick/Scene2D qml/QtQuick/Scene3D \ - qml/QtQuick/XmlListModel || die - use wayland || rm -r lib/libQt5Wayland*.so* plugins/wayland* \ - plugins/platforms/libqwayland*.so qml/QtWayland || die - ) - else - local qtzoom="5.12" qtver=$(best_version dev-qt/qtcore:5) - if [[ ${qtver} != dev-qt/qtcore-${qtzoom}.* ]]; then - ewarn "You have disabled the bundled-qt USE flag." - ewarn "You may experience problems when running Zoom with" - ewarn "a version of the system-wide Qt libs other than ${qtzoom}." - ewarn "See https://bugs.gentoo.org/798681 for details." - fi - fi - - dosym -r /opt/zoom/ZoomLauncher /usr/bin/zoom - make_desktop_entry "zoom %U" Zoom videoconference-zoom \ - "Network;VideoConference;" \ - "MimeType=$(printf '%s;' \ - x-scheme-handler/zoommtg \ - x-scheme-handler/zoomus \ - application/x-zoom)" - doicon videoconference-zoom.svg - doicon -s scalable videoconference-zoom.svg - - local DOC_CONTENTS="Some of Zoom's screen share features (e.g. - the whiteboard) require display compositing. If you encounter - a black window when sharing the screen, then one of the following - actions should help: - \\n- Enable compositing in your window manager if it is supported - \\n- Alternatively, run the xcompmgr command (from x11-misc/xcompmgr)" - readme.gentoo_create_doc -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - readme.gentoo_print_elog -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} diff --git a/net-im/zoom/zoom-5.16.5.303.ebuild b/net-im/zoom/zoom-5.16.5.303.ebuild new file mode 100644 index 000000000000..70e604ade31e --- /dev/null +++ b/net-im/zoom/zoom-5.16.5.303.ebuild @@ -0,0 +1,194 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop linux-info readme.gentoo-r1 xdg-utils + +DESCRIPTION="Video conferencing and web conferencing service" +HOMEPAGE="https://zoom.us/" +SRC_URI="https://zoom.us/client/${PV}/${PN}_x86_64.tar.xz -> ${P}_x86_64.tar.xz" +S="${WORKDIR}/${PN}" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="bundled-libjpeg-turbo +bundled-qt opencl pulseaudio wayland" +RESTRICT="mirror bindist strip" + +RDEPEND="!games-engines/zoom + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/mit-krb5 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + >=dev-libs/quazip-1.0:0=[qt5(+)] + media-libs/alsa-lib + media-libs/fdk-aac:0/2 + media-libs/fontconfig + media-libs/freetype + media-libs/mesa[gbm(+)] + media-sound/mpg123 + net-print/cups + sys-apps/dbus + sys-apps/util-linux + sys-libs/glibc + sys-libs/zlib + virtual/opengl + x11-libs/cairo + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon[X] + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libxshmfence + x11-libs/libXtst + x11-libs/pango + x11-libs/xcb-util-image + x11-libs/xcb-util-keysyms + x11-libs/xcb-util-renderutil + x11-libs/xcb-util-wm + opencl? ( virtual/opencl ) + pulseaudio? ( media-libs/libpulse ) + wayland? ( dev-libs/wayland ) + !bundled-libjpeg-turbo? ( >=media-libs/libjpeg-turbo-2.0.5 ) + !bundled-qt? ( + dev-libs/icu + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtdeclarative:5[widgets] + dev-qt/qtdiag:5 + dev-qt/qtgraphicaleffects:5 + dev-qt/qtgui:5 + dev-qt/qtlocation:5 + dev-qt/qtnetwork:5 + dev-qt/qtquickcontrols:5[widgets] + dev-qt/qtquickcontrols2:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + dev-qt/qtxml:5 + wayland? ( dev-qt/qtwayland ) + )" + +BDEPEND="dev-util/bbe + bundled-libjpeg-turbo? ( dev-util/patchelf )" + +CONFIG_CHECK="~USER_NS ~PID_NS ~NET_NS ~SECCOMP_FILTER" +QA_PREBUILT="opt/zoom/*" + +src_prepare() { + default + + # The tarball doesn't contain an icon, so extract it from the binary + bbe -s -b '/\n/' -e 'J 1;D' zoom \ + >videoconference-zoom.svg && [[ -s videoconference-zoom.svg ]] \ + || die "Extraction of icon failed" + + 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 + + if use bundled-libjpeg-turbo; then + # Remove insecure RPATH from bundled lib + patchelf --remove-rpath libturbojpeg.so || die + fi +} + +src_install() { + insinto /opt/zoom + exeinto /opt/zoom + doins -r calendar cef email json ringtone scheduler sip timezones \ + translations + doins *.pcm Embedded.properties version.txt + doexe zoom zopen ZoomLauncher *.sh \ + aomhost libaomagent.so libdvf.so libmkldnn.so \ + libavcodec.so* libavformat.so* libavutil.so* libswresample.so* + fperms a+x /opt/zoom/cef/chrome-sandbox + dosym -r {"/usr/$(get_libdir)",/opt/zoom}/libmpg123.so + dosym -r "/usr/$(get_libdir)/libfdk-aac.so.2" /opt/zoom/libfdkaac2.so + dosym -r "/usr/$(get_libdir)/libquazip1-qt5.so" /opt/zoom/libquazip.so + + if use opencl; then + doexe libclDNN64.so + dosym -r {"/usr/$(get_libdir)",/opt/zoom}/libOpenCL.so.1 + fi + + if use bundled-libjpeg-turbo; then + doexe libturbojpeg.so + else + dosym -r {"/usr/$(get_libdir)",/opt/zoom}/libturbojpeg.so + fi + + if ! use wayland; then + # Soname dependency on libwayland-client.so.0 + rm "${ED}"/opt/zoom/cef/libGLESv2.so || die + fi + + if use bundled-qt; then + doins -r Qt + find Qt -type f '(' -name '*.so' -o -name '*.so.*' ')' \ + -printf '/opt/zoom/%p\0' | xargs -0 -r fperms 0755 || die + ( # Remove libs and plugins with unresolved soname dependencies. + # Why does the upstream package contain such garbage? :-( + cd "${ED}"/opt/zoom/Qt || die + rm -r plugins/audio plugins/egldeviceintegrations \ + plugins/platforms/libqeglfs.so \ + plugins/platforms/libqlinuxfb.so \ + plugins/platformthemes/libqgtk3.so \ + qml/QtQml/RemoteObjects \ + qml/QtQuick/LocalStorage qml/QtQuick/Particles.2 \ + qml/QtQuick/Scene2D qml/QtQuick/Scene3D \ + qml/QtQuick/XmlListModel || die + use wayland || rm -r lib/libQt5Wayland*.so* plugins/wayland* \ + plugins/platforms/libqwayland*.so qml/QtWayland || die + ) + else + local qtzoom="5.12" qtver=$(best_version dev-qt/qtcore:5) + if [[ ${qtver} != dev-qt/qtcore-${qtzoom}.* ]]; then + ewarn "You have disabled the bundled-qt USE flag." + ewarn "You may experience problems when running Zoom with" + ewarn "a version of the system-wide Qt libs other than ${qtzoom}." + ewarn "See https://bugs.gentoo.org/798681 for details." + fi + fi + + dosym -r /opt/zoom/ZoomLauncher /usr/bin/zoom + make_desktop_entry "zoom %U" Zoom videoconference-zoom \ + "Network;VideoConference;" \ + "MimeType=$(printf '%s;' \ + x-scheme-handler/zoommtg \ + x-scheme-handler/zoomus \ + application/x-zoom)" + doicon videoconference-zoom.svg + doicon -s scalable videoconference-zoom.svg + + local DOC_CONTENTS="Some of Zoom's screen share features (e.g. + the whiteboard) require display compositing. If you encounter + a black window when sharing the screen, then one of the following + actions should help: + \\n- Enable compositing in your window manager if it is supported + \\n- Alternatively, run the xcompmgr command (from x11-misc/xcompmgr)" + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + readme.gentoo_print_elog +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} -- cgit v1.2.3