Skip to content

Provide a more packager-friendly way of installing appdata files #54

@jurf

Description

@jurf

The thing is if an appdata file is missing, one has to add it as a source and then either modify build-commands or post-install and add something like "mkdir -p /app/share/appdata", "install -Dm644 appdata.xml /app/share/appdata/appname.appdata.xml" and add a "rename-appdata-file": "appname.appdata.xml", but with this approach a simple appdata change requires a rebuild, and, frankly, the approach is a bit tedious.

It would be cool if there was something like:

      "sources": [
        {
          "type": "appdata",
          "path": "appdata.xml"
        }
      ]

which would perform all the above, automatically, without needing a rebuild.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions