From b95cc5d8dc84e7fbc3fb9ec587343060961c4cc3 Mon Sep 17 00:00:00 2001 From: Ebben Aries Date: Thu, 21 Feb 2019 23:04:02 +0700 Subject: network/zoom-linux: Update script. Signed-off-by: Willy Sudiarto Raharjo --- network/zoom-linux/README | 4 ++-- network/zoom-linux/application-x-zoom.png | Bin 0 -> 5573 bytes network/zoom-linux/doinst.sh | 18 ++++++++++++++++++ network/zoom-linux/zoom-linux.SlackBuild | 12 +++++++++++- network/zoom-linux/zoom-linux.desktop | 13 +++++++++++++ network/zoom-linux/zoom-linux.png | Bin 0 -> 5573 bytes network/zoom-linux/zoom-linux.xml | 7 +++++++ 7 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 network/zoom-linux/application-x-zoom.png create mode 100644 network/zoom-linux/zoom-linux.desktop create mode 100644 network/zoom-linux/zoom-linux.png create mode 100644 network/zoom-linux/zoom-linux.xml 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 Binary files /dev/null and b/network/zoom-linux/application-x-zoom.png 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 +# Copyright 2018, 2019 Ebben Aries # 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 Binary files /dev/null and b/network/zoom-linux/zoom-linux.png 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 @@ + + + + Zoom Recording File + + + -- cgit v1.2.3