Librera Reader: Upgrade to 8.1.191-fdroid

This commit is contained in:
Pierre Rudloff 2019-08-08 20:46:31 +02:00
parent c507bef5b8
commit fe58e1512d

View file

@ -49,6 +49,37 @@ Builds:
- ./link_to_mupdf_1.11.sh
ndk: r17c
- versionName: 8.1.191-fdroid
versionCode: 1930
commit: 8.1.191
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.11
rm:
- Builder/libs/
prebuild:
- sed -i -e '/F-DROID REMOVE THIS LINE/,+1d' ../build.gradle
- sed -i -e '/DexClassLoader/d' -e '/clazz/d' src/main/java/com/foobnix/sys/BitmapActivity.java
- sed -i -e '/splits/,+9d' -e '/applicationVariants/,+13d' -e '/a_copyApks/,+10d'
-e '/F-DROID REMOVE THIS LINES BEGIN/,/F-DROID REMOVE THIS LINES END/d' -e
'/F-DROID REMOVE THIS LINE/,+1d' build.gradle
- sed -i -e '/git clone/d' -e 's#cd mupdf-1.11#pushd '$PWD'/$$MuPDF$$#' -e 's#/home/ivan-dev/git/LibreraReader/Builder/mupdf-1.11#'$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.11.sh
- mkdir src/main/jniLibs/
scandelete:
- Builder/
build:
- pushd ../Builder/
- ./link_to_mupdf_1.11.sh
ndk: r17c
MaintainerNotes: Upstream builds separate APKs for each architecture but we build
an universal APK.