Add and install FreeDesktop metadata for Linux
This commit is contained in:
parent
0432a7b6df
commit
38373500a5
4 changed files with 287 additions and 0 deletions
|
|
@ -1420,6 +1420,19 @@ install(DIRECTORY "${PROJECT_BINARY_DIR}/soundfonts" "${PROJECT_BINARY_DIR}/fm_b
|
|||
DESTINATION ${INSTALL_SOUNDFONT_PATH}
|
||||
COMPONENT "Soundfont resources")
|
||||
|
||||
# Install Linux desktop launcher, icon and metadata
|
||||
if( UNIX AND NOT APPLE )
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/posix/freedesktop/org.zdoom.GZDoom.desktop
|
||||
DESTINATION share/applications
|
||||
PERMISSIONS WORLD_EXECUTE WORLD_READ GROUP_READ GROUP_EXECUTE OWNER_READ OWNER_WRITE OWNER_EXECUTE)
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/posix/freedesktop/org.zdoom.GZDoom.metainfo.xml
|
||||
DESTINATION share/metainfo
|
||||
PERMISSIONS WORLD_READ GROUP_READ GROUP_EXECUTE OWNER_READ OWNER_WRITE)
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/posix/org.zdoom.GZDoom.svg
|
||||
DESTINATION share/icons/hicolor/scalable/apps
|
||||
PERMISSIONS WORLD_READ GROUP_READ GROUP_EXECUTE OWNER_READ OWNER_WRITE)
|
||||
endif()
|
||||
|
||||
if( DEM_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
|
||||
# Need to enable intrinsics for these files.
|
||||
set_property( SOURCE
|
||||
|
|
|
|||
11
src/posix/freedesktop/org.zdoom.GZDoom.desktop
Normal file
11
src/posix/freedesktop/org.zdoom.GZDoom.desktop
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Name=GZDoom
|
||||
Comment=Multi-game launcher for Doom era games
|
||||
Icon=org.zdoom.GZDoom
|
||||
Categories=Game;Shooter;
|
||||
Exec=gzdoom
|
||||
StartupNotify=true
|
||||
PrefersNonDefaultGPU=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Keywords=Doom;Heretic;Hexen;strife;pwad;iwad;first;person;shooter;
|
||||
149
src/posix/freedesktop/org.zdoom.GZDoom.metainfo.xml
Normal file
149
src/posix/freedesktop/org.zdoom.GZDoom.metainfo.xml
Normal file
|
|
@ -0,0 +1,149 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<component type="desktop-application">
|
||||
<id>org.zdoom.GZDoom</id>
|
||||
<launchable type="desktop-id">org.zdoom.GZDoom.desktop</launchable>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0</project_license>
|
||||
|
||||
<name>GZDoom</name>
|
||||
<developer id="org.zdoom.GZDoom">
|
||||
<name>ZDoom team</name>
|
||||
<url>https://github.com/zdoom/GZDDoom/graphs/contributors</url>
|
||||
</developer>
|
||||
<summary>Game engine for Classic Doom</summary>
|
||||
|
||||
<url type="homepage">https://zdoom.org/index</url>
|
||||
<url type="bugtracker">https://github.com/coelckers/gzdoom</url>
|
||||
<url type="help">https://zdoom.org/wiki/Main_Page</url>
|
||||
<url type="faq">https://zdoom.org/about</url>
|
||||
<url type="contact">https://forum.zdoom.org/</url>
|
||||
<url type="vcs-browser">https://github.com/ZDoom/gzdoom</url>
|
||||
|
||||
<branding>
|
||||
<color type="primary" scheme_preference="light">#999999</color>
|
||||
<color type="primary" scheme_preference="dark">#222222</color>
|
||||
</branding>
|
||||
|
||||
<description>
|
||||
<p>GZDoom is a source port for the modern era, supporting current hardware and operating systems
|
||||
and sporting a vast array of user options. Make Doom your own again!</p>
|
||||
<p>In addition to Doom, GZDoom supports Heretic, Hexen, Strife, Chex Quest, and fan-created
|
||||
games like Harmony and Hacx. Meet the entire idTech 1 family!</p>
|
||||
<p>Experience mind-bending user-created mods, made possible by ZDoom's advanced mapping features
|
||||
and the new ZScript language. Or make a mod of your own!</p>
|
||||
<ul>
|
||||
<li>Can play all Doom engine games, including Ultimate Doom, Doom II, Heretic,
|
||||
Hexen, Strife, and more</li>
|
||||
<li>Supports all the editing features of Hexen. (ACS, hubs, new map format, etc.)</li>
|
||||
<li>Supports most of the Boom editing features</li>
|
||||
<li>Features complete translations of Doom, Heretic, Hexen, Strife and other games into
|
||||
over ten different languages with Unicode support for Latin, Cyrillic, and Hangul so far</li>
|
||||
<li>All Doom limits are gone</li>
|
||||
<li>Several softsynths for MUS and MIDI playback, including an OPL softsynth for
|
||||
an authentic "oldschool" flavor</li>
|
||||
<li>High resolutions</li>
|
||||
<li>Quake-style console and key bindings</li>
|
||||
<li>Crosshairs</li>
|
||||
<li>Free look (look up/down)</li>
|
||||
<li>Jumping, crouching, swimming, and flying</li>
|
||||
<li>Up to 8 player network games using UDP/IP, including team-based gameplay</li>
|
||||
<li>Support for the Bloodbath announcer from the classic Monolith game Blood</li>
|
||||
<li>Walk over/under monsters and other things</li>
|
||||
</ul>
|
||||
<p>Commercial data files are required to run the supported games. For more info about all
|
||||
supported games and their data files, see Help -> List of supported games.</p>
|
||||
<p>For the Flatpak distribution of GZDoom, all file access is restricted to
|
||||
<code>~/.var/app/org.zdoom.GZDoom/.config/gzdoom</code> by default for security reasons.
|
||||
You will need to place your IWADs and PWADS there, or use an application like Flatseal
|
||||
to give GZDoom additional permissions.</p>
|
||||
</7escription>
|
||||
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>https://cdn.jsdelivr.net/gh/flathub/org.zdoom.GZDoom/images/image_02.png</image>
|
||||
<caption>Doom screenshot</caption>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image>https://cdn.jsdelivr.net/gh/flathub/org.zdoom.GZDoom/images/image_01.png</image>
|
||||
<caption>Strife screenshot</caption>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image>https://cdn.jsdelivr.net/gh/flathub/org.zdoom.GZDoom/images/image_03.png</image>
|
||||
<caption>Heretic screenshot</caption>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image>https://cdn.jsdelivr.net/gh/flathub/org.zdoom.GZDoom/images/image_04.png</image>
|
||||
<caption>Hexen screenshot</caption>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
|
||||
<supports>
|
||||
<control>gamepad</control>
|
||||
</supports>
|
||||
<recommends>
|
||||
<control>keyboard</control>
|
||||
<control>pointing</control>
|
||||
</recommends>
|
||||
<provides>
|
||||
<binary>gzdoom</binary>
|
||||
</provides>
|
||||
|
||||
<keywords>
|
||||
<keyword>retro</keyword>
|
||||
<keyword>fps</keyword>
|
||||
<keyword>vulkan</keyword>
|
||||
<keyword>shooter</keyword>
|
||||
<keyword>sourceport</keyword>
|
||||
<keyword>doom</keyword>
|
||||
</keywords>
|
||||
|
||||
<categories>
|
||||
<category>Game</category>
|
||||
<category>Shooter</category>
|
||||
</categories>
|
||||
|
||||
<releases>
|
||||
<release version="4.14.2" date="2025-05-03">
|
||||
<url>https://forum.zdoom.org/viewtopic.php?t=80447</url>
|
||||
</release>
|
||||
<release version="4.14.1" date="2025-03-01" />
|
||||
<release version="4.14.0" date="2024-12-17" />
|
||||
<release version="4.13.2" date="2024-10-31" />
|
||||
<release version="4.13.1" date="2024-10-20" />
|
||||
<release version="4.13.0" date="2024-10-12" />
|
||||
<release version="4.12.2" date="2024-04-28" />
|
||||
<release version="4.12.1" date="2024-04-21" />
|
||||
<release version="4.12.0" date="2024-04-21" />
|
||||
<release version="4.11.3" date="2023-10-26" />
|
||||
<release version="4.11.2" date="2023-10-25" />
|
||||
<release version="4.11.1" date="2023-10-10" />
|
||||
<release version="4.11.0" date="2023-09-25" />
|
||||
<release version="4.10.0" date="2022-12-04" />
|
||||
<release version="4.9.0" date="2022-11-05" />
|
||||
<release version="4.8.2" date="2022-07-04" />
|
||||
<release version="4.8.1" date="2022-06-26" />
|
||||
<release version="4.8.0" date="2022-06-06" />
|
||||
<release version="4.7.1" date="2021-10-20" />
|
||||
<release version="4.7.0" date="2021-09-22" />
|
||||
<release version="4.6.1" date="2021-07-25" />
|
||||
<release version="4.6.0" date="2021-05-22" />
|
||||
<release version="4.5.0" date="2020-10-31" />
|
||||
<release version="4.4.2" date="2020-06-16" />
|
||||
<release version="4.4.1" date="2020-06-10" />
|
||||
<release version="4.4.0" date="2020-06-07" />
|
||||
<release version="4.3.3" date="2020-01-20" />
|
||||
<release version="4.3.2" date="2020-01-12" />
|
||||
<release version="4.3.1" date="2020-01-05" />
|
||||
<release version="4.2.4" date="2019-11-03" />
|
||||
<release version="4.2.3" date="2019-10-20" />
|
||||
<release version="4.2.1" date="2019-09-11" />
|
||||
<release version="4.2.0" date="2019-09-10" />
|
||||
</releases>
|
||||
|
||||
<content_rating type="oars-1.1">
|
||||
<content_attribute id="violence-fantasy">intense</content_attribute>
|
||||
<content_attribute id="violence-bloodshed">intense</content_attribute>
|
||||
<content_attribute id="violence-desecration">moderate</content_attribute>
|
||||
</content_rating>
|
||||
|
||||
</component>
|
||||
114
src/posix/freedesktop/org.zdoom.GZDoom.svg
Normal file
114
src/posix/freedesktop/org.zdoom.GZDoom.svg
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="512pt"
|
||||
height="512pt"
|
||||
version="1.1"
|
||||
viewBox="0 0 180.62 180.62"
|
||||
xml:space="preserve"
|
||||
id="svg11"
|
||||
sodipodi:docname="gzdoom.svg"
|
||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
|
||||
id="namedview11"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="pt"
|
||||
inkscape:zoom="0.83278396"
|
||||
inkscape:cx="299.59751"
|
||||
inkscape:cy="363.83986"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1013"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg11"
|
||||
showguides="true" /><defs
|
||||
id="defs4"><linearGradient
|
||||
id="linearGradient26058"
|
||||
x1="71.438"
|
||||
x2="101.94"
|
||||
y1="84.92"
|
||||
y2="136.03"
|
||||
gradientTransform="matrix(2.4069 0 0 2.4069 -122.01 -173.28)"
|
||||
gradientUnits="userSpaceOnUse"><stop
|
||||
stop-color="#163685"
|
||||
offset="0"
|
||||
id="stop1" /><stop
|
||||
stop-color="#111a3b"
|
||||
offset="1"
|
||||
id="stop2" /></linearGradient><linearGradient
|
||||
id="linearGradient8"
|
||||
x1="20.697"
|
||||
x2="68.17"
|
||||
y1="92.67"
|
||||
y2="122.62"
|
||||
gradientTransform="matrix(2.4069,0,0,2.4069,-16.634,-165.69)"
|
||||
gradientUnits="userSpaceOnUse"><stop
|
||||
stop-color="#d0d0d0"
|
||||
offset="0"
|
||||
id="stop3"
|
||||
style="stop-color:#6e6e6e;stop-opacity:1;" /><stop
|
||||
stop-color="#717171"
|
||||
offset="1"
|
||||
id="stop4"
|
||||
style="stop-color:#ffffff;stop-opacity:1;" /></linearGradient></defs><path
|
||||
d="m 167.44379,89.55348 c 0,42.39032 -34.26222,77.56717 -76.633285,77.73565 C 48.43703,167.45667 13.905236,133.31814 13.570677,90.92782 13.235709,48.539904 47.223953,13.858882 89.59502,13.35584 c 42.37107,-0.502657 77.17966,33.812131 77.85118,76.19764 z"
|
||||
fill="#142344"
|
||||
stroke="#000000"
|
||||
stroke-linecap="square"
|
||||
stroke-width="9.08894"
|
||||
style="paint-order:markers stroke fill"
|
||||
id="path4" /><path
|
||||
d="m162.3 90.311c0 39.524-31.969 71.608-71.508 71.764-39.538.15623-71.76-31.674-72.073-71.196-.31255-39.522 31.402-71.858 70.938-72.327 39.536-.46866 72.017 32.241 72.643 71.759z"
|
||||
fill="url(#linearGradient26058)"
|
||||
stroke-linecap="square"
|
||||
stroke-width="19.325"
|
||||
style="paint-order:markers stroke fill"
|
||||
id="path5" /><path
|
||||
d="m89.658 18.552c-29.928.35477-55.361 18.978-65.826 45.148h132.96c-10.941-26.549-36.976-45.505-67.133-45.148zm-63.011 104.53c11.961 23.243 36.219 39.1 64.145 38.99 27.724-.10953 51.709-15.927 63.578-38.99z"
|
||||
fill="#fff"
|
||||
fill-opacity=".19729"
|
||||
opacity=".22338"
|
||||
stop-color="#000000"
|
||||
style="-inkscape-stroke:none;font-variation-settings:normal;paint-order:markers stroke fill"
|
||||
id="path6" /><path
|
||||
d="m22.006 68.825c-.12804.40826-.25594.81626-.37687 1.2276h137.44c-.12588-.40878-.24045-.82179-.37314-1.2276zm-1.5883 5.9938c-.08978.40775-.18822.81234-.27113 1.2226h140.51c-.0888-.41045-.1952-.81464-.29104-1.2226zm-1.0585 5.9751c-.05391.40753-.09844.81798-.14562 1.2276h142.46c-.0537-.41058-.11361-.81904-.17426-1.2276zm-.546 5.9614c-.01926.40756-.03057.81707-.04356 1.2264h143.43c-.0192-.4082-.0248-.81978-.051-1.2264zm-.0337 5.9415c.01444.40764.02166.81676.04116 1.2226h143.39c.0192-.40506.0169-.81584.0298-1.2226zm.43035 5.9701c.04766.41115.11072.81738.16535 1.2264h142.27c.0544-.40799.10782-.81624.15548-1.2264zm.94031 5.9042c.08232.40846.16439.81672.25373 1.2226h140.2c.0898-.40818.19086-.81189.27364-1.2226zm1.4801 5.9602c.11986.40904.23106.82165.35819 1.2276h137.05c.12708-.40575.23707-.81879.35696-1.2276zm2.1318 6.2015c.16174.40823.32221.81689.49129 1.2214h132.52c.16848-.40288.31889-.81483.4801-1.2214z"
|
||||
fill="#fff"
|
||||
fill-opacity=".19729"
|
||||
opacity=".22338"
|
||||
stroke-linecap="square"
|
||||
stroke-width="2.4069"
|
||||
style="paint-order:markers stroke fill"
|
||||
id="path7" /><path
|
||||
d="m 91.861,78.25 h 25.598 V 99.539 H 91.861 Z"
|
||||
fill="#0b378e"
|
||||
stroke-linecap="square"
|
||||
stroke-width="2.7962"
|
||||
style="paint-order:markers stroke fill"
|
||||
id="path8" /><path
|
||||
d="m 58.484,59.757 c -30.585,0 -30.471,67.266 0,67.266 h 86.551 v -21.854 l -28.632,-0.14923 28.632,-25.184 v -19.928 z m 4.0165,21.746 h 46.064 l -13.776,11.889 v -7.1147 h -23.112 v 18.891 H 62.5 c -4.0165,0 -4.0107,-4.8272 -4.0165,-11.776 -0.0048,-6.9486 -0.22408,-11.889 4.0165,-11.889 z"
|
||||
fill="#142343"
|
||||
stroke="#0b378e"
|
||||
stroke-linecap="square"
|
||||
stroke-width="4.8137"
|
||||
style="paint-order:markers stroke fill"
|
||||
id="path9" /><path
|
||||
d="m 61.41,63.149 c -16.629,0 -22.171,14.699 -22.171,29.819 0,15.121 5.5416,30.663 22.171,30.663 h 79.973 V 108.326 H 108.6 L 141.383,78.25 V 63.284 Z m -1.5317,15.102 h 57.581 L 91.8613,99.54 V 89.327 h -16.62 v 19 h -15.362 c -4.1921,0 -4.1868,-9.1099 -4.1921,-15.358 -0.0048,-6.2479 0,-14.718 4.1921,-14.718 z"
|
||||
fill="url(#linearGradient8)"
|
||||
style="fill:url(#linearGradient8);paint-order:markers stroke fill;stroke:#142344;stroke-opacity:1;stroke-width:2.11664056;stroke-dasharray:none"
|
||||
id="path10" /><path
|
||||
d="m95.181 115.48-.01444 5.0505h-4.6549c-.58022 0-1.0681-.18901-1.4637-.56703-.38681-.37801-.58022-.85713-.58022-1.4373v-4.7604c0-.58021.19351-1.0593.58022-1.4373.39559-.37802.88348-.56703 1.4637-.56703h4.6549v1.0022h-4.6549c-.28131 0-.52306.0967-.72526.2901-.20218.19339-.30329.43077-.30329.71208l.01203 4.7604c0 .28132.09676.51868.2901.71208.20218.19341.44394.29011.72526.29011h3.6527v-3.0329h-2.7692v-1.0154zm8.0529 5.0505h-7.0417l5.09-7.7538h-5.0241v-1.0154h6.8966l-5.09 7.7538h5.1692zm7.7374-1.9648c0 .57142-.19784 1.0505-.59341 1.4374-.38681.37801-.86592.56702-1.4373.56702h-4.523v-8.8087h4.523c.56263 0 1.0417.19342 1.4373.58021.39561.38681.59341.86153.59341 1.4242zm-1.0154 0v-4.7999c0-.28131-.10109-.51867-.30329-.71208-.19351-.19341-.43075-.2901-.71207-.2901h-3.5077v6.8043h3.5077c.28132 0 .51868-.0967.71207-.29011.20218-.19339.30329-.43076.30329-.71208zm9.4202-.0791c0 .56263-.19784 1.0374-.59341 1.4242-.39559.3868-.87472.58021-1.4374.58021h-2.8483c-.56263 0-1.0418-.19342-1.4374-.58021-.39559-.38681-.59339-.86153-.59339-1.4242v-4.7208c0-.56263.19785-1.0374.59339-1.4242.39559-.3868.87472-.58021 1.4374-.58021h2.8483c.56263 0 1.0418.19342 1.4374.58021.39559.38681.59341.86153.59341 1.4242zm-1.0154 0v-4.7208c0-.28131-.10109-.51867-.30329-.71208-.19351-.19341-.43078-.2901-.71209-.2901h-2.8483c-.28131 0-.52308.0967-.72528.2901-.19351.19339-.2901.43077-.2901.71208v4.7208c0 .28132.0968.51868.2901.71208.20217.19341.44397.29011.72528.29011h2.8483c.28131 0 .51868-.0967.71209-.29011.20218-.19339.30329-.9934.30329-.71208zm9.0491 0c0 .56263-.19785 1.0374-.59341 1.4242-.39559.3868-.8747.58021-1.4373.58021h-2.8483c-.56263 0-1.0417-.19342-1.4374-.58021-.39559-.38681-.59338-.86153-.59338-1.4242v-4.7208c0-.56263.19784-1.0374.59338-1.4242.39562-.3868.87473-.58021 1.4374-.58021h2.8483c.56263 0 1.0417.19342 1.4373.58021.39561.38681.59341.86153.59341 1.4242zm-1.0154 0v-4.7208c0-.28131-.10109-.51867-.30329-.71208-.19351-.19341-.43076-.2901-.71207-.2901h-2.8483c-.28132 0-.52306.0967-.72526.2901-.19351.19339-.29013.43077-.29013.71208v4.7208c0 .28132.0968.51868.29013.71208.20217.19341.44394.29011.72526.29011h2.8483c.28131 0 .51868-.0967.71207-.29011.20217-.19339.30329-.9934.30329-.71208zm12.505 2.0439h-1.0286v-6.7648c0-.28131-.10108-.51867-.30328-.71208-.19352-.19341-.43076-.2901-.71207-.2901h-2.5582v7.7801h-1.0154v-7.7801h-3.5736v7.7669h-1.0154v-8.7691h8.1626c.58022 0 1.0637.18901 1.4505.56703.39562.37801.59341.85713.59341 1.4373z"
|
||||
fill="#40403f"
|
||||
stroke-linecap="square"
|
||||
stroke-width=".12433"
|
||||
style="paint-order:markers stroke fill"
|
||||
aria-label="GZDOOM"
|
||||
id="path11" /></svg>
|
||||
|
After Width: | Height: | Size: 8 KiB |
Loading…
Add table
Add a link
Reference in a new issue