Skip to content

Commit

Permalink
Merge pull request #7 from cassidyjames/flatpak
Browse files Browse the repository at this point in the history
Flatpak
  • Loading branch information
HarmonyHoney authored Dec 4, 2024
2 parents a134169 + 7b828c7 commit 143c2ef
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
*.translation

# custom
.flatpak-builder/
.import/
[Aa]ndroid/
[Ee]xport/*/
Expand Down
9 changes: 9 additions & 0 deletions export/flatpak/launcher.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Name=ROTA
GenericName=Puzzle Game
Comment=Gravity bends beneath your feet
Exec=godot-runner
Icon=net.hhoney.rota
Terminal=false
Type=Application
Categories=Game;KidsGame;
66 changes: 66 additions & 0 deletions export/flatpak/metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<name>ROTA</name>
<summary>Gravity bends beneath your feet</summary>
<branding>
<color type="primary" scheme_preference="light">#ff99ff</color>
<color type="primary" scheme_preference="dark">#850087</color>
</branding>
<developer_name translatable="no">HHoney Software</developer_name>
<developer id="net.hhoney">
<name translatable="no">HHoney Software</name>
</developer>
<description>
<p>Move blocks and twist gravity to solve puzzles. Collect all 50 gems and explore 8 vibrant worlds.</p>
<ul>
<li>Rotate gravity as you walk over the edge!</li>
<li>Push, pull and rotate gravity-blocks to traverse the stage and solve puzzles.</li>
<li>Collect all 50 gems to unlock doors and explore 8 vibrant worlds!</li>
<li>Listen to an original ambient soundtrack that will keep you relaxed while solving challenging puzzles. (:</li>
<li>Watch out for spikes! 0:</li>
</ul>
</description>
<id>net.hhoney.rota</id>
<launchable type="desktop-id">net.hhoney.rota.desktop</launchable>
<metadata_license>CC0</metadata_license>
<project_license>Unlicense</project_license>
<content_rating type="oars-1.1"></content_rating>
<url type="homepage">https://hhoney.net</url>
<url type="bugtracker">https://github.com/HarmonyHoney/ROTA/issues</url>
<url type="donation">https://ko-fi.com/hhoney</url>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/HarmonyHoney/ROTA/6c7dafea0993700258f77a2412eef7fca5fa559c/media/image/assets/screens/1.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/HarmonyHoney/ROTA/6c7dafea0993700258f77a2412eef7fca5fa559c/media/image/assets/screens/2.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/HarmonyHoney/ROTA/6c7dafea0993700258f77a2412eef7fca5fa559c/media/image/assets/screens/3.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/HarmonyHoney/ROTA/6c7dafea0993700258f77a2412eef7fca5fa559c/media/image/assets/screens/4.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/HarmonyHoney/ROTA/6c7dafea0993700258f77a2412eef7fca5fa559c/media/image/assets/screens/5.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/HarmonyHoney/ROTA/6c7dafea0993700258f77a2412eef7fca5fa559c/media/image/assets/screens/6.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/HarmonyHoney/ROTA/6c7dafea0993700258f77a2412eef7fca5fa559c/media/image/assets/screens/7.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/HarmonyHoney/ROTA/6c7dafea0993700258f77a2412eef7fca5fa559c/media/image/assets/screens/8.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/HarmonyHoney/ROTA/6c7dafea0993700258f77a2412eef7fca5fa559c/media/image/assets/screens/9.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/HarmonyHoney/ROTA/6c7dafea0993700258f77a2412eef7fca5fa559c/media/image/assets/screens/10.png</image>
</screenshot>
</screenshots>
<releases>
<release version="0.0.0" date="2024-12-03" />
</releases>
</component>
39 changes: 39 additions & 0 deletions net.hhoney.rota.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"id": "net.hhoney.rota",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"base": "org.godotengine.godot.BaseApp",
"base-version": "3.6",
"sdk": "org.freedesktop.Sdk",
"command": "godot-runner",
"finish-args": [
"--share=ipc",
"--socket=x11",
"--socket=pulseaudio",
"--device=dri"
],
"modules": [
{
"name": "rota",
"buildsystem": "simple",
"sources": [
{
"type": "file",
"url": "https://github.com/cassidyjames/ROTA/releases/download/0.0.10/rota-linux.pck",
"sha256": "603fc222d6b163cc332c0e1273c4f9b063236782ccef8dfcf0f8dc3aeaf1bb8d"
},
{
"type": "dir",
"path": "."
}
],
"build-commands": [
"ls -a",
"install -Dm644 rota-linux.pck ${FLATPAK_DEST}/bin/godot-runner.pck",
"install -Dm644 export/flatpak/launcher.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
"install -Dm644 export/flatpak/metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml",
"install -Dm644 media/image/icon/icon256.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png"
]
}
]
}

0 comments on commit 143c2ef

Please sign in to comment.