mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-17 19:29:13 +00:00
Update dpc to 1.4.0 (5)
This commit is contained in:
parent
03ee72b27f
commit
0c31ff431d
1 changed files with 59 additions and 2 deletions
|
|
@ -239,8 +239,65 @@ Builds:
|
|||
android-arm64
|
||||
ndk: r26
|
||||
|
||||
- versionName: 1.4.0
|
||||
versionCode: 5
|
||||
commit: f1da119ba3a535f27153280fff8d2b280900e903
|
||||
sudo:
|
||||
- apt-get update
|
||||
- apt-get install -y -t bullseye-backports make cmake
|
||||
init:
|
||||
- git submodule update --init lib/libgit2
|
||||
- git submodule update --init .flutter
|
||||
- cd lib/libgit2 && git submodule update --init openssl
|
||||
output: build/app/outputs/flutter-apk/app-release.apk
|
||||
rm:
|
||||
- linux
|
||||
- macos
|
||||
- web
|
||||
- windows
|
||||
- lib/libgit2/tests/resources
|
||||
- lib/libgit2/fuzzers/corpora
|
||||
- .flutter/dev/integration_tests
|
||||
prebuild:
|
||||
- export PUB_CACHE=$(pwd)/.pub-cache
|
||||
- .flutter/bin/flutter config --no-analytics
|
||||
- .flutter/bin/flutter pub get
|
||||
scanignore:
|
||||
- .flutter/bin/cache
|
||||
scandelete:
|
||||
- lib/libgit2/openssl/test
|
||||
- .flutter/packages/flutter_tools/gradle
|
||||
- .pub-cache
|
||||
build:
|
||||
- pushd lib/libgit2/openssl
|
||||
- export PATH="$$NDK$$/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH"
|
||||
- ./Configure android-arm64 -D__ANDROID_API__=30
|
||||
- make -s CFLAGS="-Wno-macro-redefined"
|
||||
- mkdir -p out.jni/arm64-v8a
|
||||
- cp *.so out.jni/arm64-v8a/
|
||||
- popd
|
||||
- mkdir lib/libgit2/build
|
||||
- pushd lib/libgit2/build
|
||||
- find .. -name 'CMakeLists.txt' -exec sed -i 's|C_STANDARD 90|C_STANDARD 99|'
|
||||
{} \;
|
||||
- cmake -DCMAKE_TOOLCHAIN_FILE="$$NDK$$/build/cmake/android.toolchain.cmake"
|
||||
-DANDROID_NATIVE_API_LEVEL=30 -DANDROID_ABI=arm64-v8a -DANDROID_NDK="$$NDK$$"
|
||||
-DOPENSSL_INCLUDE_DIR="$(realpath ../openssl/include)" -DOPENSSL_SSL_LIBRARY="$(realpath
|
||||
../openssl/libssl.so)" -DOPENSSL_CRYPTO_LIBRARY="$(realpath ../openssl/libcrypto.so)"
|
||||
-DBUILD_TESTS=OFF -DBUILD_CLI=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-Wno-int-conversion
|
||||
-Wno-implicit-function-declaration" ..
|
||||
- cmake --build .
|
||||
- mkdir arm64-v8a
|
||||
- mv ./libgit2.so arm64-v8a/
|
||||
- popd
|
||||
- echo "const githubClientSecret = \"b8518c465357eb2c1c3d95d038ae3f719993c324\";"
|
||||
> lib/secrets.dart
|
||||
- PUB_CACHE="$(pwd)/.pub-cache" .flutter/bin/flutter build apk --target-platform
|
||||
android-arm64
|
||||
ndk: r26
|
||||
|
||||
AutoUpdateMode: Version
|
||||
UpdateCheckMode: Tags
|
||||
UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
|
||||
CurrentVersion: 1.3.0
|
||||
CurrentVersionCode: 4
|
||||
CurrentVersion: 1.4.0
|
||||
CurrentVersionCode: 5
|
||||
|
|
|
|||
Loading…
Reference in a new issue