LibreraReader: build 8.2.11-fdroid

This commit is contained in:
Pierre Rudloff 2019-11-17 16:33:48 +01:00
parent dd8fbd81e3
commit 2c3e7a4a5c

View file

@ -136,6 +136,36 @@ Builds:
- ./link_to_mupdf_1.16.1.sh - ./link_to_mupdf_1.16.1.sh
ndk: r17c ndk: r17c
- versionName: 8.2.11-fdroid
versionCode: 3420
commit: 8.2.11
subdir: app/
sudo:
- apt-get update || apt-get update
- apt-get install -y g++-6 mesa-common-dev libxcursor-dev libxrandr-dev libxinerama-dev
libgl1-mesa-dev
gradle:
- fdroid
srclibs:
- MuPDF@1.16.1
rm:
- Builder/libs/
prebuild:
- 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
- mkdir src/main/jniLibs/
scandelete:
- Builder/
build:
- pushd ../Builder/
- ./link_to_mupdf_1.16.1.sh
ndk: r17c
MaintainerNotes: Upstream builds separate APKs for each architecture but we build MaintainerNotes: Upstream builds separate APKs for each architecture but we build
an universal APK. an universal APK.