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