add patches for armv7l and aarch64
This commit is contained in:
		@@ -1,8 +1,10 @@
 | 
				
			|||||||
--- sdrplay/install_lib.sh	2018-06-21 18:47:08.000000000 +0000
 | 
					--- sdrplay/install_lib.sh
 | 
				
			||||||
+++ sdrplay/install_lib_patched.sh	2019-12-15 01:49:49.477386963 +0000
 | 
					+++ sdrplay/install_lib_patched.sh
 | 
				
			||||||
@@ -3,19 +3,7 @@
 | 
					@@ -4,20 +4,7 @@
 | 
				
			||||||
 | 
					 export MAJVERS="3"
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
 echo "Installing SDRplay RSP API library 2.13..."
 | 
					 echo "Installing SDRplay RSP API library ${VERS}..."
 | 
				
			||||||
 | 
					-read -p "Press RETURN to view the license agreement" ret
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
-more sdrplay_license.txt
 | 
					-more sdrplay_license.txt
 | 
				
			||||||
-
 | 
					-
 | 
				
			||||||
@@ -16,25 +18,24 @@
 | 
				
			|||||||
-    esac
 | 
					-    esac
 | 
				
			||||||
-done
 | 
					-done
 | 
				
			||||||
-
 | 
					-
 | 
				
			||||||
-export ARCH=`arch`
 | 
					 export ARCH=`uname -m`
 | 
				
			||||||
+export ARCH=`uname -m`
 | 
					 | 
				
			||||||
 export VERS="2.13"
 | 
					 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
 echo "Architecture: ${ARCH}"
 | 
					 echo "Architecture: ${ARCH}"
 | 
				
			||||||
@@ -63,16 +51,6 @@
 | 
					@@ -46,17 +33,6 @@
 | 
				
			||||||
     echo " "
 | 
					 	echo "ERROR: udev rules directory not found, add udev support and run the"
 | 
				
			||||||
     exit 1
 | 
					 	echo "installer again. udev support can be added by running..."
 | 
				
			||||||
 fi
 | 
					 	echo "sudo apt-get install libudev-dev"
 | 
				
			||||||
 | 
					-	echo " "
 | 
				
			||||||
 | 
					-	exit 1
 | 
				
			||||||
 | 
					-fi
 | 
				
			||||||
-
 | 
					-
 | 
				
			||||||
-if /sbin/ldconfig -p | /bin/fgrep -q libusb-1.0; then
 | 
					-if /sbin/ldconfig -p | /bin/fgrep -q libusb-1.0; then
 | 
				
			||||||
-    echo "Libusb found, continuing..."
 | 
					-	echo "Libusb found, continuing..."
 | 
				
			||||||
-else
 | 
					-else
 | 
				
			||||||
-    echo " "
 | 
					-	echo " "
 | 
				
			||||||
-    echo "ERROR: Libusb cannot be found. Please install libusb and then run"
 | 
					-	echo "ERROR: Libusb cannot be found. Please install libusb and then run"
 | 
				
			||||||
-    echo "the installer again. Libusb can be installed from http://libusb.info"
 | 
					-	echo "the installer again. Libusb can be installed by running..."
 | 
				
			||||||
-    echo " "
 | 
					-    echo "sudo apt-get install libusb-1.0.0-dev"
 | 
				
			||||||
-    exit 1
 | 
					 	echo " "
 | 
				
			||||||
-fi
 | 
					 	exit 1
 | 
				
			||||||
 
 | 
					 fi
 | 
				
			||||||
 sudo ldconfig
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,8 +1,10 @@
 | 
				
			|||||||
--- sdrplay/install_lib.sh
 | 
					--- sdrplay/install_lib.sh
 | 
				
			||||||
+++ sdrplay/install_lib_patched.sh
 | 
					+++ sdrplay/install_lib_patched.sh
 | 
				
			||||||
@@ -3,19 +3,7 @@
 | 
					@@ -4,20 +4,7 @@
 | 
				
			||||||
 | 
					 export MAJVERS="3"
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
 echo "Installing SDRplay RSP API library 2.13..."
 | 
					 echo "Installing SDRplay RSP API library ${VERS}..."
 | 
				
			||||||
 | 
					-read -p "Press RETURN to view the license agreement" ret
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
-more sdrplay_license.txt
 | 
					-more sdrplay_license.txt
 | 
				
			||||||
-
 | 
					-
 | 
				
			||||||
@@ -16,25 +18,24 @@
 | 
				
			|||||||
-    esac
 | 
					-    esac
 | 
				
			||||||
-done
 | 
					-done
 | 
				
			||||||
-
 | 
					-
 | 
				
			||||||
-export ARCH=`arch`
 | 
					 export ARCH=`uname -m`
 | 
				
			||||||
+export ARCH=`uname -m`
 | 
					 | 
				
			||||||
 export VERS="2.13"
 | 
					 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
 echo "Architecture: ${ARCH}"
 | 
					 echo "Architecture: ${ARCH}"
 | 
				
			||||||
@@ -60,16 +48,6 @@
 | 
					@@ -44,17 +31,6 @@
 | 
				
			||||||
     echo "ERROR: udev rules directory not found, add udev support and run the"
 | 
					 	echo "ERROR: udev rules directory not found, add udev support and run the"
 | 
				
			||||||
     echo "installer again. udev support can be added by running..."
 | 
					 	echo "installer again. udev support can be added by running..."
 | 
				
			||||||
     echo "sudo apt-get install libudev-dev"
 | 
					 	echo "sudo apt-get install libudev-dev"
 | 
				
			||||||
-    echo " "
 | 
					-	echo " "
 | 
				
			||||||
-    exit 1
 | 
					-	exit 1
 | 
				
			||||||
-fi
 | 
					-fi
 | 
				
			||||||
-
 | 
					-
 | 
				
			||||||
-if /sbin/ldconfig -p | /bin/fgrep -q libusb-1.0; then
 | 
					-if /sbin/ldconfig -p | /bin/fgrep -q libusb-1.0; then
 | 
				
			||||||
-    echo "Libusb found, continuing..."
 | 
					-	echo "Libusb found, continuing..."
 | 
				
			||||||
-else
 | 
					-else
 | 
				
			||||||
-    echo " "
 | 
					-	echo " "
 | 
				
			||||||
-    echo "ERROR: Libusb cannot be found. Please install libusb and then run"
 | 
					-	echo "ERROR: Libusb cannot be found. Please install libusb and then run"
 | 
				
			||||||
-    echo "the installer again. Libusb can be installed from http://libusb.info"
 | 
					-	echo "the installer again. Libusb can be installed by running..."
 | 
				
			||||||
     echo " "
 | 
					-    echo "sudo apt-get install libusb-1.0.0-dev"
 | 
				
			||||||
     exit 1
 | 
					 	echo " "
 | 
				
			||||||
 | 
					 	exit 1
 | 
				
			||||||
 fi
 | 
					 fi
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user