From 98c2d52c7df75e7bbdba38b84a332a5e7d95bb24 Mon Sep 17 00:00:00 2001 From: luigifcruz Date: Fri, 24 Dec 2021 19:10:02 -0300 Subject: [PATCH] Forth batch of new applications for v6.0. --- stage4/07-pisdr-sdrplay/00-run.sh | 1 + .../41-pisdr-iiooscilloscope/00-packages-nr | 16 ++++++++++++++++ stage4/41-pisdr-iiooscilloscope/00-run.sh | 19 +++++++++++++++++++ stage4/42-pisdr-qtdab/00-packages-nr | 13 +++++++++++++ stage4/42-pisdr-qtdab/00-run.sh | 19 +++++++++++++++++++ .../00-run.sh | 0 .../01-run.sh | 0 7 files changed, 68 insertions(+) create mode 100644 stage4/41-pisdr-iiooscilloscope/00-packages-nr create mode 100755 stage4/41-pisdr-iiooscilloscope/00-run.sh create mode 100644 stage4/42-pisdr-qtdab/00-packages-nr create mode 100755 stage4/42-pisdr-qtdab/00-run.sh rename stage4/{41-pisdr-cleanup => 43-pisdr-cleanup}/00-run.sh (100%) rename stage4/{41-pisdr-cleanup => 43-pisdr-cleanup}/01-run.sh (100%) diff --git a/stage4/07-pisdr-sdrplay/00-run.sh b/stage4/07-pisdr-sdrplay/00-run.sh index 4c5ffd7..5c4a89a 100755 --- a/stage4/07-pisdr-sdrplay/00-run.sh +++ b/stage4/07-pisdr-sdrplay/00-run.sh @@ -16,4 +16,5 @@ sed -i 's/more sdrplay_license.txt//g' install_lib.sh sed -i 's/armv7l/armv8l/g' install_lib.sh printf "\ny\ny\ny\n" | ./install_lib.sh systemctl enable sdrplay +ldconfig EOF \ No newline at end of file diff --git a/stage4/41-pisdr-iiooscilloscope/00-packages-nr b/stage4/41-pisdr-iiooscilloscope/00-packages-nr new file mode 100644 index 0000000..c45143d --- /dev/null +++ b/stage4/41-pisdr-iiooscilloscope/00-packages-nr @@ -0,0 +1,16 @@ +libglib2.0-dev +libgtk2.0-dev +libgtkdatabox-dev +libmatio-dev +libfftw3-dev +libxml2 +libxml2-dev +bison +flex +libavahi-common-dev +libavahi-client-dev +libcurl4-openssl-dev +libjansson-dev +cmake +libaio-dev +libserialport-dev \ No newline at end of file diff --git a/stage4/41-pisdr-iiooscilloscope/00-run.sh b/stage4/41-pisdr-iiooscilloscope/00-run.sh new file mode 100755 index 0000000..5067473 --- /dev/null +++ b/stage4/41-pisdr-iiooscilloscope/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 "iio-oscilloscope" ]; then + git clone --depth 1 https://github.com/analogdevicesinc/iio-oscilloscope.git +fi + +cd iio-oscilloscope +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/42-pisdr-qtdab/00-packages-nr b/stage4/42-pisdr-qtdab/00-packages-nr new file mode 100644 index 0000000..1ee97de --- /dev/null +++ b/stage4/42-pisdr-qtdab/00-packages-nr @@ -0,0 +1,13 @@ +qt5-qmake +libsndfile1-dev +qt5-default +libfftw3-dev +portaudio19-dev +libusb-1.0-0-dev +mesa-common-dev +libgl1-mesa-dev +libqt5opengl5-dev +libsamplerate0-dev +libqwt-qt5-dev +qtbase5-dev +libfaad-dev \ No newline at end of file diff --git a/stage4/42-pisdr-qtdab/00-run.sh b/stage4/42-pisdr-qtdab/00-run.sh new file mode 100755 index 0000000..b421bcb --- /dev/null +++ b/stage4/42-pisdr-qtdab/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 "qt-dab" ]; then + git clone --single-branch --branch qt-dab-4.11 --depth 1 https://github.com/JvanKatwijk/qt-dab.git +fi + +cd qt-dab/dab-maxi +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/41-pisdr-cleanup/00-run.sh b/stage4/43-pisdr-cleanup/00-run.sh similarity index 100% rename from stage4/41-pisdr-cleanup/00-run.sh rename to stage4/43-pisdr-cleanup/00-run.sh diff --git a/stage4/41-pisdr-cleanup/01-run.sh b/stage4/43-pisdr-cleanup/01-run.sh similarity index 100% rename from stage4/41-pisdr-cleanup/01-run.sh rename to stage4/43-pisdr-cleanup/01-run.sh