Librera PRO: fix 8.3.39-fdroid (3728)

This commit is contained in:
relan 2020-04-11 10:26:24 +03:00
parent 018f7f8f2d
commit 7b879c328b

View file

@ -324,15 +324,13 @@ Builds:
- sed -i -e '/F-DROID REMOVE THIS LINE/,+1d' ../build.gradle
- sed -i -e '/com.google.gms.google-services/d' -e '/com.google.android.gms/d'
-e '/com.cloudrail/d' -e '/include "armeabi-v7a", "arm64-v8a"/d' build.gradle
- sed -i -e '/git clone/d' -e 's#cd mupdf-$VERSION#pushd '$PWD'/$$MuPDF$$#'
-e 's#/home/ivan-dev/git/LibreraReader/Builder/mupdf-$VERSION#'$PWD'/$$MuPDF$$#'
-e 's#/home/ivan-dev/git/LibreraReader/app/src/main/jniLibs#'$PWD'/src/main/jniLibs#'
-e 's#cd \.\.#popd#' ../Builder/link_to_mupdf_1.16.1.sh
- sed -i -e '/^#!/a\set -e' -e 's|git clone .*|ln -s $$MuPDF$$ mupdf-$VERSION|'
-e 's/ndk-build $1/& -j`nproc` || exit 1/' ../Builder/link_to_mupdf_1.16.1.sh
- mkdir src/main/jniLibs/
build:
- pushd ../Builder/
- ./link_to_mupdf_1.16.1.sh
ndk: r17c
ndk: r21
MaintainerNotes: Upstream builds separate APKs for each architecture but we build
an universal APK.