summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-01-02 04:46:51 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-01-02 04:46:51 -0800
commit346f4d4f1208d205bbb816386a57294ded81e4c1 (patch)
tree0c70df68bd1437e94d1676fc9e646880d63800c1 /packaging
parentb2cc840ebf9f670cf06b281805f98cf1dfb20cb2 (diff)
downloadsubsurface-346f4d4f1208d205bbb816386a57294ded81e4c1.tar.gz
Android build: add comments on filesystem layout
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/android/build.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh
index 9c8188ed9..3d8f66f76 100644
--- a/packaging/android/build.sh
+++ b/packaging/android/build.sh
@@ -1,4 +1,24 @@
#!/bin/bash
+#
+# Filesystem layout considerations...
+# for this explanation I assume that your Subsurface sources are in
+# ~/src/subsurface
+#
+# You need to have a version of Qt that contains the Android bits
+# installed. You should be able to find the correct installer for
+# Linux or Mac here:
+# http://download.qt.io/official_releases/qt/5.7/
+# make sure you pick one with 'android' in its name.
+#
+# Install this wherever you want - and then have a link named ~/src/Qt that
+# points to it.
+# So let's assume that you are installing the package above in ~/Qt5.7.1
+# (which I think is the default location), then simply do
+# cd ~/src
+# ln -s ~/Qt5.7.1 Qt
+#
+# you also need to have the current Android SDK and NDK installed under ~/src
+#
set -e
PLATFORM=$(uname)
# (trick to get the absolute path, either if we're called with a