From 733dc5572325acf16d51bfd49d3c0e98a3da2133 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Fri, 24 May 2024 01:38:24 +0200 Subject: [PATCH] added missing files --- docker_builds/ubuntu_noble/Dockerfile | 4 +++ docker_builds/ubuntu_noble/do_build.sh | 35 ++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 docker_builds/ubuntu_noble/Dockerfile create mode 100644 docker_builds/ubuntu_noble/do_build.sh diff --git a/docker_builds/ubuntu_noble/Dockerfile b/docker_builds/ubuntu_noble/Dockerfile new file mode 100644 index 00000000..19b609a0 --- /dev/null +++ b/docker_builds/ubuntu_noble/Dockerfile @@ -0,0 +1,4 @@ +FROM ubuntu:noble +ENV DEBIAN_FRONTEND=noninteractive +COPY do_build.sh /root +RUN chmod +x /root/do_build.sh \ No newline at end of file diff --git a/docker_builds/ubuntu_noble/do_build.sh b/docker_builds/ubuntu_noble/do_build.sh new file mode 100644 index 00000000..2c93bfa2 --- /dev/null +++ b/docker_builds/ubuntu_noble/do_build.sh @@ -0,0 +1,35 @@ +#!/bin/bash +set -e +cd /root + +# Install dependencies and tools +apt update +apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk-dev libzstd-dev libairspyhf-dev libairspy-dev \ + libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ + libcodec2-dev autoconf libtool xxd + +# Install SDRPlay libraries +wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.14.0.run +7z x ./SDRplay_RSP_API-Linux-3.14.0.run +7z x ./SDRplay_RSP_API-Linux-3.14.0 +cp x86_64/libsdrplay_api.so.3.14 /usr/lib/libsdrplay_api.so +cp inc/* /usr/include/ + +# Install libperseus +git clone https://github.com/Microtelecom/libperseus-sdr +cd libperseus-sdr +autoreconf -i +./configure +make +make install +ldconfig +cd .. + +cd SDRPlusPlus +mkdir build +cd build +cmake .. -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON -DOPT_BUILD_PERSEUS_SOURCE=ON +make VERBOSE=1 -j2 + +cd .. +sh make_debian_package.sh ./build 'libfftw3-dev, libglfw3-dev, libvolk-dev, librtaudio-dev, libzstd-dev' \ No newline at end of file