Improve Linux platform by adding metadata and improve description

This commit is contained in:
Kowalski Dragon 2021-12-22 10:30:53 +01:00
parent 0dc6006937
commit e8f7ed61f1
No known key found for this signature in database
GPG Key ID: C4E819BD2BC6233E
5 changed files with 85 additions and 9 deletions

View File

@ -221,11 +221,14 @@ endif()
if(UNIX AND NOT APPLE)
include(GNUInstallDirs)
install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
install(FILES "${PROJECT_NAME}.desktop" DESTINATION "share/applications")
install(FILES "/Platform/Linux/${PROJECT_NAME}.desktop" DESTINATION "share/applications")
install(FILES "/Platform/Linux/${PROJECT_NAME}.metainfo.xml" DESTINATION "share/metainfo")
install(FILES "${PROJECT_NAME}/Icon_16x16.png" DESTINATION
"share/icons/hicolor/16x16/apps" RENAME "${PROJECT_NAME}.png")
install(FILES "${PROJECT_NAME}/Icon_32x32.png" DESTINATION
"share/icons/hicolor/32x32/apps" RENAME "${PROJECT_NAME}.png")
install(FILES "${PROJECT_NAME}/Icon_48x48.png" DESTINATION
"share/icons/hicolor/48x48/apps" RENAME "${PROJECT_NAME}.png")
install(FILES "${PROJECT_NAME}/Icon_192x192.png" DESTINATION
"share/icons/hicolor/192x192/apps" RENAME "${PROJECT_NAME}.png")
endif()

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Name=Pinball
Comment=Begins a game of 3-D Pinball.
Exec=SpaceCadetPinball
StartupNotify=true
Terminal=false
Icon=SpaceCadetPinball
Type=Application
Categories=Game;ArcadeGame;

View File

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>com.github.k4zmu2a.spacecadetpinball</id>
<name>3D Pinball for Windows Space Cadet</name>
<display_name>Pinball</display_name>
<summary>Reverse engineering of 3D Pinball for Windows Space Cadet, a game bundled with Windows.</summary>
<url type="homepage">https://github.com/k4zmu2a/SpaceCadetPinball</url>
<url type="bugtracker">https://github.com/k4zmu2a/SpaceCadetPinball/issues</url>
<description>
<p>
Reverse engineering of 3D Pinball for Windows Space Cadet, a game bundled with Windows.
3D Pinball for Windows Space Cadet was a pinball video game developed by Cinematronics and published by Maxis in 1995.
</p>
</description>
<categories>
<category>Game</category>
<category>ArcadeGame</category>
</categories>
<launchable type="desktop-id">com.github.k4zmu2a.spacecadetpinball.desktop</launchable>
<provides>
<binary>SpaceCadetPinball</binary>
</provides>
<screenshots>
<screenshot type="default">
<image>https://github.com/kowalski7cc/com.github.k4zmu2a.spacecadetpinball/blob/main/screenshots/screenshot-1.png?raw=true</image>
</screenshot>
<screenshot>
<image>https://github.com/kowalski7cc/com.github.k4zmu2a.spacecadetpinball/blob/main/screenshots/screenshot-2.png?raw=true</image>
</screenshot>
<screenshot>
<image>https://github.com/kowalski7cc/com.github.k4zmu2a.spacecadetpinball/blob/main/screenshots/screenshot-3.png?raw=true</image>
</screenshot>
</screenshots>
<releases>
<release version="2.0.0" date="2021-10-30">
<description>
<h1>V2.0</h1>
<p>First release of cross-platform port.</p>
<p>Main highlights:</p>
<ul>
<li>Windows dependencies removed.</li>
<li>Graphics and sounds rendered with SDL.</li>
<li>Dear ImGui GUI.</li>
<li>CMake build script, compiles on a lot of platforms.</li>
<li>A number of 3rd party source ports.</li>
</ul>
<p>All features of v1.x are present, except for text translations.</p>
<p>
Development and releases of v1.x will continue, dont confuse the two.
All source ports are technically v2.0RC, not v1.x.
</p>
<p>There are no Linux or macOS binaries attached, compile them yourself.</p>
<p>
This release was made better with the help of contributors.
I thank them for their interest in the project.
</p>
</description>
</release>
</releases>
<metadata_license>CC0-1.0</metadata_license>
<developer_name>Andrey Muzychenko</developer_name>
<project_license>MIT</project_license>
<keywords>
<keyword>pinball</keyword>
<keyword>space</keyword>
<keyword>cadet</keyword>
</keywords>
<content_rating type="oars-1.1" />
</component>

View File

@ -1,8 +0,0 @@
[Desktop Entry]
Name=Space Cadet Pinball
Comment=Decompilation of 3D Pinball for Windows Space Cadet
Exec=SpaceCadetPinball
Icon=SpaceCadetPinball
Terminal=false
Type=Application
Categories=Game;

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB