Files for the r2modman Flatpak release. Contains the files needed for a standalone Flatpak or a custom repository.
-
io.github.ebkr.r2modman.yamlis the Flatpak manifest that contains the instructions to build the Flatpak- This manifest is used for local development and CI. It gets the source code from the checked out filesystem.
-
io.github.ebkr.r2modman.metainfo.xmlis the appstream metadata used by storefronts- This metadata is mostly self sufficient, but should have a new release block added before a release is made (this will probably be done when updating the changelog and bumping versions)
-
io.github.ebkr.r2modman.desktopis the .desktop file that is distributed with the Flatpak and used to launch the app -
io.github.ebkr.r2modmanis a launch script that is used to run the r2modman binary inside of the Flatpak -
io.github.ebkr.r2modman.flatpakrefis the install reference for the custom Flatpak repository- The
GPGKeyvalue should be filled with the base64-encoded exported public key before publishing the repository for end-user installs - The
Urlvalue should point to the public custom domain or path serving the Flatpak repository
- The
-
r2modman.flatpakrepois the repository reference for adding the custom Flatpak repository as a remote
For building and installing locally, Flatpak and Flatpak Builder are needed. Additional tooling for linting related files can be gotten with the org.flatpak.Builder Flatpak.
To build and install the Flatpak, the pnpm build-flatpak command can be ran from the repository root. This script uses the flatpak-builder cli, along with flatpak, so make sure they are installed.
To lint the manifest, this command can be ran from the repository root: flatpak run --command=flatpak-builder-lint org.flatpak.Builder manifest flatpak/io.github.ebkr.r2modman.yaml.
To lint the appstream metainfo, this command can be ran from the repository root: flatpak run --command=flatpak-builder-lint org.flatpak.Builder appstream flatpak/io.github.ebkr.r2modman.metainfo.xml