OsmAnd~: fixed build of native library

Fixes: https://gitlab.com/fdroid/fdroiddata/issues/212
This commit is contained in:
أحمد المحمودي (Ahmed El-Mahmoudy) 2015-05-12 16:42:21 +02:00
parent 4e10a33c9a
commit 03e7f3b659

View file

@ -188,7 +188,8 @@ Build:2.0.4,207
sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"-play_market +gps_status -parking_plugin -blackberry -amazon -route_nav\"/g" build.gradle && \
sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle && \
sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle && \
sed -i -e '/sourceSets/icompileOptions {\nsourceCompatibility = JavaVersion.VERSION_1_7\ntargetCompatibility = JavaVersion.VERSION_1_7\n}\n' ../eclipse-compile/appcompat/build.gradle build.gradle
sed -i -e '/sourceSets/icompileOptions {\nsourceCompatibility = JavaVersion.VERSION_1_7\ntargetCompatibility = JavaVersion.VERSION_1_7\n}\n' ../eclipse-compile/appcompat/build.gradle build.gradle && \
sed -i -e '1 iAPP_PLATFORM := android-14' jni/Application.mk
gradle=full,legacy,fat
buildjni=no
ndk=r10d