From 668ca8090c002cecc2aa0fc7cdc0e987266454f6 Mon Sep 17 00:00:00 2001 From: Dario Date: Wed, 18 Dec 2024 10:02:56 -0300 Subject: [PATCH] Flatpak'ing. --- ...o.github.hedge_dev.unleashedrecomp.desktop | 7 ++++++ .../io.github.hedge_dev.unleashedrecomp.json | 3 +++ ...hub.hedge_dev.unleashedrecomp.metainfo.xml | 24 +++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 flatpak/io.github.hedge_dev.unleashedrecomp.desktop create mode 100644 flatpak/io.github.hedge_dev.unleashedrecomp.metainfo.xml diff --git a/flatpak/io.github.hedge_dev.unleashedrecomp.desktop b/flatpak/io.github.hedge_dev.unleashedrecomp.desktop new file mode 100644 index 00000000..8b4694ae --- /dev/null +++ b/flatpak/io.github.hedge_dev.unleashedrecomp.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Unleashed Recompiled +Exec=/app/bin/SWA +Type=Application +Icon=io.github.hedge_dev.unleashedrecomp +Categories=Game; +Comment=Static recompilation of Sonic Unleashed. \ No newline at end of file diff --git a/flatpak/io.github.hedge_dev.unleashedrecomp.json b/flatpak/io.github.hedge_dev.unleashedrecomp.json index b7aff701..6c7ebc97 100644 --- a/flatpak/io.github.hedge_dev.unleashedrecomp.json +++ b/flatpak/io.github.hedge_dev.unleashedrecomp.json @@ -23,6 +23,9 @@ "cmake --build out/build/linux-release", "mkdir -p /app/bin", "cp out/build/linux-release/UnleashedRecomp/SWA /app/bin/SWA" + "install -Dm644 UnleashedRecompResources/images/game_icon.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png" + "install -Dm644 flatpak/io.github.hedge_dev.unleashedrecomp.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml" + "install -Dm644 flatpak/io.github.hedge_dev.unleashedrecomp.desktop /app/share/applications/${FLATPAK_ID}.desktop" ], "sources": [ { diff --git a/flatpak/io.github.hedge_dev.unleashedrecomp.metainfo.xml b/flatpak/io.github.hedge_dev.unleashedrecomp.metainfo.xml new file mode 100644 index 00000000..a4ebc3b1 --- /dev/null +++ b/flatpak/io.github.hedge_dev.unleashedrecomp.metainfo.xml @@ -0,0 +1,24 @@ + + + io.github.hedge_dev.unleashedrecomp + + Unleashed Recompiled + Static recompilation of Sonic Unleashed. + + CC0-1.0 + GPL-3.0+ + + + pointing + keyboard + touch + + + +

+ Static recompilation of Sonic Unleashed. +

+
+ + io.github.hedge_dev.unleashedrecomp.desktop +
\ No newline at end of file