URI: 
       tbundle libsecp256k1 in android apk - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 86992aea6cece1998db2abad4abae61b8f12a2b8
   DIR parent 483a2a40cdbafd11608cef087d4757825be100e4
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Mon, 28 May 2018 00:43:05 +0200
       
       bundle libsecp256k1 in android apk
       
       tthis works as there is already a p4a recipe upstream: https://github.com/kivy/python-for-android/blob/74bf788a293847c5d6966b2307ee68854d68015f/pythonforandroid/recipes/libsecp256k1/__init__.py
       
       Diffstat:
         M gui/kivy/tools/buildozer.spec       |       2 +-
         M lib/ecc_fast.py                     |       2 ++
       
       2 files changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/gui/kivy/tools/buildozer.spec b/gui/kivy/tools/buildozer.spec
       t@@ -31,7 +31,7 @@ version.filename = %(source.dir)s/contrib/versions.py
        #version = 1.9.8
        
        # (list) Application requirements
       -requirements = python3crystax==3.6, android, openssl, plyer, kivy==master
       +requirements = python3crystax==3.6, android, openssl, plyer, kivy==master, libsecp256k1
        
        # (str) Presplash of the application
        #presplash.filename = %(source.dir)s/gui/kivy/theming/splash.png
   DIR diff --git a/lib/ecc_fast.py b/lib/ecc_fast.py
       t@@ -37,6 +37,8 @@ def load_library():
                library_path = 'libsecp256k1.dylib'
            elif sys.platform in ('windows', 'win32'):
                library_path = 'libsecp256k1.dll'
       +    elif 'ANDROID_DATA' in os.environ:
       +        library_path = 'libsecp256k1.so'
            else:
                library_path = 'libsecp256k1.so.0'