summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2019-04-19 19:07:55 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2019-04-19 19:08:28 -0700
commit35bfaedc6f08b40bb220b684646219b115cf026d (patch)
treee22fdd663baae750f34f2729898147d7c213d05f /net-im/zoom-bin/zoom-bin-2.8.182821.0412.ebuild
parentAdd rtv (diff)
downloadpalmer-35bfaedc6f08b40bb220b684646219b115cf026d.tar.gz
palmer-35bfaedc6f08b40bb220b684646219b115cf026d.tar.bz2
palmer-35bfaedc6f08b40bb220b684646219b115cf026d.zip
Update Zoom very far
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
Diffstat (limited to 'net-im/zoom-bin/zoom-bin-2.8.182821.0412.ebuild')
-rw-r--r--net-im/zoom-bin/zoom-bin-2.8.182821.0412.ebuild77
1 files changed, 77 insertions, 0 deletions
diff --git a/net-im/zoom-bin/zoom-bin-2.8.182821.0412.ebuild b/net-im/zoom-bin/zoom-bin-2.8.182821.0412.ebuild
new file mode 100644
index 0000000..833ca89
--- /dev/null
+++ b/net-im/zoom-bin/zoom-bin-2.8.182821.0412.ebuild
@@ -0,0 +1,77 @@
+# Copyright 2019 Yurij Mikhalevich <yurij@mikhalevi.ch>
+# Distributed under the terms of the MIT License
+
+EAPI=7
+
+inherit unpacker xdg
+
+MY_PN="${PN/-bin/}"
+
+DESCRIPTION="Video conferencing and web conferencing service"
+BASE_SERVER_URI="https://zoom.us"
+HOMEPAGE="https://zoom.us"
+SRC_URI="${BASE_SERVER_URI}/client/${PV}/${MY_PN}_x86_64.pkg.tar.xz -> ${MY_PN}-${PV}_x86_64.pkg.tar.xz"
+
+LICENSE="ZOOM"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="mirror"
+
+IUSE="pulseaudio"
+
+QA_PREBUILT="opt/zoom/*"
+
+RDEPEND="${DEPEND}
+ pulseaudio? ( media-sound/pulseaudio )
+ dev-db/sqlite
+ dev-db/unixODBC
+ dev-libs/glib
+ dev-libs/nss
+ dev-libs/libxslt
+ dev-qt/qtmultimedia
+ media-libs/fontconfig
+ media-libs/gstreamer:0.10
+ media-libs/gst-plugins-base:0.10
+ media-libs/mesa
+ x11-libs/libxcb
+ x11-libs/libXcomposite
+ x11-libs/libXi
+ x11-libs/libXrender
+ dev-qt/qtwebengine
+ dev-qt/qtsvg"
+DEPEND="${RDEPEND}
+ app-admin/chrpath
+"
+
+S=${WORKDIR}
+
+src_prepare() {
+ rm -f ${WORKDIR}/.PKGINFO ${WORKDIR}/.INSTALL ${WORKDIR}/.MTREE
+ rmdir usr/share/doc/zoom usr/share/doc
+ sed -i -e 's:Icon=Zoom.png:Icon=Zoom:' "${WORKDIR}/usr/share/applications/Zoom.desktop"
+ sed -i -e 's:Application;::' "${WORKDIR}/usr/share/applications/Zoom.desktop"
+ chrpath -r '' opt/zoom/platforminputcontexts/libfcitxplatforminputcontextplugin.so
+ scanelf -Xr opt/zoom/platforminputcontexts/libfcitxplatforminputcontextplugin.so
+ eapply_user
+}
+
+src_install() {
+ cp -Rp "${S}/"* "${D}"
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ xdg_icon_cache_update
+}