Skip to content

Commit 8339f65

Browse files
add missing files
1 parent 416b069 commit 8339f65

2 files changed

Lines changed: 82 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM ubuntu:resolute
2+
ENV DEBIAN_FRONTEND=noninteractive
3+
COPY do_build.sh /root
4+
RUN chmod +x /root/do_build.sh
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
#!/bin/bash
2+
set -e
3+
cd /root
4+
5+
# Install dependencies and tools
6+
apt update
7+
apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk-dev libzstd-dev libairspyhf-dev libairspy-dev \
8+
libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \
9+
libcodec2-dev autoconf libtool xxd libspdlog-dev
10+
11+
# Install SDRPlay libraries
12+
SDRPLAY_ARCH=$(dpkg --print-architecture)
13+
wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.15.2.run
14+
7z x ./SDRplay_RSP_API-Linux-3.15.2.run
15+
7z x ./SDRplay_RSP_API-Linux-3.15.2
16+
cp $SDRPLAY_ARCH/libsdrplay_api.so.3.15 /usr/lib/libsdrplay_api.so
17+
cp inc/* /usr/include/
18+
19+
# Install libperseus
20+
git clone https://github.com/Microtelecom/libperseus-sdr
21+
cd libperseus-sdr
22+
autoreconf -i
23+
./configure
24+
make
25+
make install
26+
ldconfig
27+
cd ..
28+
29+
# Install librfnm
30+
git clone https://github.com/AlexandreRouma/librfnm
31+
cd librfnm
32+
mkdir build
33+
cd build
34+
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
35+
make -j2
36+
make install
37+
cd ../../
38+
39+
# Install libfobos
40+
git clone https://github.com/AlexandreRouma/libfobos
41+
cd libfobos
42+
mkdir build
43+
cd build
44+
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
45+
make -j2
46+
make install
47+
cd ../../
48+
49+
# Install libhydrasdr
50+
git clone https://github.com/hydrasdr/rfone_host
51+
cd rfone_host
52+
mkdir build
53+
cd build
54+
cmake ..
55+
make -j2
56+
make install
57+
cd ../../
58+
59+
# Install libdlcr
60+
wget https://dragnlabs.com/host-tools/dlcr_host_v0.3.0.zip
61+
mkdir dlcr_host
62+
cd dlcr_host
63+
7z x ../dlcr_host_v0.3.0.zip
64+
mkdir build
65+
cd build
66+
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
67+
make -j2
68+
make install
69+
cd ../../
70+
71+
cd SDRPlusPlus
72+
mkdir build
73+
cd build
74+
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 -DOPT_BUILD_RFNM_SOURCE=ON -DOPT_BUILD_FOBOSSDR_SOURCE=ON -DOPT_BUILD_HYDRASDR_SOURCE=ON -DOPT_BUILD_DRAGONLABS_SOURCE=ON
75+
make VERBOSE=1 -j2
76+
77+
cd ..
78+
sh make_debian_package.sh ./build 'libfftw3-dev, libglfw3-dev, libvolk-dev, librtaudio-dev, libzstd-dev'

0 commit comments

Comments
 (0)