From 97a0763292b593bd616b7b8bc8bdea3e0c901deb Mon Sep 17 00:00:00 2001
From: Boris Kraut <krt@nurfuerspam.de>
Date: Mon, 4 Jan 2016 20:31:35 +0100
Subject: [PATCH] Update OsmAnd~ to 2.2.4 (224): test build

---
 metadata/net.osmand.plus.txt | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/metadata/net.osmand.plus.txt b/metadata/net.osmand.plus.txt
index 5083fcca8e..fe1bdc394a 100644
--- a/metadata/net.osmand.plus.txt
+++ b/metadata/net.osmand.plus.txt
@@ -205,21 +205,21 @@ Build:2.2.3,223
         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
 
+Build:2.2.4,224
+    commit=49488e02b1fd3271d397c64462d95dfa873977cd
+    subdir=android/OsmAnd
+    submodules=yes
+    gradle=full,legacy,fat
+    prebuild=sed -i -e '/qt.*Compile/d' build.gradle && \
+        sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle && \
+        sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle && \
+        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 '/com.android.vending.BILLING/d' AndroidManifest.xml
+
 Maintainer Notes:
-No UCMs apply because git never contains actual releases, only pre-releses.
-
-The build instructions have been moved to a script in the root of the repo,
-'build'. This way it can be updated along with the submodules.
-
-= 2.0.0+ =
-Upstream now uses gradle. We do some preparations in ../../build but try to
-keep the main build within the recipe via `gradle=`.
-
 Update CV only after sucessfully built and tested.
-
-= TODO =
-* On next release test with `sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml`
-* On next release maybe remove Tracking due to https://github.com/osmandapp/Osmand/commit/513024eac7ceca812ddc94056fc0ac0d5d2772ec
 .
 
 Auto Update Mode:None