build-system: switch back to upstream qt-android-cmake

And in the process use our script to do the work.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-10-27 10:01:00 -04:00
parent 01cd2e224f
commit 651f63282f
2 changed files with 5 additions and 8 deletions

View file

@ -354,14 +354,7 @@ if [ ! "$CURRENT_SHA" = "$PREVIOUS_SHA" ] || [ ! -e "$PKG_CONFIG_LIBDIR/libdivec
echo "$CURRENT_SHA" > "libdivecomputer-${ARCH}.SHA"
fi
if [ ! -e qt-android-cmake ] ; then
git clone https://github.com/dirkhh/qt-android-cmake.git
else
pushd qt-android-cmake
git checkout QMLfix
git pull
popd
fi
"${SUBSURFACE_SOURCE}"/scripts/get-dep-lib.sh singleAndroid . qt-android-cmake
# the Qt Android cmake addon runs androiddeployqt with '--verbose' which
# is, err, rather verbose. Let's not do that.
sed -i -e 's/--verbose//' qt-android-cmake/AddQtAndroidApk.cmake