update sdrplay patches; fix sdrplay service

This commit is contained in:
Jakob Ketterl
2020-05-24 17:28:48 +02:00
parent 6c307d885f
commit a982c86794
6 changed files with 53 additions and 57 deletions

View File

@ -1,11 +1,12 @@
--- sdrplay/install_lib.sh
+++ sdrplay/install_lib_patched.sh
@@ -4,20 +4,7 @@
diff -ur sdrplay-orig/install_lib.sh sdrplay/install_lib.sh
--- sdrplay-orig/install_lib.sh 2020-05-24 14:30:06.022483867 +0000
+++ sdrplay/install_lib.sh 2020-05-24 14:30:49.093435726 +0000
@@ -4,19 +4,6 @@
export MAJVERS="3"
echo "Installing SDRplay RSP API library ${VERS}..."
-read -p "Press RETURN to view the license agreement" ret
-
-more sdrplay_license.txt
-
-while true; do
@ -17,25 +18,6 @@
- * ) echo "Please answer y or n";;
- esac
-done
-
export ARCH=`uname -m`
echo "Architecture: ${ARCH}"
@@ -46,17 +33,6 @@
echo "ERROR: udev rules directory not found, add udev support and run the"
echo "installer again. udev support can be added by running..."
echo "sudo apt-get install libudev-dev"
- echo " "
- exit 1
-fi
-
-if /sbin/ldconfig -p | /bin/fgrep -q libusb-1.0; then
- echo "Libusb found, continuing..."
-else
- echo " "
- echo "ERROR: Libusb cannot be found. Please install libusb and then run"
- echo "the installer again. Libusb can be installed by running..."
- echo "sudo apt-get install libusb-1.0.0-dev"
echo " "
exit 1
fi