misc fixes

This commit is contained in:
linsui 2024-09-09 00:00:04 +08:00
parent f49e34b4d3
commit 1aa2313ac8
10 changed files with 20 additions and 204 deletions

View file

@ -5,7 +5,6 @@ License: AGPL-3.0-only
AuthorName: Alex Tran
AuthorEmail: alex.tran1502@gmail.com
AuthorWebSite: https://hautran.net
WebSite: https://github.com/alextran1502/immich
SourceCode: https://github.com/alextran1502/immich
IssueTracker: https://github.com/alextran1502/immich/issues
Changelog: https://github.com/alextran1502/immich/releases
@ -3183,6 +3182,7 @@ Builds:
- versionName: 1.114.0
versionCode: 158
disable: https://github.com/immich-app/immich/issues/12425
commit: 068904f7461118d4e4d6f8733e7e4186b6c38c84
subdir: mobile
submodules: true

View file

@ -1487,6 +1487,7 @@ Builds:
- versionName: 2.5.14
versionCode: 975
disable: https://github.com/chaldea-center/chaldea/issues/117#issuecomment-2336406091
commit: a1f59ae76858a195983b8d275a414268d2c46cf0
output: build/app/outputs/flutter-apk/app-fdroid-release.apk
srclibs:

View file

@ -3822,6 +3822,8 @@ Builds:
- rustup@1.25.1
prebuild: sed -i -e '/versionCode/s/$/1/' -e 's/abiFilters .*/abiFilters "armeabi-v7a"/'
build.gradle
scandelete:
- jni/deltachat-core-rust
build:
- $$rustup$$/rustup-init.sh -y --default-toolchain $(cat scripts/rust-toolchain)
--target armv7-linux-androideabi
@ -3844,6 +3846,8 @@ Builds:
- rustup@1.25.1
prebuild: sed -i -e '/versionCode/s/$/2/' -e 's/abiFilters .*/abiFilters "arm64-v8a"/'
build.gradle
scandelete:
- jni/deltachat-core-rust
build:
- $$rustup$$/rustup-init.sh -y --default-toolchain $(cat scripts/rust-toolchain)
--target aarch64-linux-android
@ -3866,6 +3870,8 @@ Builds:
- rustup@1.25.1
prebuild: sed -i -e '/versionCode/s/$/3/' -e 's/abiFilters .*/abiFilters "x86"/'
build.gradle
scandelete:
- jni/deltachat-core-rust
build:
- $$rustup$$/rustup-init.sh -y --default-toolchain $(cat scripts/rust-toolchain)
--target i686-linux-android
@ -3888,6 +3894,8 @@ Builds:
- rustup@1.25.1
prebuild: sed -i -e '/versionCode/s/$/4/' -e 's/abiFilters .*/abiFilters "x86_64"/'
build.gradle
scandelete:
- jni/deltachat-core-rust
build:
- $$rustup$$/rustup-init.sh -y --default-toolchain $(cat scripts/rust-toolchain)
--target x86_64-linux-android

View file

@ -286,20 +286,9 @@ Builds:
postbuild: $$reproducible-apk-tools$$/inplace-fix.py --page-size 16 fix-newlines
$$OUT$$ 'META-INF/services/*'
- versionName: 1.19.0
versionCode: 30
disable: https://github.com/elastic-rock/KeepScreenOn/issues/26#issuecomment-2275744106
commit: 884e716d6f81eaa586cef6b381f9e253f135d054
subdir: app
gradle:
- yes
srclibs:
- reproducible-apk-tools@v0.2.6
postbuild: $$reproducible-apk-tools$$/inplace-fix.py --page-size 16 fix-newlines
$$OUT$$ 'META-INF/services/*'
- versionName: 1.20.0
versionCode: 31
disable: https://github.com/elastic-rock/KeepScreenOn/issues/26
commit: a8132a18e14171e9eab31ad8b72df0cb23238ca9
subdir: app
gradle:
@ -307,7 +296,7 @@ Builds:
srclibs:
- reproducible-apk-tools@v0.2.6
postbuild: $$reproducible-apk-tools$$/inplace-fix.py --page-size 16 fix-newlines
$$OUT$$ 'META-INF/services/*'
$$OUT$$ 'res/7Y' 'res/Hz'
AllowedAPKSigningKeys: bb9503be1486028133b33eabce9732100e9a331065e32fa2a033a93498bae6d6

