kopia lustrzana https://github.com/km4ack/pi-build
fix piqtsound and piqtterm for 64 bit OS
rodzic
45f3637874
commit
bf9eeff839
|
@ -212,8 +212,15 @@ TELNET() {
|
|||
##################################
|
||||
PITERM() {
|
||||
cd ${DIR} || return
|
||||
#determine if 32 or 64 bit and install correct dependencies. Thanks Ben,KU0HN! Reference: https://groups.io/g/bpq32/message/34486
|
||||
if [ `getconf LONG_BIT = '32' ]; then
|
||||
sudo apt install libqt5serialport5
|
||||
wget https://www.cantab.net/users/john.wiseman/Downloads/Beta/piQtTermTCP
|
||||
else
|
||||
sudo dpkg --add-architecture armhf
|
||||
sudo apt update
|
||||
sudo apt install -y libqt5widgets5:armhf libqt5serialport5:armhf libasound2:armhf libasound2-plugins:armhf
|
||||
fi
|
||||
wget --tries 2 --connect-timeout=60 https://www.cantab.net/users/john.wiseman/Downloads/Beta/piQtTermTCP
|
||||
sudo chmod +x piQtTermTCP
|
||||
sudo mv piQtTermTCP /usr/local/bin/
|
||||
|
||||
|
@ -512,7 +519,14 @@ sudo mv /run/user/$UID/packetsearch.desktop /usr/share/applications/
|
|||
#Documentation - https://www.cantab.net/users/john.wiseman/Documents/QtSoundModem.html
|
||||
|
||||
QTSOUND(){
|
||||
sudo apt install -y libqt5serialport5
|
||||
#determine if 32 or 64 bit and install correct dependencies. Thanks Ben,KU0HN! Reference: https://groups.io/g/bpq32/message/34486
|
||||
if [ `getconf LONG_BIT = '32' ]; then
|
||||
sudo apt install libqt5serialport5
|
||||
else
|
||||
sudo dpkg --add-architecture armhf
|
||||
sudo apt update
|
||||
sudo apt install -y libqt5widgets5:armhf libqt5serialport5:armhf libasound2:armhf libasound2-plugins:armhf
|
||||
fi
|
||||
cd ${HOME}/Downloads || return
|
||||
wget --tries 2 --connect-timeout=60 https://www.cantab.net/users/john.wiseman/Downloads/Beta/piQtSoundModem
|
||||
chmod +x piQtSoundModem
|
||||
|
|
Ładowanie…
Reference in New Issue