summaryrefslogtreecommitdiffstats
path: root/network/bluejeans
diff options
context:
space:
mode:
author Igor Alexandrov <igora.vault@gmail.com>2019-12-19 22:44:59 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-19 22:44:59 +0700
commite89986dc855914ed0db6ef74512d6fa3f0643c4a (patch)
treef62a654c6f26c0ee7dc086955a7b02b7e8ea94d0 /network/bluejeans
parent09817566e4b640bcb21f916ac031f3eb4f8c456a (diff)
downloadslackbuilds-e89986dc855914ed0db6ef74512d6fa3f0643c4a.tar.gz
slackbuilds-e89986dc855914ed0db6ef74512d6fa3f0643c4a.tar.xz
network/bluejeans: Updated for version 2.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/bluejeans')
-rw-r--r--network/bluejeans/bluejeans.SlackBuild28
-rw-r--r--network/bluejeans/bluejeans.info10
2 files changed, 15 insertions, 23 deletions
diff --git a/network/bluejeans/bluejeans.SlackBuild b/network/bluejeans/bluejeans.SlackBuild
index 5544a07e03..aa178c8c6e 100644
--- a/network/bluejeans/bluejeans.SlackBuild
+++ b/network/bluejeans/bluejeans.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for bluejeans
-# Copyright 2019 Igor Alexandrov <igor.s.alexandrov@gmail.com>
+# Copyright 2019 Igor Alexandrov <igora.vault@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bluejeans
-VERSION=${VERSION:-1.37.22}
+VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,6 +40,9 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+SRCNAM=BlueJeans
+EXECNAM=bluejeans-v2
+
if [ "$ARCH" != "x86_64" ]; then
echo "$ARCH is not supported for $PRGNAM-$VERSION"
exit -1
@@ -50,10 +53,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-rpm2cpio $CWD/$PRGNAM-$VERSION.$ARCH.rpm | cpio -idmv
+rpm2cpio $CWD/$SRCNAM.rpm | cpio -idmv
chown -R root:root .
-
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
@@ -63,21 +65,11 @@ find -L . \
find . -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-chmod 755 opt/bluejeans/bluejeans
-patchelf --replace-needed libudev.so.0 libudev.so opt/bluejeans/bluejeans-bin
-
-mkdir -p usr/{bin,doc/$PRGNAM-$VERSION,share/{applications,icons}}
-
-ln -s ../../opt/$PRGNAM/$PRGNAM usr/bin
-ln -s ../../../opt/$PRGNAM/$PRGNAM.desktop usr/share/applications
-ln -s ../../../opt/$PRGNAM/credits.html usr/doc/$PRGNAM-$VERSION
-cat $CWD/slack-desc > $PKG/usr/doc/$PRGNAM-$VERSION/slack-desc
+mkdir -p usr/{bin,doc/$PRGNAM-$VERSION}
+ln -s ../../opt/$SRCNAM/$EXECNAM usr/bin/$PRGNAM
+ln -s ../../../opt/$SRCNAM/LICENSE.electron.txt usr/doc/$PRGNAM-$VERSION
+ln -s ../../../opt/$SRCNAM/LICENSES.chromium.html usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-(cd opt/$PRGNAM/icons; find . -type d -exec mkdir -p ../../../usr/share/icons/{} \;)
-for i in $(find opt/$PRGNAM/icons -type f); do
- sd=$(echo $i | cut -d/ -f4-)
- ln -s ../../$(echo $sd | sed 's:[^/][^/]*:..:g')/$i usr/share/icons/$sd
-done
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/network/bluejeans/bluejeans.info b/network/bluejeans/bluejeans.info
index ca91f442e1..db6dee5d87 100644
--- a/network/bluejeans/bluejeans.info
+++ b/network/bluejeans/bluejeans.info
@@ -1,10 +1,10 @@
PRGNAM="bluejeans"
-VERSION="1.37.22"
+VERSION="2.0.0"
HOMEPAGE="https://www.bluejeans.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://swdl.bluejeans.com/desktop/linux/1.37/1.37.22/bluejeans-1.37.22.x86_64.rpm"
-MD5SUM_x86_64="fa34e81272a0fc37ef03daa3ff881f15"
-REQUIRES="patchelf"
+DOWNLOAD_x86_64="https://swdl.bluejeans.com/desktop-app/linux/2.0.0/BlueJeans.rpm"
+MD5SUM_x86_64="f1104b47a09a05e0f13bbfa59753cf68"
+REQUIRES=""
MAINTAINER="Igor Alexandrov"
-EMAIL="igor.s.alexandrov@gmail.com"
+EMAIL="igora.vault@gmail.com"