Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for easier Linux packaging #661

Merged
merged 2 commits into from
Feb 17, 2024
Merged

Changes for easier Linux packaging #661

merged 2 commits into from
Feb 17, 2024

Conversation

0chroma
Copy link

@0chroma 0chroma commented Feb 11, 2024

Building on #645, I wanted to make things easier for packaging the application for things like flatpak.

  • Add install targets to cmake file. This allows packaging tools to know where to put the compiled binary and game files. This shouldn't affect much since it should only perform operations when explicitly running make install.
  • Added search against XDG_DATA_DIRS for assets. This is usually set by the distro or packaging system and defines where a package's assets should be located.

If you're okay with merging these changes, I do have a flatpak manifest that is ready to go if you're interested in submitting to flathub!

Let me know if you have any questions, or would like any changes. Thanks!

@Drewol
Copy link
Owner

Drewol commented Feb 11, 2024

Looks good to me. I've been eyeing flatpak (though mostly for my rewrite to Rust) so that would be nice as well

@0chroma
Copy link
Author

0chroma commented Feb 11, 2024

ah okay! yeah submitting to flathub would happen in a separate repo, I can finish that today tho

@Drewol Drewol merged commit 162e40d into Drewol:develop Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants