diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-08-02 22:59:02 +0300 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-08-02 23:38:52 +0300 |
commit | ca37301cb57677fafaa856ae2fba91276fba9753 (patch) | |
tree | 1d10720d816fdb6c72182c273a3f6ef4c40ce4e2 /scripts | |
parent | 5cb1d28861437172887952db447f324aa56ce8a4 (diff) | |
download | subsurface-ca37301cb57677fafaa856ae2fba91276fba9753.tar.gz |
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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 945673bf8..a5c1f0fff 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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 |