From 1b6ab70b4407f61d7f0178cd734a30002ceff409 Mon Sep 17 00:00:00 2001 From: luigifcruz Date: Fri, 24 Dec 2021 17:13:35 -0300 Subject: [PATCH] First batch of new software for v6.0. --- stage4/07-pisdr-sdrplay/00-run.sh | 18 ++++++++ stage4/07-pisdr-sdrplay/01-run.sh | 19 +++++++++ .../00-packages-nr | 0 .../00-run.sh | 0 .../00-packages-nr | 0 .../00-run.sh | 0 .../01-run.sh | 0 .../00-packages | 0 .../00-run.sh | 0 .../01-run.sh | 0 .../00-packages-nr | 0 .../00-run.sh | 0 .../01-run.sh | 0 .../01-run.sh | 0 .../02-run.sh | 0 .../00-packages-nr | 0 .../00-run.sh | 0 .../00-run.sh | 0 .../00-run.sh | 0 .../00-packages-nr | 0 .../00-run.sh | 0 .../01-run.sh | 0 .../02-run.sh | 0 .../03-run.sh | 0 .../04-run.sh | 0 .../05-run.sh | 0 .../00-packages-nr | 0 .../00-run.sh | 0 .../00-run.sh | 0 .../00-run.sh | 0 .../00-packages-nr | 0 .../00-run.sh | 0 .../00-packages-nr | 0 .../00-run.sh | 0 .../00-packages-nr | 0 .../00-run.sh | 0 .../00-run.sh | 0 .../00-packages-nr | 0 .../00-run.sh | 0 .../00-run.sh | 0 .../00-packages-nr | 0 .../00-run.sh | 0 .../00-packages-nr | 0 .../00-run.sh | 0 .../00-run.sh | 0 .../00-run.sh | 0 stage4/33-pisdr-sdrplusplus/00-packages-nr | 4 ++ stage4/33-pisdr-sdrplusplus/00-run.sh | 41 +++++++++++++++++++ stage4/34-pisdr-glrpt/00-packages-nr | 1 + stage4/34-pisdr-glrpt/00-run.sh | 19 +++++++++ .../{31-pisdr-urh => 35-pisdr-urh}/00-run.sh | 0 stage4/36-pisdr-xwxapt/00-packages-nr | 1 + stage4/36-pisdr-xwxapt/00-run.sh | 19 +++++++++ .../00-run.sh | 0 .../01-run.sh | 1 + 55 files changed, 123 insertions(+) create mode 100755 stage4/07-pisdr-sdrplay/00-run.sh create mode 100755 stage4/07-pisdr-sdrplay/01-run.sh rename stage4/{07-pisdr-limesdr => 09-pisdr-limesdr}/00-packages-nr (100%) rename stage4/{07-pisdr-limesdr => 09-pisdr-limesdr}/00-run.sh (100%) rename stage4/{09-pisdr-rtlsdr => 11-pisdr-rtlsdr}/00-packages-nr (100%) rename stage4/{09-pisdr-rtlsdr => 11-pisdr-rtlsdr}/00-run.sh (100%) rename stage4/{09-pisdr-rtlsdr => 11-pisdr-rtlsdr}/01-run.sh (100%) rename stage4/{11-pisdr-hackrf => 12-pisdr-hackrf}/00-packages (100%) rename stage4/{11-pisdr-hackrf => 12-pisdr-hackrf}/00-run.sh (100%) rename stage4/{11-pisdr-hackrf => 12-pisdr-hackrf}/01-run.sh (100%) rename stage4/{12-pisdr-gnuradio => 13-pisdr-gnuradio}/00-packages-nr (100%) rename stage4/{12-pisdr-gnuradio => 13-pisdr-gnuradio}/00-run.sh (100%) rename stage4/{12-pisdr-gnuradio => 13-pisdr-gnuradio}/01-run.sh (100%) rename stage4/{13-pisdr-gnuradio-mod => 14-pisdr-gnuradio-mod}/01-run.sh (100%) rename stage4/{13-pisdr-gnuradio-mod => 14-pisdr-gnuradio-mod}/02-run.sh (100%) rename stage4/{14-pisdr-gqrx => 15-pisdr-gqrx}/00-packages-nr (100%) rename stage4/{14-pisdr-gqrx => 15-pisdr-gqrx}/00-run.sh (100%) rename stage4/{15-pisdr-cygnusrf => 16-pisdr-cygnusrf}/00-run.sh (100%) rename stage4/{16-pisdr-rtl443 => 17-pisdr-rtl443}/00-run.sh (100%) rename stage4/{17-pisdr-sdrangel => 18-pisdr-sdrangel}/00-packages-nr (100%) rename stage4/{17-pisdr-sdrangel => 18-pisdr-sdrangel}/00-run.sh (100%) rename stage4/{17-pisdr-sdrangel => 18-pisdr-sdrangel}/01-run.sh (100%) rename stage4/{17-pisdr-sdrangel => 18-pisdr-sdrangel}/02-run.sh (100%) rename stage4/{17-pisdr-sdrangel => 18-pisdr-sdrangel}/03-run.sh (100%) rename stage4/{17-pisdr-sdrangel => 18-pisdr-sdrangel}/04-run.sh (100%) rename stage4/{17-pisdr-sdrangel => 18-pisdr-sdrangel}/05-run.sh (100%) rename stage4/{18-pisdr-libacars => 19-pisdr-libacars}/00-packages-nr (100%) rename stage4/{18-pisdr-libacars => 19-pisdr-libacars}/00-run.sh (100%) rename stage4/{19-pisdr-acarsdec => 20-pisdr-acarsdec}/00-run.sh (100%) rename stage4/{20-pisdr-multimonng => 21-pisdr-multimonng}/00-run.sh (100%) rename stage4/{21-pisdr-hamlib => 22-pisdr-hamlib}/00-packages-nr (100%) rename stage4/{21-pisdr-hamlib => 22-pisdr-hamlib}/00-run.sh (100%) rename stage4/{22-pisdr-gpredict => 23-pisdr-gpredict}/00-packages-nr (100%) rename stage4/{22-pisdr-gpredict => 23-pisdr-gpredict}/00-run.sh (100%) rename stage4/{23-pisdr-rpitx => 24-pisdr-rpitx}/00-packages-nr (100%) rename stage4/{23-pisdr-rpitx => 24-pisdr-rpitx}/00-run.sh (100%) rename stage4/{24-pisdr-virgo => 25-pisdr-virgo}/00-run.sh (100%) rename stage4/{25-pisdr-quisk => 26-pisdr-quisk}/00-packages-nr (100%) rename stage4/{25-pisdr-quisk => 26-pisdr-quisk}/00-run.sh (100%) rename stage4/{26-pisdr-limesdr-toolbox => 27-pisdr-limesdr-toolbox}/00-run.sh (100%) rename stage4/{27-pisdr-airband => 28-pisdr-airband}/00-packages-nr (100%) rename stage4/{27-pisdr-airband => 28-pisdr-airband}/00-run.sh (100%) rename stage4/{28-pisdr-osmo-fl2k => 29-pisdr-osmo-fl2k}/00-packages-nr (100%) rename stage4/{28-pisdr-osmo-fl2k => 29-pisdr-osmo-fl2k}/00-run.sh (100%) rename stage4/{29-pisdr-leandvb => 30-pisdr-leandvb}/00-run.sh (100%) rename stage4/{30-pisdr-vaportrail => 31-pisdr-vaportrail}/00-run.sh (100%) create mode 100644 stage4/33-pisdr-sdrplusplus/00-packages-nr create mode 100755 stage4/33-pisdr-sdrplusplus/00-run.sh create mode 100644 stage4/34-pisdr-glrpt/00-packages-nr create mode 100755 stage4/34-pisdr-glrpt/00-run.sh rename stage4/{31-pisdr-urh => 35-pisdr-urh}/00-run.sh (100%) create mode 100644 stage4/36-pisdr-xwxapt/00-packages-nr create mode 100755 stage4/36-pisdr-xwxapt/00-run.sh rename stage4/{35-pisdr-cleanup => 37-pisdr-cleanup}/00-run.sh (100%) rename stage4/{35-pisdr-cleanup => 37-pisdr-cleanup}/01-run.sh (89%) diff --git a/stage4/07-pisdr-sdrplay/00-run.sh b/stage4/07-pisdr-sdrplay/00-run.sh new file mode 100755 index 0000000..3382cbd --- /dev/null +++ b/stage4/07-pisdr-sdrplay/00-run.sh @@ -0,0 +1,18 @@ +#!/bin/bash -e + +on_chroot << EOF +mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios" +cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" + +if [ ! -d "sdrplay" ]; then + mkdir -p sdrplay +fi + +wget https://www.sdrplay.com/software/SDRplay_RSP_API-ARM32-3.07.2.run +chmod +x ./SDRplay_RSP_API-ARM32-3.07.2.run +./SDRplay_RSP_API-ARM32-3.07.2.run --check +./SDRplay_RSP_API-ARM32-3.07.2.run --noexec --target . +sed -i 's/more sdrplay_license.txt//g' install_lib.sh +printf "\ny\ny\ny\n" | ./install_lib.sh +systemctl enable --now sdrplay +EOF diff --git a/stage4/07-pisdr-sdrplay/01-run.sh b/stage4/07-pisdr-sdrplay/01-run.sh new file mode 100755 index 0000000..90651f5 --- /dev/null +++ b/stage4/07-pisdr-sdrplay/01-run.sh @@ -0,0 +1,19 @@ +#!/bin/bash -e + +on_chroot << EOF +mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios" +cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" + +if [ ! -d "SoapySDRPlay3" ]; then + git clone --depth 1 https://github.com/pothosware/SoapySDRPlay3.git +fi + +cd SoapySDRPlay3 +mkdir -p build +cd build +cmake -GNinja -DCMAKE_CXX_FLAGS=-latomic .. +ninja install +ldconfig +cd .. +rm -fr build +EOF \ No newline at end of file diff --git a/stage4/07-pisdr-limesdr/00-packages-nr b/stage4/09-pisdr-limesdr/00-packages-nr similarity index 100% rename from stage4/07-pisdr-limesdr/00-packages-nr rename to stage4/09-pisdr-limesdr/00-packages-nr diff --git a/stage4/07-pisdr-limesdr/00-run.sh b/stage4/09-pisdr-limesdr/00-run.sh similarity index 100% rename from stage4/07-pisdr-limesdr/00-run.sh rename to stage4/09-pisdr-limesdr/00-run.sh diff --git a/stage4/09-pisdr-rtlsdr/00-packages-nr b/stage4/11-pisdr-rtlsdr/00-packages-nr similarity index 100% rename from stage4/09-pisdr-rtlsdr/00-packages-nr rename to stage4/11-pisdr-rtlsdr/00-packages-nr diff --git a/stage4/09-pisdr-rtlsdr/00-run.sh b/stage4/11-pisdr-rtlsdr/00-run.sh similarity index 100% rename from stage4/09-pisdr-rtlsdr/00-run.sh rename to stage4/11-pisdr-rtlsdr/00-run.sh diff --git a/stage4/09-pisdr-rtlsdr/01-run.sh b/stage4/11-pisdr-rtlsdr/01-run.sh similarity index 100% rename from stage4/09-pisdr-rtlsdr/01-run.sh rename to stage4/11-pisdr-rtlsdr/01-run.sh diff --git a/stage4/11-pisdr-hackrf/00-packages b/stage4/12-pisdr-hackrf/00-packages similarity index 100% rename from stage4/11-pisdr-hackrf/00-packages rename to stage4/12-pisdr-hackrf/00-packages diff --git a/stage4/11-pisdr-hackrf/00-run.sh b/stage4/12-pisdr-hackrf/00-run.sh similarity index 100% rename from stage4/11-pisdr-hackrf/00-run.sh rename to stage4/12-pisdr-hackrf/00-run.sh diff --git a/stage4/11-pisdr-hackrf/01-run.sh b/stage4/12-pisdr-hackrf/01-run.sh similarity index 100% rename from stage4/11-pisdr-hackrf/01-run.sh rename to stage4/12-pisdr-hackrf/01-run.sh diff --git a/stage4/12-pisdr-gnuradio/00-packages-nr b/stage4/13-pisdr-gnuradio/00-packages-nr similarity index 100% rename from stage4/12-pisdr-gnuradio/00-packages-nr rename to stage4/13-pisdr-gnuradio/00-packages-nr diff --git a/stage4/12-pisdr-gnuradio/00-run.sh b/stage4/13-pisdr-gnuradio/00-run.sh similarity index 100% rename from stage4/12-pisdr-gnuradio/00-run.sh rename to stage4/13-pisdr-gnuradio/00-run.sh diff --git a/stage4/12-pisdr-gnuradio/01-run.sh b/stage4/13-pisdr-gnuradio/01-run.sh similarity index 100% rename from stage4/12-pisdr-gnuradio/01-run.sh rename to stage4/13-pisdr-gnuradio/01-run.sh diff --git a/stage4/13-pisdr-gnuradio-mod/01-run.sh b/stage4/14-pisdr-gnuradio-mod/01-run.sh similarity index 100% rename from stage4/13-pisdr-gnuradio-mod/01-run.sh rename to stage4/14-pisdr-gnuradio-mod/01-run.sh diff --git a/stage4/13-pisdr-gnuradio-mod/02-run.sh b/stage4/14-pisdr-gnuradio-mod/02-run.sh similarity index 100% rename from stage4/13-pisdr-gnuradio-mod/02-run.sh rename to stage4/14-pisdr-gnuradio-mod/02-run.sh diff --git a/stage4/14-pisdr-gqrx/00-packages-nr b/stage4/15-pisdr-gqrx/00-packages-nr similarity index 100% rename from stage4/14-pisdr-gqrx/00-packages-nr rename to stage4/15-pisdr-gqrx/00-packages-nr diff --git a/stage4/14-pisdr-gqrx/00-run.sh b/stage4/15-pisdr-gqrx/00-run.sh similarity index 100% rename from stage4/14-pisdr-gqrx/00-run.sh rename to stage4/15-pisdr-gqrx/00-run.sh diff --git a/stage4/15-pisdr-cygnusrf/00-run.sh b/stage4/16-pisdr-cygnusrf/00-run.sh similarity index 100% rename from stage4/15-pisdr-cygnusrf/00-run.sh rename to stage4/16-pisdr-cygnusrf/00-run.sh diff --git a/stage4/16-pisdr-rtl443/00-run.sh b/stage4/17-pisdr-rtl443/00-run.sh similarity index 100% rename from stage4/16-pisdr-rtl443/00-run.sh rename to stage4/17-pisdr-rtl443/00-run.sh diff --git a/stage4/17-pisdr-sdrangel/00-packages-nr b/stage4/18-pisdr-sdrangel/00-packages-nr similarity index 100% rename from stage4/17-pisdr-sdrangel/00-packages-nr rename to stage4/18-pisdr-sdrangel/00-packages-nr diff --git a/stage4/17-pisdr-sdrangel/00-run.sh b/stage4/18-pisdr-sdrangel/00-run.sh similarity index 100% rename from stage4/17-pisdr-sdrangel/00-run.sh rename to stage4/18-pisdr-sdrangel/00-run.sh diff --git a/stage4/17-pisdr-sdrangel/01-run.sh b/stage4/18-pisdr-sdrangel/01-run.sh similarity index 100% rename from stage4/17-pisdr-sdrangel/01-run.sh rename to stage4/18-pisdr-sdrangel/01-run.sh diff --git a/stage4/17-pisdr-sdrangel/02-run.sh b/stage4/18-pisdr-sdrangel/02-run.sh similarity index 100% rename from stage4/17-pisdr-sdrangel/02-run.sh rename to stage4/18-pisdr-sdrangel/02-run.sh diff --git a/stage4/17-pisdr-sdrangel/03-run.sh b/stage4/18-pisdr-sdrangel/03-run.sh similarity index 100% rename from stage4/17-pisdr-sdrangel/03-run.sh rename to stage4/18-pisdr-sdrangel/03-run.sh diff --git a/stage4/17-pisdr-sdrangel/04-run.sh b/stage4/18-pisdr-sdrangel/04-run.sh similarity index 100% rename from stage4/17-pisdr-sdrangel/04-run.sh rename to stage4/18-pisdr-sdrangel/04-run.sh diff --git a/stage4/17-pisdr-sdrangel/05-run.sh b/stage4/18-pisdr-sdrangel/05-run.sh similarity index 100% rename from stage4/17-pisdr-sdrangel/05-run.sh rename to stage4/18-pisdr-sdrangel/05-run.sh diff --git a/stage4/18-pisdr-libacars/00-packages-nr b/stage4/19-pisdr-libacars/00-packages-nr similarity index 100% rename from stage4/18-pisdr-libacars/00-packages-nr rename to stage4/19-pisdr-libacars/00-packages-nr diff --git a/stage4/18-pisdr-libacars/00-run.sh b/stage4/19-pisdr-libacars/00-run.sh similarity index 100% rename from stage4/18-pisdr-libacars/00-run.sh rename to stage4/19-pisdr-libacars/00-run.sh diff --git a/stage4/19-pisdr-acarsdec/00-run.sh b/stage4/20-pisdr-acarsdec/00-run.sh similarity index 100% rename from stage4/19-pisdr-acarsdec/00-run.sh rename to stage4/20-pisdr-acarsdec/00-run.sh diff --git a/stage4/20-pisdr-multimonng/00-run.sh b/stage4/21-pisdr-multimonng/00-run.sh similarity index 100% rename from stage4/20-pisdr-multimonng/00-run.sh rename to stage4/21-pisdr-multimonng/00-run.sh diff --git a/stage4/21-pisdr-hamlib/00-packages-nr b/stage4/22-pisdr-hamlib/00-packages-nr similarity index 100% rename from stage4/21-pisdr-hamlib/00-packages-nr rename to stage4/22-pisdr-hamlib/00-packages-nr diff --git a/stage4/21-pisdr-hamlib/00-run.sh b/stage4/22-pisdr-hamlib/00-run.sh similarity index 100% rename from stage4/21-pisdr-hamlib/00-run.sh rename to stage4/22-pisdr-hamlib/00-run.sh diff --git a/stage4/22-pisdr-gpredict/00-packages-nr b/stage4/23-pisdr-gpredict/00-packages-nr similarity index 100% rename from stage4/22-pisdr-gpredict/00-packages-nr rename to stage4/23-pisdr-gpredict/00-packages-nr diff --git a/stage4/22-pisdr-gpredict/00-run.sh b/stage4/23-pisdr-gpredict/00-run.sh similarity index 100% rename from stage4/22-pisdr-gpredict/00-run.sh rename to stage4/23-pisdr-gpredict/00-run.sh diff --git a/stage4/23-pisdr-rpitx/00-packages-nr b/stage4/24-pisdr-rpitx/00-packages-nr similarity index 100% rename from stage4/23-pisdr-rpitx/00-packages-nr rename to stage4/24-pisdr-rpitx/00-packages-nr diff --git a/stage4/23-pisdr-rpitx/00-run.sh b/stage4/24-pisdr-rpitx/00-run.sh similarity index 100% rename from stage4/23-pisdr-rpitx/00-run.sh rename to stage4/24-pisdr-rpitx/00-run.sh diff --git a/stage4/24-pisdr-virgo/00-run.sh b/stage4/25-pisdr-virgo/00-run.sh similarity index 100% rename from stage4/24-pisdr-virgo/00-run.sh rename to stage4/25-pisdr-virgo/00-run.sh diff --git a/stage4/25-pisdr-quisk/00-packages-nr b/stage4/26-pisdr-quisk/00-packages-nr similarity index 100% rename from stage4/25-pisdr-quisk/00-packages-nr rename to stage4/26-pisdr-quisk/00-packages-nr diff --git a/stage4/25-pisdr-quisk/00-run.sh b/stage4/26-pisdr-quisk/00-run.sh similarity index 100% rename from stage4/25-pisdr-quisk/00-run.sh rename to stage4/26-pisdr-quisk/00-run.sh diff --git a/stage4/26-pisdr-limesdr-toolbox/00-run.sh b/stage4/27-pisdr-limesdr-toolbox/00-run.sh similarity index 100% rename from stage4/26-pisdr-limesdr-toolbox/00-run.sh rename to stage4/27-pisdr-limesdr-toolbox/00-run.sh diff --git a/stage4/27-pisdr-airband/00-packages-nr b/stage4/28-pisdr-airband/00-packages-nr similarity index 100% rename from stage4/27-pisdr-airband/00-packages-nr rename to stage4/28-pisdr-airband/00-packages-nr diff --git a/stage4/27-pisdr-airband/00-run.sh b/stage4/28-pisdr-airband/00-run.sh similarity index 100% rename from stage4/27-pisdr-airband/00-run.sh rename to stage4/28-pisdr-airband/00-run.sh diff --git a/stage4/28-pisdr-osmo-fl2k/00-packages-nr b/stage4/29-pisdr-osmo-fl2k/00-packages-nr similarity index 100% rename from stage4/28-pisdr-osmo-fl2k/00-packages-nr rename to stage4/29-pisdr-osmo-fl2k/00-packages-nr diff --git a/stage4/28-pisdr-osmo-fl2k/00-run.sh b/stage4/29-pisdr-osmo-fl2k/00-run.sh similarity index 100% rename from stage4/28-pisdr-osmo-fl2k/00-run.sh rename to stage4/29-pisdr-osmo-fl2k/00-run.sh diff --git a/stage4/29-pisdr-leandvb/00-run.sh b/stage4/30-pisdr-leandvb/00-run.sh similarity index 100% rename from stage4/29-pisdr-leandvb/00-run.sh rename to stage4/30-pisdr-leandvb/00-run.sh diff --git a/stage4/30-pisdr-vaportrail/00-run.sh b/stage4/31-pisdr-vaportrail/00-run.sh similarity index 100% rename from stage4/30-pisdr-vaportrail/00-run.sh rename to stage4/31-pisdr-vaportrail/00-run.sh diff --git a/stage4/33-pisdr-sdrplusplus/00-packages-nr b/stage4/33-pisdr-sdrplusplus/00-packages-nr new file mode 100644 index 0000000..56991f4 --- /dev/null +++ b/stage4/33-pisdr-sdrplusplus/00-packages-nr @@ -0,0 +1,4 @@ +libfftw3-dev +libglfw3-dev +libglew-dev +librtaudio-dev \ No newline at end of file diff --git a/stage4/33-pisdr-sdrplusplus/00-run.sh b/stage4/33-pisdr-sdrplusplus/00-run.sh new file mode 100755 index 0000000..6394fe5 --- /dev/null +++ b/stage4/33-pisdr-sdrplusplus/00-run.sh @@ -0,0 +1,41 @@ +#!/bin/bash -e + +on_chroot << EOF +mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" +cd "/home/${FIRST_USER_NAME}/PiSDR/Software" + +if [ ! -d "SDRPlusPlus" ]; then + git clone --single-branch --branch 1.0.4 --depth 1 https://github.com/AlexandreRouma/SDRPlusPlus.git +fi + +cd SDRPlusPlus +bash ./create_root.sh +mkdir -p build +cd build +cmake -DOPT_BUILD_AIRSPY_SOURCE=ON \ + -DOPT_BUILD_AIRSPYHF_SOURCE=ON \ + -DOPT_BUILD_FILE_SOURCE=ON \ + -DOPT_BUILD_HACKRF_SOURCE=ON \ + -DOPT_BUILD_LIMESDR_SOURCE=ON \ + -DOPT_BUILD_RTL_SDR_SOURCE=ON \ + -DOPT_BUILD_RTL_TCP_SOURCE=ON \ + -DOPT_BUILD_SDRPLAY_SOURCE=ON \ + -DOPT_BUILD_SOAPY_SOURCE=ON \ + -DOPT_BUILD_SPYSERVER_SOURCE=ON \ + -DOPT_BUILD_PLUTOSDR_SOURCE=ON \ + -DOPT_BUILD_AUDIO_SINK=ON \ + -DOPT_BUILD_NETWORK_SINK=ON \ + -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON \ + -DOPT_BUILD_M17_DECODER=ON \ + -DOPT_BUILD_METEOR_DEMODULATOR=ON \ + -DOPT_BUILD_RADIO=ON \ + -DOPT_BUILD_DISCORD_PRESENCE=ON \ + -DOPT_BUILD_FREQUENCY_MANAGER=ON \ + -DOPT_BUILD_RECORDER=ON \ + -DOPT_BUILD_RIGCTL_SERVER=ON \ + -GNinja .. +ninja install +ldconfig +cd .. +rm -fr build +EOF \ No newline at end of file diff --git a/stage4/34-pisdr-glrpt/00-packages-nr b/stage4/34-pisdr-glrpt/00-packages-nr new file mode 100644 index 0000000..ba026bb --- /dev/null +++ b/stage4/34-pisdr-glrpt/00-packages-nr @@ -0,0 +1 @@ +libturbojpeg0-dev \ No newline at end of file diff --git a/stage4/34-pisdr-glrpt/00-run.sh b/stage4/34-pisdr-glrpt/00-run.sh new file mode 100755 index 0000000..94353c9 --- /dev/null +++ b/stage4/34-pisdr-glrpt/00-run.sh @@ -0,0 +1,19 @@ +#!/bin/bash -e + +on_chroot << EOF +mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" +cd "/home/${FIRST_USER_NAME}/PiSDR/Software" + +if [ ! -d "glrpt" ]; then + git clone --depth 1 https://github.com/dvdesolve/glrpt.git +fi + +cd glrpt +mkdir -p build +cd build +cmake -GNinja .. +ninja install +ldconfig +cd .. +rm -fr build +EOF \ No newline at end of file diff --git a/stage4/31-pisdr-urh/00-run.sh b/stage4/35-pisdr-urh/00-run.sh similarity index 100% rename from stage4/31-pisdr-urh/00-run.sh rename to stage4/35-pisdr-urh/00-run.sh diff --git a/stage4/36-pisdr-xwxapt/00-packages-nr b/stage4/36-pisdr-xwxapt/00-packages-nr new file mode 100644 index 0000000..ba026bb --- /dev/null +++ b/stage4/36-pisdr-xwxapt/00-packages-nr @@ -0,0 +1 @@ +libturbojpeg0-dev \ No newline at end of file diff --git a/stage4/36-pisdr-xwxapt/00-run.sh b/stage4/36-pisdr-xwxapt/00-run.sh new file mode 100755 index 0000000..c45a318 --- /dev/null +++ b/stage4/36-pisdr-xwxapt/00-run.sh @@ -0,0 +1,19 @@ +#!/bin/bash -e + +on_chroot << EOF +mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" +cd "/home/${FIRST_USER_NAME}/PiSDR/Software" + +if [ ! -d "xwxapt" ]; then + mkdir -p xwxapt +fi + + +wget http://www.qsl.net/5b4az/pkg/apt/xwxapt/xwxapt-3.4.3.tar.bz2 +tar jxvf xwxapt-3.4.3.tar.bz2 +cd xwxapt-3.4.3 +./autogen.sh +./configure +make install -j$(nproc) +ldconfig +EOF \ No newline at end of file diff --git a/stage4/35-pisdr-cleanup/00-run.sh b/stage4/37-pisdr-cleanup/00-run.sh similarity index 100% rename from stage4/35-pisdr-cleanup/00-run.sh rename to stage4/37-pisdr-cleanup/00-run.sh diff --git a/stage4/35-pisdr-cleanup/01-run.sh b/stage4/37-pisdr-cleanup/01-run.sh similarity index 89% rename from stage4/35-pisdr-cleanup/01-run.sh rename to stage4/37-pisdr-cleanup/01-run.sh index ec6fc03..73677ab 100755 --- a/stage4/35-pisdr-cleanup/01-run.sh +++ b/stage4/37-pisdr-cleanup/01-run.sh @@ -8,6 +8,7 @@ chown pi:pi /lib/udev/rules.d/90-libiio.rules chown pi:pi /etc/udev/rules.d/53-hackrf.rules chown pi:pi /etc/udev/rules.d/uhd-usrp.rules chown pi:pi /etc/udev/rules.d/64-limesuite.rules +chown pi:pi /etc/udev/rules.d/66-mirics.rules udevadm control --reload-rules udevadm trigger EOF \ No newline at end of file