From cf8ff233013838cda4ff2594918e53d4d548fb70 Mon Sep 17 00:00:00 2001 From: luigifcruz Date: Sun, 12 Dec 2021 16:34:15 -0300 Subject: [PATCH] fix rtlsdr-airband build --- stage4/09-pisdr-rtlsdr/00-packages-nr | 1 + stage4/27-pisdr-airband/00-packages-nr | 2 ++ stage4/27-pisdr-airband/00-run.sh | 7 ++++++- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 stage4/09-pisdr-rtlsdr/00-packages-nr diff --git a/stage4/09-pisdr-rtlsdr/00-packages-nr b/stage4/09-pisdr-rtlsdr/00-packages-nr new file mode 100644 index 0000000..10c35a2 --- /dev/null +++ b/stage4/09-pisdr-rtlsdr/00-packages-nr @@ -0,0 +1 @@ +libusb-1.0-0-dev \ No newline at end of file diff --git a/stage4/27-pisdr-airband/00-packages-nr b/stage4/27-pisdr-airband/00-packages-nr index 3faf9d6..9d51520 100644 --- a/stage4/27-pisdr-airband/00-packages-nr +++ b/stage4/27-pisdr-airband/00-packages-nr @@ -2,3 +2,5 @@ libmp3lame-dev libshout3-dev libconfig++-dev libraspberrypi-dev +libpulse-dev +libfftw3-dev \ No newline at end of file diff --git a/stage4/27-pisdr-airband/00-run.sh b/stage4/27-pisdr-airband/00-run.sh index 6232adb..dab5fae 100755 --- a/stage4/27-pisdr-airband/00-run.sh +++ b/stage4/27-pisdr-airband/00-run.sh @@ -11,6 +11,11 @@ fi cd RTLSDR-Airband export PLATFORM=armv7-generic export WITH_SOAPYSDR=1 -make install +mkdir -p build +cd build +cmake -GNinja .. +ninja install ldconfig +cd .. +rm -fr build EOF \ No newline at end of file