From 3aa8b3818567d89f48bf50c3cc5922334789b5de Mon Sep 17 00:00:00 2001 From: F-Droid Builder Date: Thu, 31 Oct 2019 21:57:14 +0000 Subject: [PATCH] Update Moonlight to 8.5 (204) --- metadata/com.limelight.yml | 81 +++++++++++++++++++++++++++++++++++++- 1 file changed, 79 insertions(+), 2 deletions(-) diff --git a/metadata/com.limelight.yml b/metadata/com.limelight.yml index 01b68eb635..8cdc84fdb3 100644 --- a/metadata/com.limelight.yml +++ b/metadata/com.limelight.yml @@ -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