org.dash.electrum.electrum_dash update to 3.3.8.7

This commit is contained in:
zebra-lucky 2020-07-10 14:01:00 +03:00
parent 609819e9be
commit b18935919a

View file

@ -367,7 +367,141 @@ Builds:
release
ndk: r17c
- versionName: 3.3.8.7
versionCode: 303080700
commit: 3.3.8.7
timeout: 10800
sudo:
- apt-get update || apt-get update
- apt-get install -y libbz2-dev libreadline-dev libsqlite3-dev llvm libncurses5-dev
libncursesw5-dev tk-dev build-essential ccache libgtk2.0-0:i386 libpangox-1.0-0:i386
libpangoxft-1.0-0:i386 libidn11:i386 openjdk-8-jdk unzip libffi-dev libltdl-dev
ffmpeg libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libportmidi-dev
libswscale-dev libavformat-dev libavcodec-dev virtualenv libgmp-dev
- cd build/srclib/cpython
- ./configure
- make -j`nproc`
- make altinstall
output: bin/Electrum_DASH-$$VERSION$$-release-unsigned.apk
srclibs:
- buildozer@678b1bf5
- python-for-android@ccb0f8e1
- cpython@v3.6.8
rm:
- electrum_dash/tests/
prebuild:
- pushd $$python-for-android$$
- if [[ -z `git remote | grep sombernight` ]]; then git remote add -f sombernight
https://github.com/SomberNight/python-for-android; fi
- git config --local user.name "Builder"
- git config --local user.email "builder@example.com"
- git commit -a -m 'add remove_signing_keys changes'
- git cherry-pick d7f722e4e5d4b3e6f5b1733c95e6a433f78ee570
- git cherry-pick ed20e196fbcdce718a180f88f23bb2d165c4c5d8
- git cherry-pick e2b9cfe17d17607d876b7664cc0026dcd5e69f2e
- popd
- cp electrum_dash/gui/kivy/tools/buildozer.spec .
- sed -r "s:#?android.sdk_path =.*:android.sdk_path = $$SDK$$:" -i buildozer.spec
- sed -r "s:#?android.ndk_path =.*:android.ndk_path = $$NDK$$:" -i buildozer.spec
- sed -r "s:#?requirements =.*:requirements = six\, setuptools\,:" -i buildozer.spec
- sed -r "s:#?log_level =.*:log_level = 2:" -i buildozer.spec
- sed -r "s:#?p4a.source_dir =.*:p4a.source_dir = $$python-for-android$$:" -i
buildozer.spec
- virtualenv --python=python3.6 ~/env
- source ~/env/bin/activate
- pip install Cython==0.29.9 Pillow==6.0.0
- pip install kivy==1.10.1
- pip install $$buildozer$$
- cp contrib/dash/travis/read_apk_version_code.patch ~/
- pushd ~/env/lib/python3.6/site-packages
- patch -p0 < ~/read_apk_version_code.patch
- popd
- contrib/make_locale
- find electrum_dash -name *.po -delete
- find electrum_dash -name *.pot -delete
- contrib/make_packages
- pushd electrum_dash/gui/kivy
- python -m kivy.atlas theming/light 1024 theming/light/*.png
- popd
- cp electrum-dash main.py
scanignore:
- electrum_dash/checkpoints*.gz
scandelete:
- packages
build:
- source ~/env/bin/activate
- APK_VERSION_CODE=$$VERCODE$$ APP_ANDROID_ARCH=armeabi-v7a buildozer android
release
ndk: r17c
- versionName: 3.3.8.7
versionCode: 303080701
commit: 3.3.8.7
timeout: 10800
sudo:
- apt-get update || apt-get update
- apt-get install -y libbz2-dev libreadline-dev libsqlite3-dev llvm libncurses5-dev
libncursesw5-dev tk-dev build-essential ccache libgtk2.0-0:i386 libpangox-1.0-0:i386
libpangoxft-1.0-0:i386 libidn11:i386 openjdk-8-jdk unzip libffi-dev libltdl-dev
ffmpeg libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libportmidi-dev
libswscale-dev libavformat-dev libavcodec-dev virtualenv libgmp-dev
- cd build/srclib/cpython
- ./configure
- make -j`nproc`
- make altinstall
output: bin/Electrum_DASH-$$VERSION$$-release-unsigned.apk
srclibs:
- buildozer@678b1bf5
- python-for-android@ccb0f8e1
- cpython@v3.6.8
rm:
- electrum_dash/tests/
prebuild:
- pushd $$python-for-android$$
- if [[ -z `git remote | grep sombernight` ]]; then git remote add -f sombernight
https://github.com/SomberNight/python-for-android; fi
- git config --local user.name "Builder"
- git config --local user.email "builder@example.com"
- git commit -a -m 'add remove_signing_keys changes'
- git cherry-pick d7f722e4e5d4b3e6f5b1733c95e6a433f78ee570
- git cherry-pick ed20e196fbcdce718a180f88f23bb2d165c4c5d8
- git cherry-pick e2b9cfe17d17607d876b7664cc0026dcd5e69f2e
- popd
- cp electrum_dash/gui/kivy/tools/buildozer.spec .
- sed -r "s:#?android.sdk_path =.*:android.sdk_path = $$SDK$$:" -i buildozer.spec
- sed -r "s:#?android.ndk_path =.*:android.ndk_path = $$NDK$$:" -i buildozer.spec
- sed -r "s:#?requirements =.*:requirements = six\, setuptools\,:" -i buildozer.spec
- sed -r "s:#?log_level =.*:log_level = 2:" -i buildozer.spec
- sed -r "s:#?p4a.source_dir =.*:p4a.source_dir = $$python-for-android$$:" -i
buildozer.spec
- virtualenv --python=python3.6 ~/env
- source ~/env/bin/activate
- pip install Cython==0.29.9 Pillow==6.0.0
- pip install kivy==1.10.1
- pip install $$buildozer$$
- cp contrib/dash/travis/read_apk_version_code.patch ~/
- pushd ~/env/lib/python3.6/site-packages
- patch -p0 < ~/read_apk_version_code.patch
- popd
- contrib/make_locale
- find electrum_dash -name *.po -delete
- find electrum_dash -name *.pot -delete
- contrib/make_packages
- pushd electrum_dash/gui/kivy
- python -m kivy.atlas theming/light 1024 theming/light/*.png
- popd
- cp electrum-dash main.py
scanignore:
- electrum_dash/checkpoints*.gz
scandelete:
- packages
build:
- source ~/env/bin/activate
- APK_VERSION_CODE=$$VERCODE$$ APP_ANDROID_ARCH=arm64-v8a buildozer android
release
ndk: r17c
AutoUpdateMode: None
UpdateCheckMode: Static
CurrentVersion: 3.3.8.5
CurrentVersionCode: 303080501
CurrentVersion: 3.3.8.7
CurrentVersionCode: 303080701