commit fbcad8e5a165964a5c1ecfdc5775d46fcc7e101f
parent 32dee14fd0863c8da148b0c737896fb71365d753
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 25 Aug 2017 16:50:47 +0200
python3: update apk build instuctions
Diffstat:
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/gui/kivy/Readme.txt b/gui/kivy/Readme.txt
@@ -12,3 +12,13 @@ then you need to rebuild the distribution. To do so:
rm -rf .buildozer/android/platform/python-for-android/dist
+
+how to build with ssl:
+
+ rm -rf .buildozer/android/platform/build/
+ ./contrib/make_apk
+ pushd /opt/electrum/.buildozer/android/platform/build/build/libs_collections/Electrum/armeabi-v7a
+ cp libssl1.0.2g.so /opt/crystax-ndk-10.3.2/sources/openssl/1.0.2g/libs/armeabi-v7a/libssl.so
+ cp libcrypto1.0.2g.so /opt/crystax-ndk-10.3.2/sources/openssl/1.0.2g/libs/armeabi-v7a/libcrypto.so
+ popd
+ ./contrib/make_apk
diff --git a/gui/kivy/tools/buildozer.spec b/gui/kivy/tools/buildozer.spec
@@ -31,7 +31,7 @@ version.filename = %(source.dir)s/contrib/versions.py
#version = 1.9.8
# (list) Application requirements
-requirements = python3crystax, android, openssl, pycrypto, pil, plyer, kivy==master
+requirements = python3crystax, android, openssl, plyer, kivy==master
# (str) Presplash of the application
#presplash.filename = %(source.dir)s/gui/kivy/theming/splash.png
@@ -70,7 +70,7 @@ android.permissions = INTERNET, WRITE_EXTERNAL_STORAGE, READ_EXTERNAL_STORAGE
android.private_storage = True
# (str) Android NDK directory (if empty, it will be automatically downloaded.)
-#android.ndk_path =
+android.ndk_path = /opt/crystax-ndk-10.3.2
# (str) Android SDK directory (if empty, it will be automatically downloaded.)
#android.sdk_path =