c6fb78ea32
This is not needed. In addition to only declaring the google play services dependency in the wear flavor (not used in frdoid), like this: ``` wearCompile 'com.google.android.gms:play-services:6.1.71' ``` there is an additional check to ensure that this line is not even executed, as long as at least one of the tasks in the gradle command line contains the string "foss". In settings.gradle: ``` boolean includeWear=true; // If we are building with a "foss" task, don't include the wearable module. for(String taskName : startParameter.taskNames) { if(taskName.contains("Foss")) includeWear=false; } include ':handheld', ':common' if(includeWear) include ':wearable' ``` In handheld/build.gradle: ``` // Package the wear apk inside this one (only for the 'wear' flavor) if(rootProject.findProject("wearable") != null) { wearCompile 'com.google.android.gms:play-services:6.1.71' wearWearApp project(':wearable') } ``` I understand that most projects with proprietary vs foss flavors don't have this additional check, which is why the sed patch is usually needed. |
||
---|---|---|
build | ||
hooks | ||
metadata | ||
srclibs | ||
stats | ||
templates | ||
tools | ||
.gitignore | ||
.gitlab-ci.yml | ||
CONTRIBUTING.md | ||
fdroid-icon.png | ||
LICENSE | ||
README.md |
F-Droid Data
This repository holds general and build information for all the apps on our main repo on f-droid.org.
Quickstart
Clone fdroidserver:
git clone https://gitlab.com/fdroid/fdroidserver.git
Add the cloned dir to your PATH
:
export PATH="$PATH:$PWD/fdroidserver"
Enter it:
cd fdroiddata
An empty configuration file should work as a start:
touch config.py
Make sure fdroid works and reads the metadata files properly:
fdroid readmeta
Contributing
See the Contributing doc.
More information
You can find more details on the manual.