From bba3bd4fcaec2f61d4d86a31bb3fbaf10b6f85ac Mon Sep 17 00:00:00 2001
From: FlUxIuS <fluxius@gmail.com>
Date: Sun, 26 May 2024 19:48:01 +0200
Subject: [PATCH] rtl-433 building from source for fresh update

---
 scripts/sdr_softwares.sh | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/scripts/sdr_softwares.sh b/scripts/sdr_softwares.sh
index 05b1492..24a0b18 100644
--- a/scripts/sdr_softwares.sh
+++ b/scripts/sdr_softwares.sh
@@ -125,7 +125,15 @@ function inspection_decoding_tools () {
 	installfromnet "pip3 install cython"
 	installfromnet "pip3 install urh"
 	goodecho "[+] Installing rtl_433 tools"
-	installfromnet "apt-fast install -y rtl-433"
+	[ -d /root/thirdparty ] || mkdir /root/thirdparty
+	cd /root/thirdparty
+	installfromnet "git clone https://github.com/merbanan/rtl_433.git"
+	cd rtl_433/ \
+	&& mkdir build \
+	&& cd build \
+	&& cmake ../ \
+	&& make -j$(nproc) && sudo make install
+	cd /root
 }
 
 function qsstv_soft_install () {