Get packages:
Install libfftw
$ sudo apt-get install libgtk2.0-0 libgtk2.0-0-dev libgtk2.0-0-doc
$ sudo apt-get install libgsl0-dev
$ sudo apt-get install libusb-1.0
Get the source:
$ cd /home/src/ghpsdr
$ svn co http://svn.tapr.org/repos_sdr_hpsdr/trunk/N6LYT/ghpsdr3
Patch the source:
$ cd ghpsdr3/trunk/src
Get ghpsdr3.diff
$ patch -p0 < ghpsdr3.diff
# Paths changed in 14.04, do this to avoid changing multiple source files:
$ sudo ln -s /usr/include/QtMultimediaKit /usr/include/QtMultimedia
Build ghpsdr3:
$ cd QtRadio
$ /usr/lib/x86_64-linux-gnu/qt4/bin/qmake -o Makefile QtRadio.pro
# then patch the generated Makefile:
16a17
> INCPATH += -I/usr/include/QtMobility -I/usr/include/QtMultimediaKit
19c20
< LIBS = $(SUBLIBS) -L/usr/lib/x86_64-linux-gnu -lQtMultimedia -lQtGui -lQtNetwork -lQtCore -lpthread
---
> LIBS = $(SUBLIBS) -L/usr/lib/x86_64-linux-gnu -lQtMultimediaKit -lQtGui -lQtNetwork -lQtCore -lpthread
$ cd ..
$ cd HPSDRProgrammer
$ /usr/lib/x86_64-linux-gnu/qt4/bin/qmake -o Makefile HPSDRProgrammer.pro
$ cd ..
Get makeghpsdr3.sh
./makeghpsdr3.sh