build.sh: build the google maps geoservices plugin

The source code is pulled from the forked repository at:
git@github.com:Subsurface-divelog/googlemaps.git

It's rebased if needed, build using 'make -j4' and then
installed.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2017-08-02 22:59:02 +03:00
parent 5cb1d28861
commit ca37301cb5

View file

@ -429,7 +429,22 @@ else
fi
# build the googlemaps map plugin
cd $SRC
if [ ! -d googlemaps ] ; then
if [[ $1 = local ]] ; then
git clone $SRC/../googlemaps googlemaps
else
git clone git@github.com:Subsurface-divelog/googlemaps.git
fi
fi
cd googlemaps
git checkout master
git pull --rebase
qmake
make -j4
make install
# finally, build Subsurface