summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-02 22:42:20 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-02 23:07:47 -0700
commite808c92bb6791ba194577c5dbdf1c806e02d1639 (patch)
treed1212b859369e1314120b432633f44b971e9f0f7
parentf57f10eb8c9ecc5bb3e297477c38cca1bc3f60f2 (diff)
downloadsubsurface-e808c92bb6791ba194577c5dbdf1c806e02d1639.tar.gz
MXE build: build the googlemaps plugin
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rwxr-xr-xpackaging/windows/mxe-based-build.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/packaging/windows/mxe-based-build.sh b/packaging/windows/mxe-based-build.sh
index 08b742c25..6a2bf87f8 100755
--- a/packaging/windows/mxe-based-build.sh
+++ b/packaging/windows/mxe-based-build.sh
@@ -244,6 +244,19 @@ else
echo ""
fi
+cd "$BUILDDIR"
+if [[ ! -d googlemaps || -f build.googlemaps ]] ; then
+ rm -f build.googlemaps
+ cd "$BASEDIR"/googlemaps
+ git pull
+ cd "$BUILDDIR"
+ mkdir -p googlemaps
+ cd googlemaps
+ "$BASEDIR"/"$MXEDIR"/usr/i686-w64-mingw32.shared/qt5/bin/qmake PREFIX=$"$BASEDIR"/"$MXEDIR"/usr/i686-w64-mingw32.shared "$BASEDIR"/googlemaps/googlemaps.pro
+ make $JOBS
+ make install
+fi
+
###############
# finally, Subsurface