wikipedia: fix build

Only build universal apk and exclude unused jni libraries from final
apk.
This commit is contained in:
Marcus Hoffmann 2018-06-26 17:08:53 +02:00
parent 48578a0ec2
commit af183ded2a
No known key found for this signature in database
GPG key ID: ACDF63BC43D5E530

View file

@ -292,9 +292,12 @@ Build:r/2.7.236-r-2018-06-25,236
init=sed -i '/sonatype/d' ../build.gradle init=sed -i '/sonatype/d' ../build.gradle
gradle=fdroid gradle=fdroid
forceversion=yes forceversion=yes
prebuild=sed -i -e 's/enable true/enable false/' -e '/defaultConfig {/a ndk{abiFilters "arm64-v8a", "armeabi-v7a", "x86", "x86_64"}' build.gradle
Maintainer Notes: Maintainer Notes:
* versionname is timebased and generated on build; force it. Also remove the timestamp. * versionname is timebased and generated on build; force it. Also remove the timestamp.
* we disable gradle abi splits because using the universal apk is easier for us for now.
* ndk abifilters line is added as otherwise stray mips/armeabi .so files are added to the apk
Summary and Description have been moved to the new localizable text files: Summary and Description have been moved to the new localizable text files:
https://f-droid.org/docs/All_About_Descriptions_Graphics_and_Screenshots https://f-droid.org/docs/All_About_Descriptions_Graphics_and_Screenshots