Update Moonlight to 8.1 (198)

This commit is contained in:
F-Droid Builder 2019-08-09 13:48:11 +01:00 committed by Ciaran Gultnieks
parent 62bdb29642
commit 4d5973814e

View file

@ -217,7 +217,84 @@ Builds:
- popd
ndk: r19c
- versionName: '8.1'
versionCode: 198
commit: v8.1
subdir: app
submodules: true
gradle:
- nonRoot
srclibs:
- OpenSSL@OpenSSL_1_1_1c
- opus@v1.3
rm:
- moonlight-common/src/main/jni/moonlight-core/openssl/include
- moonlight-common/src/main/jni/moonlight-core/libopus/include
prebuild: sed -i 's/applicationIdSuffix/\/\/applicationIdSuffix/g' build.gradle
scandelete:
- moonlight-common/src/main/jni/moonlight-core/openssl
- moonlight-common/src/main/jni/moonlight-core/libopus
build:
- lib="$PWD/../moonlight-common/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: r19c
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags v\d+\.\d+(\.\d+)?
CurrentVersion: '8.0'
CurrentVersionCode: 197
CurrentVersion: '8.1'
CurrentVersionCode: 198