summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorEbben Aries <e@dscp.org>2019-02-21 23:04:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-02-21 23:22:49 +0700
commitb95cc5d8dc84e7fbc3fb9ec587343060961c4cc3 (patch)
tree1385886f5654377270583bad070a4b8fcdbe6836 /network
parent96397eeba6da2c6e506c3ce196a3203cae2c1aef (diff)
downloadslackbuilds-b95cc5d8dc84e7fbc3fb9ec587343060961c4cc3.tar.gz
network/zoom-linux: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/zoom-linux/README4
-rw-r--r--network/zoom-linux/application-x-zoom.pngbin0 -> 5573 bytes
-rw-r--r--network/zoom-linux/doinst.sh18
-rw-r--r--network/zoom-linux/zoom-linux.SlackBuild12
-rw-r--r--network/zoom-linux/zoom-linux.desktop13
-rw-r--r--network/zoom-linux/zoom-linux.pngbin0 -> 5573 bytes
-rw-r--r--network/zoom-linux/zoom-linux.xml7
7 files changed, 51 insertions, 3 deletions
diff --git a/network/zoom-linux/README b/network/zoom-linux/README
index ee8f29e7ab..a4f44b048e 100644
--- a/network/zoom-linux/README
+++ b/network/zoom-linux/README
@@ -5,8 +5,8 @@ with crystal-clear, face-to-face video, high quality screen sharing,
and instant messaging – for free!
Features
-*✔Screen sharing
-*✔Join as interactive participant or view-only webinar attendee
+* Screen sharing
+* Join as interactive participant or view-only webinar attendee
* Instant messaging
Join any meeting and host unlimited 1:1 meetings for free. Free group
diff --git a/network/zoom-linux/application-x-zoom.png b/network/zoom-linux/application-x-zoom.png
new file mode 100644
index 0000000000..dc7d04703c
--- /dev/null
+++ b/network/zoom-linux/application-x-zoom.png
Binary files differ
diff --git a/network/zoom-linux/doinst.sh b/network/zoom-linux/doinst.sh
index d22e1dbdb3..408a29c514 100644
--- a/network/zoom-linux/doinst.sh
+++ b/network/zoom-linux/doinst.sh
@@ -1,2 +1,20 @@
( cd usr/bin ; rm -rf zoom-linux )
( cd usr/bin ; ln -sf /opt/zoom-linux/ZoomLauncher zoom-linux )
+
+if [ -x /usr/bin/xdg-mime ]; then
+ /usr/bin/xdg-mime install /usr/share/mime/packages/zoom-linux.xml
+fi
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/zoom-linux/zoom-linux.SlackBuild b/network/zoom-linux/zoom-linux.SlackBuild
index ca43560ab0..53ae0032f2 100644
--- a/network/zoom-linux/zoom-linux.SlackBuild
+++ b/network/zoom-linux/zoom-linux.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for zoom-linux
#
-# Copyright 2019 Ebben Aries <e@dscp.org>
+# Copyright 2018, 2019 Ebben Aries <e@dscp.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -78,6 +78,16 @@ cp -a * $PKG/opt/$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mkdir -p $PKG/usr/share/applications/
+install -D -m644 $CWD/zoom-linux.desktop $PKG/usr/share/applications/
+
+mkdir -p $PKG/usr/share/pixmaps/
+cp $CWD/zoom-linux.png $PKG/usr/share/pixmaps/
+cp $CWD/application-x-zoom.png $PKG/usr/share/pixmaps/
+
+mkdir -p $PKG/usr/share/mime/packages/
+cp $CWD/zoom-linux.xml $PKG/usr/share/mime/packages/
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/network/zoom-linux/zoom-linux.desktop b/network/zoom-linux/zoom-linux.desktop
new file mode 100644
index 0000000000..c67baa031b
--- /dev/null
+++ b/network/zoom-linux/zoom-linux.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Name=Zoom
+Comment=Zoom Video Conference
+Exec=/usr/bin/zoom-linux %U
+Icon=Zoom.png
+Terminal=false
+Type=Application
+Encoding=UTF-8
+Categories=Network;Application;
+StartupWMClass=zoom
+MimeType=x-scheme-handler/zoommtg;application/x-zoom;
+X-KDE-Protocols=zoommtg
+Name[en_US]=Zoom
diff --git a/network/zoom-linux/zoom-linux.png b/network/zoom-linux/zoom-linux.png
new file mode 100644
index 0000000000..dc7d04703c
--- /dev/null
+++ b/network/zoom-linux/zoom-linux.png
Binary files differ
diff --git a/network/zoom-linux/zoom-linux.xml b/network/zoom-linux/zoom-linux.xml
new file mode 100644
index 0000000000..38d4616e79
--- /dev/null
+++ b/network/zoom-linux/zoom-linux.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+ <mime-type type="application/x-zoom">
+ <comment>Zoom Recording File</comment>
+ <glob pattern="*.zoom"/>
+ </mime-type>
+</mime-info>