From 0fa7f75bed0b62b6eebe58b8ea0e7a6ec2362d0d Mon Sep 17 00:00:00 2001 From: thetechprepper Date: Mon, 1 Dec 2025 08:25:35 -0700 Subject: [PATCH] sdr - Added SDR++. Thanks for contribution, William. --- scripts/install-spp.sh | 31 +++++++++++++++++++++++++++++++ scripts/install.sh | 3 ++- tests/test-sdrpp.sh | 7 +++++++ 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100755 scripts/install-spp.sh create mode 100755 tests/test-sdrpp.sh diff --git a/scripts/install-spp.sh b/scripts/install-spp.sh new file mode 100755 index 0000000..e0f2d71 --- /dev/null +++ b/scripts/install-spp.sh @@ -0,0 +1,31 @@ +#!/bin/bash +# +# Author : William McKeehan +# Author : Gaston Gonzalez +# Date : 3 September 2025 +# Updated : 1 December 2025 +# Purpose : Install SDR++ +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 +. ../overlay/opt/emcomm-tools/bin/et-common + +APP=sdrpp +VERSION=nightly +DOWNLOAD_FILE=sdrpp_ubuntu_jammy_amd64.deb + +et-log "Installing ${APP} ${VERSION}..." + +if [[ ! -e ${ET_DIST_DIR}/${DOWNLOAD_FILE} ]]; then + + URL="https://github.com/AlexandreRouma/SDRPlusPlus/releases/download/${VERSION}/${DOWNLOAD_FILE}" + + download_with_retries ${URL} ${DOWNLOAD_FILE} + mv ${DOWNLOAD_FILE} ${ET_DIST_DIR} +fi + +DEBIAN_FRONTEND=noninteractive dpkg -i "${ET_DIST_DIR}/${DOWNLOAD_FILE}" + +apt install -f -y diff --git a/scripts/install.sh b/scripts/install.sh index 082876f..0b2c6b6 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,7 +2,7 @@ # # Author : Gaston Gonzalez # Date : 16 March 2024 -# Updated : 12 November 2025 +# Updated : 1 December 2025 # Purpose : Main installer for EmComm Tools Community (ETC) . ./env.sh @@ -73,6 +73,7 @@ exitIfNotRoot # Install SDR tools ./install-sdr-tools.sh ./install-dump1090.sh +./install-spp.sh # Install ETC custom maps ./download-et-maps.sh diff --git a/tests/test-sdrpp.sh b/tests/test-sdrpp.sh new file mode 100755 index 0000000..dd3ec33 --- /dev/null +++ b/tests/test-sdrpp.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# Author : Gaston Gonzalez +# Date : 1 December 2025 +# Purpose : Test SDR++ installation + +OUT=$(which sdrpp) +exit $?