mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
Final commit for R2 release
This commit is contained in:
Executable
+54
@@ -0,0 +1,54 @@
|
||||
#!/bin/bash
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 6 April 2023
|
||||
# Updated : 19 May 2024
|
||||
# Purpose : Install JS8Call
|
||||
set -e
|
||||
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
|
||||
trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR
|
||||
|
||||
. ./env.sh
|
||||
|
||||
VERSION="2.2.0"
|
||||
FILE="js8call_${VERSION}_20.04_amd64.deb"
|
||||
URL="http://files.js8call.com/${VERSION}/${FILE}"
|
||||
|
||||
et-log "Installing JS8Call dependencies..."
|
||||
apt install \
|
||||
libqt5serialport5 \
|
||||
libqt5multimedia5-plugins \
|
||||
libqt5widgets5 \
|
||||
libqt5multimediawidgets5 \
|
||||
libqt5core5a \
|
||||
libqt5gui5 \
|
||||
libqt5multimedia5 \
|
||||
libqt5network5 \
|
||||
libqt5printsupport5 \
|
||||
libqt5serialport5 \
|
||||
libqt5widgets5 \
|
||||
libdouble-conversion3 \
|
||||
libpcre2-16-0 \
|
||||
qttranslations5-l10n \
|
||||
libmd4c0 \
|
||||
libqt5dbus5 \
|
||||
libxcb-xinerama0 \
|
||||
libxcb-xinput0 \
|
||||
libqt5svg5 \
|
||||
qt5-gtk-platformtheme \
|
||||
libqt5multimediagsttools5 \
|
||||
libgfortran5 \
|
||||
-y
|
||||
|
||||
if [ ! -e $ET_DIST_DIR/$FILE ]; then
|
||||
et-log "Downloading JS8Call: $URL"
|
||||
|
||||
curl -s -L -O --fail $URL
|
||||
|
||||
[ ! -e $ET_DIST_DIR ] && mkdir -v $ET_DIST_DIR
|
||||
|
||||
mv -v $FILE $ET_DIST_DIR
|
||||
else
|
||||
et-log "${FILE} already downloaded. Skipping..."
|
||||
fi
|
||||
|
||||
dpkg -i $ET_DIST_DIR/$FILE
|
||||
Reference in New Issue
Block a user