diff --git a/metadata/com.limelight.yml b/metadata/com.limelight.yml index aa3f0e1a63..4e6c116432 100644 --- a/metadata/com.limelight.yml +++ b/metadata/com.limelight.yml @@ -141,7 +141,84 @@ Builds: - popd ndk: r19c + - versionName: '8.0' + versionCode: 197 + commit: v8.0 + 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: '7.4' -CurrentVersionCode: 195 +CurrentVersion: '8.0' +CurrentVersionCode: 197