From baca1be1b380d688619b48ac6b8d70ee180e491b Mon Sep 17 00:00:00 2001 From: lwvmobile <59371473+lwvmobile@users.noreply.github.com> Date: Thu, 10 Feb 2022 19:57:57 -0500 Subject: [PATCH] Simple Quick Installer Simple Quick Installer Should work on any Ubuntu/Debian/Raspberry Pi OS/ based system. --- install.sh | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..bb75ed0 --- /dev/null +++ b/install.sh @@ -0,0 +1,63 @@ +#/bin/bash +clear +echo DSD-FME Digital Speech Decoder - Florida Man Edition Auto Installer +echo MBELib is considered a requirement on this build. +echo You must view this notice prior to continuing. +echo The Patent Notice can be found at the site below. +echo https://github.com/lwvmobile/mbelib#readme +echo Please confirm that you have viewed the patent notice by entering y below. +echo +echo y/N +read ANSWER +Y='y' +if [[ $Y == $ANSWER ]]; then + +sudo apt update +sudo apt install libpulse-dev pavucontrol libsndfile1-dev libfftw3-dev liblapack-dev socat libusb-1.0-0-dev libncurses5 libncurses5-dev rtl-sdr librtlsdr-dev libusb-1.0-0-dev cmake git wget make build-essential + + +wget -O itpp-latest.tar.bz2 http://sourceforge.net/projects/itpp/files/latest/download?source=files +tar xjf itpp* +#if you can't cd into this folder, double check folder name first +cd itpp-4.3.1 +mkdir build +cd build +cmake .. +make -j `nproc` +sudo make install +sudo ldconfig +cd .. +cd .. + +git clone https://github.com/lwvmobile/mbelib +cd mbelib +mkdir build +cd build +cmake .. +make -j `nproc` +sudo make install +sudo ldconfig +cd .. +cd .. + +git clone https://github.com/lwvmobile/dsd-fme +cd dsd-fme +git branch -a +git checkout remotes/origin/pulseaudio +git checkout -b pulseaudio +git branch -a #double check to see if you are on pulseaudio branch +mkdir build +cd build +cmake .. +make -j `nproc` +##only run make install if you don't have another version already installed## +sudo make install +sudo ldconfig + +else +echo +echo Sorry, you cannot build DSD-FME without acknowledging the Patent Notice. +fi + + +