mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Build: remove --skip-googlemaps build option
The scripts/build.sh script has an option --skip-googlemaps. Introduced
in 2017 at a moment the Travis Mac build failed on this. Interestingly,
when Mac building of the maps plugin was possible again (commit 79e3f69f48)
the --skip-googlemaps stayed. Obviously, this hack was never intended
to be used for anything else then getting it passed Travis on
some point in time for a specific Mac build.
So, remove this option.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
0903bef9db
commit
4b7b0f2dec
1 changed files with 18 additions and 24 deletions
|
|
@ -59,17 +59,13 @@ while [[ $# -gt 0 ]] ; do
|
||||||
# we are building an AppImage as by product
|
# we are building an AppImage as by product
|
||||||
CREATE_APPDIR="1"
|
CREATE_APPDIR="1"
|
||||||
;;
|
;;
|
||||||
-skip-googlemaps)
|
|
||||||
# hack for Travix Mac build
|
|
||||||
SKIP_GOOGLEMAPS="1"
|
|
||||||
;;
|
|
||||||
-release)
|
-release)
|
||||||
# don't build Debug binaries
|
# don't build Debug binaries
|
||||||
DEBUGRELEASE="Release"
|
DEBUGRELEASE="Release"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown command line argument $arg"
|
echo "Unknown command line argument $arg"
|
||||||
echo "Usage: build.sh [-no-bt] [-build-deps] [-build-with-webkit] [-mobile] [-desktop] [-both] [-create-appdir] [-skip-googlemaps] [-release]"
|
echo "Usage: build.sh [-no-bt] [-build-deps] [-build-with-webkit] [-mobile] [-desktop] [-both] [-create-appdir] [-release]"
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
@ -421,7 +417,6 @@ else
|
||||||
PRINTING="-DNO_PRINTING=ON"
|
PRINTING="-DNO_PRINTING=ON"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$SKIP_GOOGLEMAPS" != "1" ] ; then
|
|
||||||
# build the googlemaps map plugin
|
# build the googlemaps map plugin
|
||||||
|
|
||||||
cd $SRC
|
cd $SRC
|
||||||
|
|
@ -441,7 +436,6 @@ if [ "$SKIP_GOOGLEMAPS" != "1" ] ; then
|
||||||
make -j4
|
make -j4
|
||||||
make install
|
make install
|
||||||
popd
|
popd
|
||||||
fi
|
|
||||||
|
|
||||||
# finally, build Subsurface
|
# finally, build Subsurface
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue