diff --git a/flatpak/org.zulianc.jminos.desktop b/flatpak/org.zulianc.jminos.desktop index fb1d783..7eed97a 100644 --- a/flatpak/org.zulianc.jminos.desktop +++ b/flatpak/org.zulianc.jminos.desktop @@ -3,6 +3,7 @@ Type=Application Version=1.0 Name=Jminos Exec=/usr/bin/graph +Icon=org.zulianc.jminos Terminal=false Categories=Game; Comment=Amazing stacker game by the J \ No newline at end of file diff --git a/flatpak/org.zulianc.jminos.metainfo.xml b/flatpak/org.zulianc.jminos.metainfo.xml new file mode 100644 index 0000000..99a5f3e --- /dev/null +++ b/flatpak/org.zulianc.jminos.metainfo.xml @@ -0,0 +1,71 @@ + + + org.zulianc.jminos + org.zulianc.jminos.desktop + jminos + Zulianc + Amazing stacker game by the J + CC0-1.0 + GPL-3.0-only + https://git.ale-pri.com/TetrisNerd/jminos + +

+ Modern stacker game with every polyominoes from size 1 to 15, made in C++ with SFML 3! +

+

Features

+ +

Available gamemodes

+ +
+ + + org.zulianc.jminos.desktop + + + Game + + + + Big piece + https://git.ale-pri.com/TetrisNerd/jminos/raw/branch/main/doc/readme/big_piece.png + + + Dark Settings + https://git.ale-pri.com/TetrisNerd/jminos/media/branch/main/doc/readme/pieces_selection.png + + + Light Interface + https://git.ale-pri.com/TetrisNerd/jminos/media/branch/main/doc/readme/rotations.gif + + + Light Grid View + https://git.ale-pri.com/TetrisNerd/jminos/media/branch/main/doc/readme/rotation_0.gif + + + + + https://git.ale-pri.com/TetrisNerd/jminos/src/tag/v1.0/ + + Inital release + + + + +
\ No newline at end of file diff --git a/flatpak/org.zulianc.jminos.png b/flatpak/org.zulianc.jminos.png new file mode 100644 index 0000000..f07208d Binary files /dev/null and b/flatpak/org.zulianc.jminos.png differ diff --git a/flatpak/org.zulianc.jminos.yml b/flatpak/org.zulianc.jminos.yml index 24c16a5..ec07409 100644 --- a/flatpak/org.zulianc.jminos.yml +++ b/flatpak/org.zulianc.jminos.yml @@ -1,4 +1,4 @@ -id: org.zulianc.jminos +app-id: org.zulianc.jminos runtime: org.freedesktop.Platform runtime-version: "24.08" sdk: org.freedesktop.Sdk @@ -15,7 +15,7 @@ modules: cleanup: ['*'] build-commands: - ./configure --prefix=/app - - make -j $(nproc) + - make -j $(FLATPAK_BUILDER_N_JOBS) - prefix=/app ./scripts/get.sh __local__ __install_only__ sources: - type: git @@ -34,7 +34,9 @@ modules: - install -D output/bin/* /app/bin - cp -r output/data /app/share - install -D flatpak/FlatpakLaunch.sh /app/bin - - install -D -t /app/share/applications flatpak/org.zulianc.jminos.desktop + - install -D -t /app/share/applications flatpak/${FLATPAK_ID}.desktop + - install -Dm644 flatpak/${FLATPAK_ID}.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml + - install -D flatpak/${FLATPAK_ID}.png /app/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png sources: - type: dir path: ..