Merge branch 'DocumentViewer' into 'master'

Document Viewer: separate build for each arch.

@krt @mvdan @Ciarang Since this is quite a change, I preferred to send an MR before directly committing to fdroid/fdroiddata

* Rationale: build for a single arch is 3.9 MB vs the current 9.9 MB for only 4 archs.
* Upstream doesn't increment the least digit of vercode, hence use it to
  differentiate between archs.

See merge request !883
This commit is contained in:
أحمد المحمودي 2015-08-03 11:40:19 +00:00
commit 1595b6e9c9

View file

@ -111,10 +111,117 @@ Build:2.7.3,2730
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Build:2.7.3,2731
commit=v2.7.3
subdir=document-viewer
submodules=yes
gradle=yes
prebuild=sed -i -e '/splits/,+7d' build.gradle && \
sed -i -e '/applicationVariants\.all/,+5d' build.gradle && \
sed -i -e '/ext\.versionCode/d' build.gradle && \
echo "APP_ABI := armeabi" > jni/Application.mk && \
pushd ../ && ./init.sh && popd
ndk=r10e
forcevercode=yes
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Build:2.7.3,2732
commit=v2.7.3
subdir=document-viewer
submodules=yes
gradle=yes
ndk=r10e
forcevercode=yes
prebuild=sed -i -e '/splits/,+7d' build.gradle && \
sed -i -e '/applicationVariants\.all/,+5d' build.gradle && \
sed -i -e '/ext\.versionCode/d' build.gradle && \
echo "APP_ABI := armeabi-v7a" > jni/Application.mk && \
pushd ../ && ./init.sh && popd
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Build:2.7.3,2733
commit=v2.7.3
subdir=document-viewer
submodules=yes
gradle=yes
ndk=r10e
forcevercode=yes
prebuild=sed -i -e '/splits/,+7d' build.gradle && \
sed -i -e '/applicationVariants\.all/,+5d' build.gradle && \
sed -i -e '/ext\.versionCode/d' build.gradle && \
echo "APP_ABI := x86" > jni/Application.mk && \
pushd ../ && ./init.sh && popd
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Build:2.7.3,2734
commit=v2.7.3
subdir=document-viewer
submodules=yes
gradle=yes
ndk=r10e
forcevercode=yes
prebuild=sed -i -e '/splits/,+7d' build.gradle && \
sed -i -e '/applicationVariants\.all/,+5d' build.gradle && \
sed -i -e '/ext\.versionCode/d' build.gradle && \
echo "APP_ABI := mips" > jni/Application.mk && \
pushd ../ && ./init.sh && popd
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Build:2.7.3,2735
commit=v2.7.3
subdir=document-viewer
submodules=yes
gradle=yes
ndk=r10e
forcevercode=yes
prebuild=sed -i -e '/splits/,+7d' build.gradle && \
sed -i -e '/applicationVariants\.all/,+5d' build.gradle && \
sed -i -e '/ext\.versionCode/d' build.gradle && \
echo "APP_ABI := arm64-v8a" > jni/Application.mk && \
pushd ../ && ./init.sh && popd
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Build:2.7.3,2736
commit=v2.7.3
subdir=document-viewer
submodules=yes
gradle=yes
ndk=r10e
forcevercode=yes
prebuild=sed -i -e '/splits/,+7d' build.gradle && \
sed -i -e '/applicationVariants\.all/,+5d' build.gradle && \
sed -i -e '/ext\.versionCode/d' build.gradle && \
echo "APP_ABI := x86_64" > jni/Application.mk && \
pushd ../ && ./init.sh && popd
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Build:2.7.3,2737
commit=v2.7.3
subdir=document-viewer
submodules=yes
gradle=yes
ndk=r10e
forcevercode=yes
prebuild=sed -i -e '/splits/,+7d' build.gradle && \
sed -i -e '/applicationVariants\.all/,+5d' build.gradle && \
sed -i -e '/ext\.versionCode/d' build.gradle && \
echo "APP_ABI := mips64" > jni/Application.mk && \
pushd ../ && ./init.sh && popd
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Maintainer Notes:
Check init.sh from time to time.
* Check init.sh from time to time.
* Archive policy last three upstream releases
.
Archive Policy:10 versions
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:2.7.3