use reverse-DNS naming for desktop files and add AppStream metadata information (#1167)

* use reverse-DNS naming for desktop files

This is consistent with Crispy Doom, and the
desktop entry specification recommends doing this as well.

* add AppStream metadata information
This commit is contained in:
Fabian Greffrath 2023-08-07 18:22:09 +02:00 committed by GitHub
parent a3fc158f88
commit 5594e81de1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 58 additions and 4 deletions

View File

@ -154,7 +154,7 @@ elseif(LINUX)
--appimage-extract-and-run
--appdir=${CPACK_TEMPORARY_DIRECTORY}
--executable=$<TARGET_FILE:woof>
--desktop-file=${CPACK_TEMPORARY_DIRECTORY}/share/applications/woof.desktop
--desktop-file=${CPACK_TEMPORARY_DIRECTORY}/share/applications/io.github.fabiangreffrath.woof.desktop
--icon-file=${CPACK_TEMPORARY_DIRECTORY}/share/icons/hicolor/128x128/apps/woof.png
--output=appimage)
]])

View File

@ -1,6 +1,7 @@
if(UNIX AND NOT APPLE)
install(FILES woof.desktop DESTINATION share/applications)
install(FILES io.github.fabiangreffrath.woof.desktop DESTINATION share/applications)
install(FILES io.github.fabiangreffrath.woof.metainfo.xml DESTINATION share/metainfo)
install(FILES io.github.fabiangreffrath.woof-setup.desktop DESTINATION share/applications)
install(FILES woof.png DESTINATION share/icons/hicolor/128x128/apps)
install(FILES woof-setup.desktop DESTINATION share/applications)
install(FILES woof-setup.png DESTINATION share/icons/hicolor/128x128/apps)
endif()

View File

@ -3,6 +3,6 @@ Name=Woof!
Exec=woof
Icon=woof
Type=Application
Comment=Continuation of Lee Killough's Doom source port MBF
Comment=Continuation of the Boom/MBF bloodline of Doom source ports
Categories=Game;ActionGame;
Keywords=first;person;shooter;vanilla;doom;boom;mbf;

View File

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>io.github.fabiangreffrath.woof</id>
<name>Woof!</name>
<summary>Continuation of the Boom/MBF bloodline of Doom source ports</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<developer_name>Fabian Greffrath</developer_name>
<url type="homepage">http://fabiangreffrath.github.io/woof</url>
<url type="bugtracker">https://github.com/fabiangreffrath/woof/issues</url>
<description>
<p>
Woof! is a continuation of Lee Killough's Doom source port MBF
targeted at modern systems.
</p>
<p>
MBF stands for "Marine's Best Friend" and is widely regarded as
the successor of the Boom source port by TeamTNT. It serves as the
code base for popular Doom source ports such as PrBoom+/DSDA-Doom or
The Eternity Engine. As the original engine was limited to run only
under MS-DOS, it has been ported to Windows by Team Eternity under the
name WinMBF in 2004. Woof! is developed based on the WinMBF code with
the aim to make MBF more widely available and convenient to use on
modern systems.
</p>
<p>
To achieve this goal, this source port is less strict regarding
its faithfulness to the original MBF. It is focused on quality-of-life
enhancements, bug fixes and compatibility improvements. However, all
changes have been introduced in good faith that they are in line with
the original author's intentions and even for the trained eye, this
source port should still look very familiar to the original MBF.
</p>
<p>
In summary, this project's goal is to forward-port MBF.EXE from
DOS to 21st century and remove all the stumbling blocks on the way.
Furthermore, just as MBF was ahead of its time, this project dedicates
itself to early adoption of new modding features such as
DEHEXTRA+DSDHacked, UMAPINFO and MBF21.
</p>
</description>
<content_rating type="oars-1.1">
<content_attribute id="violence-fantasy">intense</content_attribute>
<content_attribute id="violence-realistic">intense</content_attribute>
<content_attribute id="violence-bloodshed">intense</content_attribute>
<content_attribute id="violence-desecration">intense</content_attribute>
<content_attribute id="social-chat">intense</content_attribute>
</content_rating>
<releases>
<release version="11.3.0" date="2023-07-06"/>
</releases>
</component>