flatpak / flatpak-builder

Tool to build flatpaks from source
GNU Lesser General Public License v2.1
142 stars 93 forks source link

Support to install bundled assets when application's sources are extra-data #617

Closed x80486 closed 2 months ago

x80486 commented 2 months ago

Checklist

Suggestion

Currently, there is no real path to include and install bundled assets when application's sources are extra-data — for instance: flathub/com.syntevo.SmartGit/pull/113

This is somehow counterintuitive to the packaging process because reusing application's assets should be the first option, rather than maintaining copies.

I suggest implementing a mechanism that allows developers to specify bundled assets in Flatpak manifest when application's sources are extra-data, which would be then installed alongside the application.

bbhtt commented 2 months ago

Flatpak builder supports it, see the note in https://docs.flatpak.org/en/latest/module-sources.html#extra-data

It's not allowed on Flathub specifically.

x80486 commented 2 months ago

OK, then I guess I should move this one out to the flathub repository :sweat_smile:

bbhtt commented 2 months ago

We don't have any plans to support it, it was blocked specifically so that we can validate all the metadata.

bbhtt commented 2 months ago

And also the default appstreamcli compose command does not work when you place files ie. icon desktop and metainfo there