github.com/pojntfx/hydrapp/hydrapp@v0.0.0-20240516002902-d08759d6ca9f/pkg/renderers/xdg/metainfo.xml (about)

     1  <?xml version="1.0" encoding="UTF-8"?>
     2  <component type="desktop-application">
     3      <id>{{ .AppID }}</id>
     4      <metadata_license>{{ .AppSPDX }}</metadata_license>
     5      <project_license>{{ .AppSPDX }}</project_license>
     6      <name>{{ .AppName }}</name>
     7      <summary>{{ .AppSummary }}</summary>
     8  
     9      <description>
    10          <p>{{ .AppDescription }}</p>
    11      </description>
    12  
    13      <launchable type="desktop-id">{{ .AppID }}.desktop</launchable>
    14  
    15      <url type="homepage">{{ .AppURL }}</url>
    16  
    17      <provides>
    18          <binary>{{ .AppID }}</binary>
    19      </provides>
    20  
    21      <releases>
    22          {{ range $release := .AppReleases }}
    23          <release version="{{ $release.Version }}" date='{{ $release.Date.Format "2006-01-02T15:04:05Z07:00" }}'>
    24              <description>
    25                  <p>{{ $release.Description }}</p>
    26              </description>
    27          </release>
    28          {{ end }}
    29      </releases>
    30  </component>