summaryrefslogtreecommitdiff
path: root/net-im/zoom
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /net-im/zoom
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'net-im/zoom')
-rw-r--r--net-im/zoom/Manifest9
-rw-r--r--net-im/zoom/files/zoom-videocam.svg4
-rw-r--r--net-im/zoom/files/zoom-videocam.xpm32
-rw-r--r--net-im/zoom/metadata.xml17
-rw-r--r--net-im/zoom/zoom-3.5.382995.0407-r1.ebuild107
-rw-r--r--net-im/zoom/zoom-3.5.383291.0407.ebuild108
6 files changed, 277 insertions, 0 deletions
diff --git a/net-im/zoom/Manifest b/net-im/zoom/Manifest
new file mode 100644
index 000000000000..c960d410f73c
--- /dev/null
+++ b/net-im/zoom/Manifest
@@ -0,0 +1,9 @@
+AUX zoom-videocam.svg 284 BLAKE2B fa118d489cafa1c14841c27ab4962c41d52987ee49b8ad0fb3e4c33d7cf376920e16a8f7358807d0809231fbf7ef8cafd4752ac90e85cc7395a56fbe07f6340d SHA512 a60345de0c86003dc49484fd5d3d22e3228b8b1c107796690289a7779769436809dd22b02b4951df2fc1e3a98c541dec4b0788ab7d112b2b9c8c29a46493a98d
+AUX zoom-videocam.xpm 806 BLAKE2B dcb9d7e2a90f564ed6b7f0b733efb72867ecf2418177b25ecd5a00e204ab9f0f89c2b1f3b3078b3cf326c8c523480f183170a82d896b73848e7596b32a351a9b SHA512 a49e7cce25e6b3a1492b2ed834f7fe8f533b5374b0c4eea4089003459ac011ef264175c5c2322cceb77f8fb67e939e90e9abddeef415d2f570add8301cd10a48
+DIST zoom-3.5.382995.0407_i686.tar.xz 48494772 BLAKE2B 13d678c36bac7e5705cc0608d0ca49d943e56b492cce802f41ffe6bbb307336fef4e710346f33e596faa84a449b1f69ef944e462b694aff016051a834e1d2a89 SHA512 339abb803cd08e6835404ff2f1140b9ee73294a8820828d833b64e3bfe619fd24eb18c475b78a0f795a63dadc8ffd6593563710d6e8ba606fcbf3ffd7a007c33
+DIST zoom-3.5.382995.0407_x86_64.tar.xz 72616840 BLAKE2B 3a20f9346305ec84c6b14233724dce6ab285810e7c59ed482139e902f088e2cf7f1f48d769fe0f0990128f92aa4221f7fe5f69e9d5859fc5bf6d57378ec25507 SHA512 d0612f83d23e93e84db5dd18c55ebc6b3cba17b9479ff812276e0d1fb21fb9fbe2fe5f38329f5e30cd7acf6c7f88fdf09d6dd31d223e3edec0bc1142b358bb8b
+DIST zoom-3.5.383291.0407_i686.tar.xz 48489396 BLAKE2B cfce6356e1f2cea29f9330e18402b7872f93f5fdf4c136f6b40060a2440536b3656ce7fdb28db9721f92f2f462ff4a99d6efb82d4f08bf58ef1a3425dd015665 SHA512 92b6db2bdf6531a876a93069654448a77fa25e645d669df7144d8a8514d63ef9336cef9bfbd9bbaf7f1ce001b26ca7bdb39b19b7549c2b193ee0292f0522e47c
+DIST zoom-3.5.383291.0407_x86_64.tar.xz 72618832 BLAKE2B e9fa38fae525688f8d9f14a0c2bfe04201edfe2719d075caf9d9de0a2454010b68a6d1df0cd480152641f5763caff7aab1427fee268e3c8239797c792551b709 SHA512 531ce43fdeb4c4df50a85e8a28a90f25d9df7c97b87014fef1e9c94836abbc4d6e76f081b2418c6e538052a2f69e052e0a1ebb9bb0dc33cffffc683bb5b2aef4
+EBUILD zoom-3.5.382995.0407-r1.ebuild 2863 BLAKE2B a3ba4646134409f5bb3dcb4726de9b6164699dfdd301bfbd10efc4a38ce619397311d1022617aa4c7b8012d48cfcb18348808c9d5db36935c8ce63d44f4a2ada SHA512 f10b3d8eacd9eb5f6d0d093cbe9e53c9a2ae76df2dd0b50c58c808e886f598ce56ac7c299e6860cfbbc4d64630d8c5e26b0f5d4ca7fdfa7bf36c949e32e2a089
+EBUILD zoom-3.5.383291.0407.ebuild 2880 BLAKE2B 929e1aeac09009c1d5c2a8429568ba516ae80a6416bd8110b50a0a6ac885acb5169d61ceee63e6fdbb659d7625af129b3caa535e00fa34dbbb4bca3d350136f4 SHA512 ee4d1a8a680bc946972b7bf5bc11e4eef5890196624ce9e05c7c71926953f8655e7253a5f812898a6e4477be17a7ef2c34cb28243ac6d200d7886ddde2559210
+MISC metadata.xml 523 BLAKE2B f258ebdf8e4a2e067f202ede6324203b640c6a7fce843cc4b42cf4eef6efd97620e50c22c80f885d09254e403f016758d7dd3ba1deeef0c26692487a2ca9ba35 SHA512 9746752364f19f9e17516315231c8efef278f4d77ddcbfde213b5a65b012d6e320a20536e44ac5a111b2370a21cb59eb7a88c5c3fd2a1dd44064702d5e7bca38
diff --git a/net-im/zoom/files/zoom-videocam.svg b/net-im/zoom/files/zoom-videocam.svg
new file mode 100644
index 000000000000..33e4ac77b9fb
--- /dev/null
+++ b/net-im/zoom/files/zoom-videocam.svg
@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
+ <rect width="24" height="24" rx="6" ry="6" fill="#2d8cff"/>
+ <path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z" fill="#ffffff"/>
+</svg>
diff --git a/net-im/zoom/files/zoom-videocam.xpm b/net-im/zoom/files/zoom-videocam.xpm
new file mode 100644
index 000000000000..380e86f2cc27
--- /dev/null
+++ b/net-im/zoom/files/zoom-videocam.xpm
@@ -0,0 +1,32 @@
+/* XPM */
+static char * zoom_videocam_xpm[] = {
+"24 24 5 1",
+" c None",
+". c #2D8CFF",
+"+ c #469AFF",
+"@ c #E3F0FF",
+"# c #FFFFFF",
+" ................ ",
+" .................... ",
+" ...................... ",
+" ...................... ",
+"........................",
+"........................",
+"...##############...+...",
+"...##############..+@...",
+"...##############.+@#...",
+"...##############+@##...",
+"...##############@###...",
+"...##################...",
+"...##################...",
+"...##############@###...",
+"...##############+@##...",
+"...##############.+@#...",
+"...##############..+@...",
+"...##############...+...",
+"........................",
+"........................",
+" ...................... ",
+" ...................... ",
+" .................... ",
+" ................ "};
diff --git a/net-im/zoom/metadata.xml b/net-im/zoom/metadata.xml
new file mode 100644
index 000000000000..df9fc1aee0d0
--- /dev/null
+++ b/net-im/zoom/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ulm@gentoo.org</email>
+ </maintainer>
+ <maintainer type="person">
+ <email>dilfridge@gentoo.org</email>
+ </maintainer>
+ <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-r1.ebuild b/net-im/zoom/zoom-3.5.382995.0407-r1.ebuild
new file mode 100644
index 000000000000..a5ea47ee80d5
--- /dev/null
+++ b/net-im/zoom/zoom-3.5.382995.0407-r1.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop eutils xdg-utils
+
+DESCRIPTION="Video conferencing and web conferencing service"
+HOMEPAGE="https://zoom.us/"
+SRC_URI="amd64? ( https://zoom.us/client/${PV}/${PN}_x86_64.tar.xz -> ${P}_x86_64.tar.xz )
+ x86? ( https://zoom.us/client/${PV}/${PN}_i686.tar.xz -> ${P}_i686.tar.xz )"
+S="${WORKDIR}/${PN}"
+
+LICENSE="all-rights-reserved Apache-2.0" # Apache-2.0 for icon
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="bundled-libjpeg-turbo pulseaudio"
+RESTRICT="mirror bindist strip"
+
+RDEPEND="!games-engines/zoom
+ dev-libs/glib:2
+ dev-libs/icu
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgraphicaleffects:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtquickcontrols:5[widgets]
+ dev-qt/qtscript:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ media-sound/mpg123
+ sys-apps/dbus
+ sys-apps/util-linux
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXtst
+ x11-libs/xcb-util-image
+ x11-libs/xcb-util-keysyms
+ amd64? (
+ dev-qt/qtdeclarative:5[widgets]
+ dev-qt/qtpositioning:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwebchannel:5
+ dev-qt/qtwebengine:5[widgets]
+ )
+ x86? (
+ dev-qt/qtdeclarative:5
+ dev-qt/qtwebkit:5
+ )
+ !bundled-libjpeg-turbo? ( media-libs/libjpeg-turbo )
+ pulseaudio? ( media-sound/pulseaudio )
+ !pulseaudio? ( media-libs/alsa-lib )"
+
+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
+ doins -r json sip timezones translations
+ 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}/libmpg123.so
+
+ 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 "" \
+ "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 -s scalable "${FILESDIR}"/zoom-videocam.svg
+ doicon -s 24 "${FILESDIR}"/zoom-videocam.xpm
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
diff --git a/net-im/zoom/zoom-3.5.383291.0407.ebuild b/net-im/zoom/zoom-3.5.383291.0407.ebuild
new file mode 100644
index 000000000000..3dccb750177a
--- /dev/null
+++ b/net-im/zoom/zoom-3.5.383291.0407.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop eutils xdg-utils
+
+DESCRIPTION="Video conferencing and web conferencing service"
+HOMEPAGE="https://zoom.us/"
+SRC_URI="amd64? ( https://zoom.us/client/${PV}/${PN}_x86_64.tar.xz -> ${P}_x86_64.tar.xz )
+ x86? ( https://zoom.us/client/${PV}/${PN}_i686.tar.xz -> ${P}_i686.tar.xz )"
+S="${WORKDIR}/${PN}"
+
+LICENSE="all-rights-reserved Apache-2.0" # Apache-2.0 for icon
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="bundled-libjpeg-turbo pulseaudio"
+RESTRICT="mirror bindist strip"
+
+RDEPEND="!games-engines/zoom
+ dev-libs/glib:2
+ dev-libs/icu
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtdiag:5
+ dev-qt/qtgraphicaleffects:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtquickcontrols:5[widgets]
+ dev-qt/qtscript:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ media-sound/mpg123
+ sys-apps/dbus
+ sys-apps/util-linux
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXtst
+ x11-libs/xcb-util-image
+ x11-libs/xcb-util-keysyms
+ amd64? (
+ dev-qt/qtdeclarative:5[widgets]
+ dev-qt/qtpositioning:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwebchannel:5
+ dev-qt/qtwebengine:5[widgets]
+ )
+ x86? (
+ dev-qt/qtdeclarative:5
+ dev-qt/qtwebkit:5
+ )
+ !bundled-libjpeg-turbo? ( media-libs/libjpeg-turbo )
+ pulseaudio? ( media-sound/pulseaudio )
+ !pulseaudio? ( media-libs/alsa-lib )"
+
+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
+ doins -r json sip timezones translations
+ 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}/libmpg123.so
+
+ 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 "" \
+ "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 -s scalable "${FILESDIR}"/zoom-videocam.svg
+ doicon -s 24 "${FILESDIR}"/zoom-videocam.xpm
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}