* Categories::
* License::
* Name::
+* Provides::
* Auto Name::
* Web Site::
* Source Code::
apps presented in the client; it doesn't changed the name or application label
in the source code.
+@node Provides
+@section Provides
+
+@cindex Provides
+
+Comma-separated list of application IDs that this app provides. In other
+words, if the user has any of these apps installed, F-Droid will show this app
+as installed instead. It will also appear if the user clicks on urls linking
+to the other app IDs. Useful when an app switches package name, or when you
+want an app to act as multiple apps.
+
@node Web Site
@section Web Site
# Defaults for fields that come from metadata...
thisinfo['Name'] = None
+ thisinfo['Provides'] = None
thisinfo['Auto Name'] = ''
thisinfo['Categories'] = 'None'
thisinfo['Description'] = []
writefield('Disabled')
if app['AntiFeatures']:
writefield('AntiFeatures')
+ if app['Provides']:
+ writefield('Provides')
writefield('Categories')
writefield('License')
writefield('Web Site')
app['License'],
app.get('Requires Root', 'No'))
+ if app['Provides']:
+ wikidata += "This app provides: %s" % ', '.join(app['Summary'].split(','))
+
wikidata += app['Summary']
wikidata += " - [http://f-droid.org/repository/browse/?fdid=" + app['id'] + " view in repository]\n\n"
af.remove('UpstreamNonFree')
if af:
addElement('antifeatures', ','.join(af), doc, apel)
+ if app['Provides']:
+ pv = app['Provides'].split(',')
+ addElement('provides', ','.join(pv), doc, apel)
if app['Requires Root']:
addElement('requirements', 'root', doc, apel)