diff --git a/metadata/org.videolan.vlc.yml b/metadata/org.videolan.vlc.yml index 92cd580d9b..4eebe235e5 100644 --- a/metadata/org.videolan.vlc.yml +++ b/metadata/org.videolan.vlc.yml @@ -2649,6 +2649,105 @@ Builds: - ./compile.sh -a arm64-v8a -ml --release ndk: r18b + - versionName: 3.1.1 + versionCode: 13010104 + commit: 3.1.1 + timeout: 10800 + subdir: vlc-android + sudo: + - apt update || apt update + - apt install -y g++ ragel libltdl-dev + gradle: + - yes + output: build/outputs/apk/release/VLC-Android-$$VERSION$$-armeabi-v7a.apk + srclibs: + - VLC-3.0@828e0ce + - VLCmedialibrary@c4e3673 + rm: + - java-libs/appcompat/libs + - java-libs/cardview/libs + prebuild: + - cp -a $$VLC-3.0$$ ../vlc + - cp -a $$VLCmedialibrary$$ ../medialibrary/medialibrary + - sed -i -e '/maven {/,/}/d' ../build.gradle + - sed -i -e '/signingConfig/d' build.gradle + - sed -i -E -e '/(debug|release|signedRelease)Implementation/d; s/devImplementation/implementation/' + build.gradle ../medialibrary/build.gradle + build: + - cd .. + - mkdir -p gradle/wrapper + - echo 'gradle "$@"' > gradlew + - chmod a+x gradlew + - sed -i -e 's/git am /git apply /' compile.sh + - ./compile.sh -a armeabi-v7a -ml --release + ndk: r18b + + - versionName: 3.1.1 + versionCode: 13010105 + commit: 3.1.1 + timeout: 10800 + subdir: vlc-android + sudo: + - apt update || apt update + - apt install -y g++ ragel libltdl-dev + gradle: + - yes + output: build/outputs/apk/release/VLC-Android-$$VERSION$$-x86.apk + srclibs: + - VLC-3.0@828e0ce + - VLCmedialibrary@c4e3673 + rm: + - java-libs/appcompat/libs + - java-libs/cardview/libs + prebuild: + - cp -a $$VLC-3.0$$ ../vlc + - cp -a $$VLCmedialibrary$$ ../medialibrary/medialibrary + - sed -i -e '/maven {/,/}/d' ../build.gradle + - sed -i -e '/signingConfig/d' build.gradle + - sed -i -E -e '/(debug|release|signedRelease)Implementation/d; s/devImplementation/implementation/' + build.gradle ../medialibrary/build.gradle + build: + - cd .. + - mkdir -p gradle/wrapper + - echo 'gradle "$@"' > gradlew + - chmod a+x gradlew + - sed -i -e 's/git am /git apply /' compile.sh + - ./compile.sh -a x86 -ml --release + ndk: r18b + + - versionName: 3.1.1 + versionCode: 13010107 + commit: 3.1.1 + timeout: 10800 + subdir: vlc-android + sudo: + - apt update || apt update + - apt install -y g++ ragel libltdl-dev + gradle: + - yes + output: build/outputs/apk/release/VLC-Android-$$VERSION$$-arm64-v8a.apk + srclibs: + - VLC-3.0@828e0ce + - VLCmedialibrary@c4e3673 + rm: + - java-libs/appcompat/libs + - java-libs/cardview/libs + prebuild: + - cp -a $$VLC-3.0$$ ../vlc + - cp -a $$VLCmedialibrary$$ ../medialibrary/medialibrary + - sed -i -e '/maven {/,/}/d' ../build.gradle + - sed -i -e '/signingConfig/d' build.gradle + - sed -i -E -e '/(debug|release|signedRelease)Implementation/d; s/devImplementation/implementation/' + build.gradle ../medialibrary/build.gradle + build: + - cd .. + - mkdir -p gradle/wrapper + - echo 'gradle "$@"' > gradlew + - chmod a+x gradlew + - sed -i -e 's/git am /git apply /' compile.sh + - ./compile.sh -a arm64-v8a -ml --release + ndk: r18b + MaintainerNotes: |- Instructions and dependencies: https://wiki.videolan.org/AndroidCompile @@ -2656,7 +2755,7 @@ MaintainerNotes: |- but sometimes it's different in official builds. The VLCmedialibrary srclib commit can be found out from MEDIALIBRARY_HASH in - compile-libvlc.sh. + compile-medialibrary.sh. For recommended versions of the build tools, see: