feat: flatpak package#45
Conversation
| <summary>A utility to create, edit, and display every type of VTF file ever made</summary> | ||
| <developer id="info.craftablescience"> | ||
| <name translate="no">Laura Lewis</name> | ||
| <url>https://craftablescience.info</url> |
There was a problem hiding this comment.
Note for myself: this was changed to https://craftable.science recently
There was a problem hiding this comment.
Oh, that's why the website was not loading, so the application id needs to change
|
Looking at this now, I think the cmake will need to be modified to generate the flatpak files automatically, otherwise this will be a nightmare to maintain. I'll figure this out |
|
Sorry it took some time to reply. You mean this because of dependencies? Yeah... I took some time a while ago trying to figure it out a better way but cmake is not exactly friendly in that regards. The way Nix does is either patching out FetchContent or using envs like I did, or But it still won't help about maintaining a separate file with source, version, etc. Here it's says to intercept So in the end the lazy and hacky way of reading stdout of cmake configure works ok and doesn't need big changes, the only minor inconvenience is needing to run the script to update the dependencies. But let me know what you think about |
How to build
flatpakand setup Flathub (recommend use--userto setup as user repo)flatpak-builder(you can install withflatpak install org.flatpak.Builder)flatpak run org.flatpak.Builder --user --install-deps-from=flathub --install --force-clean builddir .build-aux/flatpak/science.craftable.MareTF.ymlThis will install required runtimes, build and install MareTF
More information can be found on Flatpak documentation and Flathub documentation
PR details
Needs testing
For Flathub release
Currently the MetaInfo file contains placeholders for description, screenshots and branding which I expect you help to fill in with proper contents following Flathub's quality guideline
Look into in the future
If this goes through I'm gonna update my PR for VPKEdit including changes from here