View file

@ -113,22 +113,12 @@ Builds:
- yes
prebuild: sed -i -e '/google.services/d' -e '/firebase/d' {..,.}/build.gradle.kts
- versionName: 1.5.0
versionCode: 20
disable: https://github.com/lolo-io/OneList/issues/87
commit: 49e5c89cc004c9f0166e1612dcee58d9ffc3d801
subdir: app
gradle:
- yes
prebuild: sed -i -e '/google.services/d' -e '/firebase/d' {..,.}/build.gradle.kts
- versionName: 1.5.2
versionCode: 21
commit: ee51a991bee395a641dba82b2e8ab1a1636f5b66
subdir: app
gradle:
- yes
prebuild: sed -i -e '/google.services/d' -e '/firebase/d' {..,.}/build.gradle.kts
prebuild: sed -i -e '/google.services/d' -e '/firebase/d' {app,.}/build.gradle.kts
AutoUpdateMode: Version
UpdateCheckMode: Tags ^onelist-

View file

@ -8183,78 +8183,6 @@ Builds:
- reactNativeArchitectures=x86
- fdroidBuild=true
- versionName: 3.0.15
versionCode: 15128
commit: 5ce59c6125553871723c6b2c83215915637bb70d
subdir: apps/mobile/native/android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- apt-get update
- apt-get install -y --no-install-recommends g++ build-essential
- curl -Lo node.tar.gz https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.gz
- echo "bf3a779bef19452da90fb88358ec2c57e0d2f882839b20dc6afc297b6aafc0d7 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
init:
- cd ../../../../..
- npm ci --ignore-scripts --prefer-offline --no-audit
- npm run bootstrap -- --scope=mobile
- npx nx run @notesnook/mobile:build
gradle:
- yes
rm:
- extensions
- apps/desktop
- apps/web
- packages/clipper
prebuild:
- sed -i -e 's|<uses-permission android:name="com.android.vending.BILLING" />||g'
./src/main/AndroidManifest.xml
- cd ../../
- echo GITHUB_RELEASE=true > .env
- sed -i -e 's|false|true|g' react-native.config.js
- sed -i -e '/installReferrerVersion/,+11d' ../node_modules/react-native-device-info/android/build.gradle
scanignore:
- apps/mobile/native/android/build.gradle
- apps/mobile/node_modules/@ammarahmed/react-native-share-extension/android/build.gradle
- apps/mobile/node_modules/@bam.tech/react-native-image-resizer/android/build.gradle
- apps/mobile/node_modules/jsc-android
- apps/mobile/node_modules/react-native/*
- apps/mobile/node_modules/react-native-actions-shortcuts/android/build.gradle
- apps/mobile/node_modules/react-native-blob-util/android/build.gradle
- apps/mobile/node_modules/react-native-bootsplash/android/build.gradle
- apps/mobile/node_modules/@react-native-community/netinfo/android/build.gradle
- apps/mobile/node_modules/react-native-device-info/android/build.gradle
- apps/mobile/node_modules/react-native-document-picker/android/build.gradle
- apps/mobile/node_modules/react-native-get-random-values/android/build.gradle
- apps/mobile/node_modules/react-native-gzip/android/build.gradle
- apps/mobile/node_modules/react-native-keychain/android/build.gradle
- apps/mobile/node_modules/@react-native-masked-view/masked-view/android/build.gradle
- apps/mobile/node_modules/react-native-reanimated/android/build.gradle
- apps/mobile/node_modules/react-native-safe-area-context/android/build.gradle
- apps/mobile/node_modules/react-native-screens/android/build.gradle
- apps/mobile/node_modules/react-native-securerandom/android/build.gradle
- apps/mobile/node_modules/react-native-share/android/build.gradle
- apps/mobile/node_modules/react-native-svg/android/build.gradle
- apps/mobile/node_modules/react-native-vector-icons/android/build.gradle
- apps/mobile/node_modules/react-native-webview/android/build.gradle
- apps/mobile/node_modules/@sayem314/react-native-keep-awake/android/build.gradle
scandelete:
- .nx/cache
- apps/mobile/node_modules
- node_modules/clipboardy/fallbacks
- packages
- servers/themes/node_modules
build:
- rm -rf ../../../node_modules/react-native-mmkv-storage/android/react-native*
- gradle clean
ndk: 23.1.7779620
gradleprops:
- buildUniversalApk=false
- reactNativeArchitectures=arm64-v8a
- fdroidBuild=true
- versionName: 3.0.15
versionCode: 15129
commit: 5ce59c6125553871723c6b2c83215915637bb70d

View file

@ -69,31 +69,11 @@ Builds:
- crowdin-cli.jar
- tooling/testdata-generator/dirt-sources.zip
- versionName: 1.2.4-rc0
versionCode: 10204000
disable: https://github.com/d4rken-org/sdmaid-se/issues/1232#issuecomment-2282699337
commit: d55d7c7dde09f28d9396b85d3cec06f0ca5433da
subdir: app
sudo:
- export CPUS_MAX=1
- export CPUS=$(getconf _NPROCESSORS_ONLN)
- for (( c=$CPUS_MAX; c<$CPUS; c++ )) ; do echo 0 > /sys/devices/system/cpu/cpu$c/online
; done
gradle:
- foss
rm:
- crowdin-cli.jar
- tooling/testdata-generator/dirt-sources.zip
- versionName: 1.2.5-rc0
versionCode: 10205000
commit: 81e75e4ede1c76c3e35944be4f75397b08759015
subdir: app
sudo:
- export CPUS_MAX=1
- export CPUS=$(getconf _NPROCESSORS_ONLN)
- for (( c=$CPUS_MAX; c<$CPUS; c++ )) ; do echo 0 > /sys/devices/system/cpu/cpu$c/online
; done
- apt-get update
- apt-get install zip
gradle:

View file

@ -2519,83 +2519,6 @@ Builds:
en-US: Downloads assets (like ML models, release info and FAQs) from Ente's
CDN
- versionName: 0.9.30
versionCode: 930
commit: e323096172aa70ca0f8ce1d9e470daf3743dd3ba
subdir: mobile
submodules: true
sudo:
- apt-get update
- apt-get install -y gcc-multilib libc-dev make automake pkg-config libtool
nasm python3-jsonschema wget meson python3-jinja2 zip
output: build/app/outputs/apk/fdroid/release/app-fdroid-release.apk
srclibs:
- libsodium@ee009287afd480b60a9a4d75b19afdc0f705e9d9
- transistor-background-fetch@6feb11c93f4e5debf7792e7e7c444f3d62ac733c
- media-kit-libmpv-android-video-build@v1.1.5
- mpv@056072bf958ffeaadd2f5a69e37f3079f18d4ead
rm:
- auth
- cli
- desktop
- mobile/ios
- server
- web
- mobile/android/app/src/main/jniLibs/*/libtensor*.so
prebuild:
- export PUB_CACHE=$(pwd)/.pub-cache
- thirdparty/flutter/bin/flutter config --no-analytics
- thirdparty/flutter/bin/flutter pub get
- export file=$(ls .pub-cache/hosted/pub.dev/media_kit_libs_android_video-*/android/build.gradle)
- export tag=$(sed -n -E 's|.*download/(v[0-9.]+)/.*|\1|p' $file | head -n 1)
- sed -i -e '/downloadDependencies/,/dependsOn/d' $file
- cd $$media-kit-libmpv-android-video-build$$
- git checkout -f $tag
- cd buildscripts
- sed -i -e 's/sudo//g' -e 's|./gradlew|gradle|g' *.sh
- sed -i -e '/download-sdk/d' download.sh
- sed -i -e '/mkdir -p deps/a mv $$mpv$$ mpv' include/download-deps.sh
- sed -i -e '/git reset --hard/d' patch.sh
scanignore:
- mobile/.pub-cache/hosted/pub.dev/background_fetch-*/android/build.gradle
- mobile/thirdparty/flutter/bin/cache
scandelete:
- mobile/thirdparty/flutter
- mobile/.pub-cache
build:
- export PUB_CACHE=$(pwd)/.pub-cache
- export FLUTTER=$(pwd)/thirdparty/flutter/bin/
- pushd $$libsodium$$
- ./autogen.sh -s
- ./dist-build/android-armv7-a.sh
- ./dist-build/android-armv8-a.sh
- ./dist-build/android-x86.sh
- ./dist-build/android-x86_64.sh
- popd
- cp $$libsodium$$/libsodium-android-armv7-a/lib/libsodium.so $PUB_CACHE/hosted/pub.dev/flutter_sodium-0.2.0/android/src/main/jniLibs/armeabi-v7a/
- cp $$libsodium$$/libsodium-android-westmere/lib/libsodium.so $PUB_CACHE/hosted/pub.dev/flutter_sodium-0.2.0/android/src/main/jniLibs/x86_64/
- cp $$libsodium$$/libsodium-android-armv8-a+crypto/lib/libsodium.so $PUB_CACHE/hosted/pub.dev/flutter_sodium-0.2.0/android/src/main/jniLibs/arm64-v8a/
- cp $$libsodium$$/libsodium-android-i686/lib/libsodium.so $PUB_CACHE/hosted/pub.dev/flutter_sodium-0.2.0/android/src/main/jniLibs/x86/
- pushd $$transistor-background-fetch$$/android/tsbackgroundfetch/
- gradle assembleRelease
- gradle publishToMavenLocal
- popd
- mv $$transistor-background-fetch$$/android/tsbackgroundfetch/build/outputs/aar/tsbackgroundfetch-release.aar
$PUB_CACHE/hosted/pub.dev/background_fetch-1.3.2/android/libs/com/transistorsoft/tsbackgroundfetch/1.0.2/tsbackgroundfetch-1.0.2.aar
- pushd $$media-kit-libmpv-android-video-build$$/buildscripts
- mkdir sdk
- ln -s $$SDK$$ ./sdk/android-sdk-linux
- PATH=$FLUTTER:$PATH bash bundle_default.sh
- popd
- mkdir -p build/media_kit_libs_android_video/output
- cp $$media-kit-libmpv-android-video-build$$/output/default-*.jar build/media_kit_libs_android_video/output
- thirdparty/flutter/bin/flutter build apk --flavor fdroid -t lib/main.dart
ndk: 25.2.9519653
antifeatures:
NonFreeNet:
en-US: Downloads assets (like ML models, release info and FAQs) from Ente's
CDN
- versionName: 0.9.35
versionCode: 935
commit: 193b27a18634b37a73ead5adecd79e0a348bf520
@ -2615,6 +2538,8 @@ Builds:
- auth
- cli
- desktop
- docs
- infra
- mobile/ios
- server
- web

View file

@ -25,10 +25,15 @@ Builds:
versionCode: 10010
commit: 6f095036e16a3be490638e3693410589edb40f4a
subdir: composeApp
submodules: true
gradle:
- yes
rm:
- iosApp
prebuild: sed -i -e '/maven.pkg.jetbrains.space/d' ../external/mahjong-utils/settings.gradle.kts
scandelete:
- external/Capturable/docs/capturable/package-list
- external/mahjong-utils/docs/mahjong-utils/package-list
AllowedAPKSigningKeys: 5c39f22ed1192933884426cc8cd14f3302f0d481573c056a66f0a5bec11e7186

View file

@ -20,16 +20,6 @@ Repo: https://github.com/Crazy-Marvin/FucksGiven.git
Binaries: https://github.com/Crazy-Marvin/FucksGiven/releases/download/v%v/FucksGiven-%v-release.apk
Builds:
- versionName: 1.0.0
versionCode: 1
disable: dependencyinfoblock
commit: 8f245163cc56cb71b1386e91597b5c29a5bd9590
subdir: android/app
gradle:
- yes
rm:
- wear
- versionName: 1.0.2
versionCode: 3
commit: 8c9ca1c5a469c00df94be9fef2c8a52e7f4aa57e