document more metadata keys

A bunch of keys got added in code recently, and the
flatpak-metadata(5) man page has not been kept up-to-date.
tingping/wmclass
Matthias Clasen 2017-03-25 22:21:39 +01:00 committed by Alexander Larsson
parent bf5191e401
commit e0067ef2d0
1 changed files with 47 additions and 0 deletions

View File

@ -272,6 +272,53 @@
runtime that the extension is for.
</para></listitem>
</varlistentry>
<varlistentry>
<term><option>versions</option> (string)</term>
<listitem><para>
The branches to use when looking for the extension. If this is
not specified, it defaults to the branch of the application or
runtime that the extension is for.
</para></listitem>
</varlistentry>
<varlistentry>
<term><option>add-ld-path</option> (string)</term>
<listitem><para>
A path relative to the extension directory that will be appended
to LD_LIBRARY_PATH.
</para></listitem>
</varlistentry>
<varlistentry>
<term><option>merge-dirs</option> (string)</term>
<listitem><para>
A list of relative paths of directories below the extension directory
that will be merged.
</para></listitem>
</varlistentry>
<varlistentry>
<term><option>download-if</option> (string)</term>
<listitem><para>
A condition that must be true for the extension to be auto-downloaded.
The only currently recognized value is active-gl-driver, which is true
if the name of the active GL driver matches the extension basename.
</para></listitem>
</varlistentry>
<varlistentry>
<term><option>enable-if</option> (string)</term>
<listitem><para>
A condition that must be true for the extension to be enabled.
The only currently recognized value is active-gl-driver, which is true
if the name of the active GL driver matches the extension basename.
</para></listitem>
</varlistentry>
<varlistentry>
<term><option>subdirectory-suffix</option> (string)</term>
<listitem><para>
A suffix that gets appended to the directory name. This is very
useful when the extension point naming scheme is "reversed". For example,
an extension point for GTK+ themes would be /usr/share/themes/$NAME/gtk-3.0,
which could be achieved using subdirectory-suffix=gtk-3.0.
</para></listitem>
</varlistentry>
<varlistentry>
<term><option>subdirectories</option> (boolean)</term>
<listitem><para>