From fe58e1512d5a6c832ad28b9d7b4bd5f489a94394 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Thu, 8 Aug 2019 20:46:31 +0200 Subject: [PATCH] Librera Reader: Upgrade to 8.1.191-fdroid --- metadata/com.foobnix.pro.pdf.reader.yml | 31 +++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/metadata/com.foobnix.pro.pdf.reader.yml b/metadata/com.foobnix.pro.pdf.reader.yml index b8d4ec63ed..b1a407792d 100644 --- a/metadata/com.foobnix.pro.pdf.reader.yml +++ b/metadata/com.foobnix.pro.pdf.reader.yml @@ -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.