network/zoom-linux: Update script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ebben Aries 2019-02-21 23:04:02 +07:00 committed by Willy Sudiarto Raharjo
parent 96397eeba6
commit b95cc5d8dc
7 changed files with 51 additions and 3 deletions

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@ -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

View File

@ -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

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@ -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>