Update Moonlight to 8.5 (204)

This commit is contained in:
F-Droid Builder 2019-10-31 21:57:14 +00:00 committed by Ciaran Gultnieks
parent 15c2858c6d
commit 3aa8b38185

View file

@ -478,7 +478,84 @@ Builds:
- popd
ndk: r20
- versionName: '8.5'
versionCode: 204
commit: v8.5
subdir: app
submodules: true
gradle:
- nonRoot
srclibs:
- OpenSSL@OpenSSL_1_1_1c
- opus@v1.3
rm:
- app/src/main/jni/moonlight-core/openssl/include
- app/src/main/jni/moonlight-core/libopus/include
prebuild: sed -i 's/applicationIdSuffix/\/\/applicationIdSuffix/g' build.gradle
scandelete:
- app/src/main/jni/moonlight-core/openssl
- app/src/main/jni/moonlight-core/libopus
build:
- lib="$PWD/src/main/jni/moonlight-core"
- PATH=$ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH
- pushd $$opus$$
- ./autogen.sh
- CC=armv7a-linux-androideabi16-clang ./configure --host=arm-linux-androideabi
--with-pic --disable-extra-programs --disable-doc
- make -j16
- cp .libs/libopus.a ${lib}/libopus/armeabi-v7a/
- make distclean
- CC=aarch64-linux-android21-clang ./configure --host=aarch64-linux-android
--with-pic --disable-extra-programs --disable-doc
- make -j16
- cp .libs/libopus.a ${lib}/libopus/arm64-v8a/
- make distclean
- CC=i686-linux-android16-clang ./configure --host=i686-linux-android --with-pic
--disable-extra-programs --disable-doc
- make -j16
- cp .libs/libopus.a ${lib}/libopus/x86/
- make distclean
- CC=x86_64-linux-android21-clang ./configure --host=x86_64-linux-android --with-pic
--disable-extra-programs --disable-doc
- make -j16
- cp .libs/libopus.a ${lib}/libopus/x86_64/
- cp -R include/ ${lib}/libopus/
- make distclean
- popd
- pushd $$OpenSSL$$
- CC=armv7a-linux-androideabi16-clang ./Configure android-arm no-shared no-ssl3
no-engine no-dso no-asm no-hw no-comp no-stdio -fPIC -DOPENSSL_PIC -D__ANDROID_API__=16
-ffast-math -O3 -funroll-loops
- make -j16
- cp libcrypto.a ${lib}/openssl/armeabi-v7a/
- cp libssl.a ${lib}/openssl/armeabi-v7a/
- make distclean
- CC=aarch64-linux-android21-clang ./Configure android-arm64 no-shared no-ssl3
no-engine no-dso no-asm no-hw no-comp no-stdio -fPIC -DOPENSSL_PIC -D__ANDROID_API__=21
-ffast-math -O3 -funroll-loops
- make -j16
- cp libcrypto.a ${lib}/openssl/arm64-v8a/
- cp libssl.a ${lib}/openssl/arm64-v8a/
- make distclean
- CC=i686-linux-android16-clang ./Configure android-x86 no-shared no-ssl3 no-engine
no-dso no-asm no-hw no-comp no-stdio -fPIC -DOPENSSL_PIC -D__ANDROID_API__=16
-ffast-math -O3 -funroll-loops
- make -j16
- cp libcrypto.a ${lib}/openssl/x86/
- cp libssl.a ${lib}/openssl/x86/
- make distclean
- CC=x86_64-linux-android21-clang ./Configure android-x86_64 no-shared no-ssl3
no-engine no-dso no-asm no-hw no-comp no-stdio -fPIC -DOPENSSL_PIC -D__ANDROID_API__=21
-ffast-math -O3 -funroll-loops
- make -j`nproc`
- cp libcrypto.a ${lib}/openssl/x86_64/
- cp libssl.a ${lib}/openssl/x86_64/
- cp -R include/ ${lib}/openssl/
- make distclean
- popd
ndk: r20
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags v\d+\.\d+(\.\d+)?
CurrentVersion: 8.4.1
CurrentVersionCode: 203
CurrentVersion: '8.5'
CurrentVersionCode: 204