LibreraReader - update recipe

This commit is contained in:
Licaon_Kter 2023-11-14 09:58:16 +00:00
parent 8b4075d979
commit 34acfc614c

View file

@ -835,7 +835,7 @@ Builds:
gradle:
- fdroid
srclibs:
- MuPDF@1.23.3
- MuPDF@1.23.5
rm:
- Builder/src/libs
prebuild:
@ -844,26 +844,21 @@ Builds:
- mkdir src/main/jniLibs
- cd ../Builder
- sed -i -e '/^#!/a\set -e' -e '/git clone/d' -e 's/mkdir/mkdir -p/g' -e 's|".*ndk-build"|"$$NDK$$/ndk-build"|'
-e 's|^.*ndk-build$|$$NDK$$/ndk-build -j`nproc`|' link_to_mupdf_1.23.3.sh
- cp -r $$MuPDF$$ mupdf-1.23.3
- rm -rf mupdf-1.23.3/thirdparty/{harfbuzz/test,curl/tests,leptonica/prog/fuzzing}
-e 's|^.*ndk-build$|$$NDK$$/ndk-build -j`nproc`|' link_to_mupdf_1.23.5.sh
- cp -r $$MuPDF$$ mupdf-1.23.5
- rm -rf mupdf-1.23.5/thirdparty/{harfbuzz/test,curl/tests,leptonica/prog/fuzzing}
scanignore:
- Builder/fonts/fonts.zip
- app/src/fdroid/assets/fonts.zip
build:
- pushd ../Builder/
- ./link_to_mupdf_1.23.3.sh
ndk: r25c
- ./link_to_mupdf_1.23.5.sh
ndk: r26b
MaintainerNotes: |-
* Upstream builds separate APKs for each architecture but we build an universal APK.
* scanner will detect GMS (/com/google/android/gms) in these APKs; those are only stubs here, see https://gitlab.com/fdroid/fdroiddata/-/issues/2272#note_493741256
* KnownVuln: MuPDF 1.11 noted at below link
* https://github.com/foobnix/LibreraReader/blob/8.8.5/app/src/main/java/com/foobnix/pdf/info/AppsConfig.java#L30
* app includes both MuPDF 1.11 as the default for legacy Android 4.0 compatibility
* https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11496
AutoUpdateMode: Version +-fdroid %v
UpdateCheckMode: Tags
UpdateCheckData: app/build.gradle|\s+FDroidCodeNumber = (\d+)|.|\s+FDroidVersionNumber