From 4baea032c993e843afbd7cb11cfc0f2ff38c9b18 Mon Sep 17 00:00:00 2001
From: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Date: Sun, 8 Jan 2017 23:55:30 +0100
Subject: Add build instructions to readme

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
---
 readme.textile | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

(limited to 'readme.textile')

diff --git a/readme.textile b/readme.textile
index 88e63e7..5bca2c1 100644
--- a/readme.textile
+++ b/readme.textile
@@ -1,3 +1,23 @@
+Build instructions:
+
+BlueGps can be build as part of an Android ROM like Replicant with the following steps:
+Clone the repository to the apps folder in the source code tree:
+git clone https://code.fossencdi.org/BlueGPS.git packages/apps/BlueGps
+Then add "BlueGps" to the PRODUCT_PACKAGES list, so it is automatically included in your next build.
+I have it added the following way in the vendor/replicant folder:
+--- a/config/common.mk
++++ b/config/common.mk
+@@ -166,7 +166,8 @@ PRODUCT_PACKAGES += \
+     SoundRecorder \
+     Screencast \
+     F-Droid \
+-    FDroidPrivilegedExtension
++    FDroidPrivilegedExtension \
++    BlueGps
+
+
+Changelog:
+
 BlueGps4Droid 1.2.6 (2015-12-29)
 * on Android 6 the check for the status of the mock location provider did not work and needed fixing
 
-- 
cgit v1.1

