update some freedesktop metadata files and install them when appropriate (#49108)

This commit is contained in:
rohanlean 2021-06-18 03:17:47 +02:00 committed by GitHub
parent b602d8e715
commit ebf4fa8709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 74 additions and 11 deletions

View File

@ -1000,6 +1000,7 @@ ifeq ($(TARGETSYSTEM), LINUX)
DATA_PREFIX=$(DESTDIR)$(PREFIX)/share/cataclysm-dda/
BIN_PREFIX=$(DESTDIR)$(PREFIX)/bin
LOCALE_DIR=$(DESTDIR)$(PREFIX)/share/locale
SHARE_DIR=$(DESTDIR)$(PREFIX)/share
install: version $(TARGET)
mkdir -p $(DATA_PREFIX)
mkdir -p $(BIN_PREFIX)
@ -1016,6 +1017,9 @@ install: version $(TARGET)
cp -R --no-preserve=ownership data/help $(DATA_PREFIX)
ifeq ($(TILES), 1)
cp -R --no-preserve=ownership gfx $(DATA_PREFIX)
install -Dm755 -t $(SHARE_DIR)/applications/ data/xdg/org.cataclysmdda.CataclysmDDA.desktop
install -Dm644 -t $(SHARE_DIR)/metainfo/ data/xdg/org.cataclysmdda.CataclysmDDA.appdata.xml
install -Dm644 -t $(SHARE_DIR)/icons/hicolor/scalable/apps/ data/xdg/org.cataclysmdda.CataclysmDDA.svg
endif
ifeq ($(SOUND), 1)
cp -R --no-preserve=ownership data/sound $(DATA_PREFIX)
@ -1032,6 +1036,7 @@ ifeq ($(TARGETSYSTEM), CYGWIN)
DATA_PREFIX=$(DESTDIR)$(PREFIX)/share/cataclysm-dda/
BIN_PREFIX=$(DESTDIR)$(PREFIX)/bin
LOCALE_DIR=$(DESTDIR)$(PREFIX)/share/locale
SHARE_DIR=$(DESTDIR)$(PREFIX)/share
install: version $(TARGET)
mkdir -p $(DATA_PREFIX)
mkdir -p $(BIN_PREFIX)
@ -1048,6 +1053,9 @@ install: version $(TARGET)
cp -R --no-preserve=ownership data/help $(DATA_PREFIX)
ifeq ($(TILES), 1)
cp -R --no-preserve=ownership gfx $(DATA_PREFIX)
install -Dm755 -t $(SHARE_DIR)/applications/ data/xdg/org.cataclysmdda.CataclysmDDA.desktop
install -Dm644 -t $(SHARE_DIR)/metainfo/ data/xdg/org.cataclysmdda.CataclysmDDA.appdata.xml
install -Dm644 -t $(SHARE_DIR)/icons/hicolor/scalable/apps/ data/xdg/org.cataclysmdda.CataclysmDDA.svg
endif
ifeq ($(SOUND), 1)
cp -R --no-preserve=ownership data/sound $(DATA_PREFIX)

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>cataclysm-dda</id>
<id>org.cataclysmdda.CataclysmDDA</id>
<metadata_license>CC-BY-SA-3.0</metadata_license>
<project_license>CC-BY-SA-3.0</project_license>
<name>Cataclysm: Dark Days Ahead</name>
@ -61,6 +61,67 @@
<binary>cataclysm-tiles</binary>
</provides>
<releases>
<release version="0.E Ellison" date="2020-04-01">
<description>
<p>
The Ellison release adds a huge number of features and content
that make the world feel more alive. From being able to climb
onto building rooftops or hide behind cars, to building a camp
for your followers in the wilderness, to exploring the new
river and lake systems on a boat or raft, everything is more
immersive and consistent. Also more STUFF. I didnt think we
would ever double the number of game entities with a release
again, but we did.
</p>
<p>
We aimed at a 6 month release cycle, and ended up spending 9
months adding features at a breakneck pace and 3 months
putting the brakes on and stabilizing. I cant honestly say
thats a huge disappointment, though toward the end the rest
of the development team was really chomping at the bit to get
back to feature work, so well need to continue to adjust.
</p>
<p>
We built a huge amount of infrastructure for having the game
check its own consistency, which has and is going to continue
to contribute to the amazing pace of feature and content
additions we are experiencing. The development team is also
larger and at the same time more cohesive than it has ever
been before.
</p>
<p>
Explore all the new features with the attached release
archives. Speaking of exploring, the list of available
tilesets has shuffled a bit, so this is a great time to find
your new favorite.
</p>
<ul>
<li>Long distance automove feature for walking, driving and boating.</li>
<li>Extensive bugfixes to inter-level interactivity, on by default.</li>
<li>Riding animals and animal-pulled vehicles.</li>
<li>More flexible Basecamp construction options.</li>
<li>Default starting date changed to mid-spring for better survivability.</li>
<li>Time advancement is rationalized, a turn is now one second.</li>
<li>Extensive river and lake systems, and boat support for navigating them.</li>
<li>Expanded NPC usefulness and interactivity.</li>
<li>Massive increases in location variety and consistency, especially rooftops.</li>
<li>Expansion of mi-go faction with new enemies and locations.</li>
<li>Batteries now store charge instead of being pseudo-items.</li>
<li>Overhaul and rebalance of martial arts.</li>
<li>Zombie grabbing and biting more manageable and predictable.</li>
<li>Overhauled stamina and damage recovery for grittier gameplay.</li>
<li>Crouching movement mode allows hiding.</li>
<li>Magiclysm and Aftershock mods have first class support within the game.</li>
</ul>
<p>
Finally, see the changelog for the more complete (but still
not comprehensive) listing of new features and contents -
<a href="https://github.com/CleverRaven/Cataclysm-DDA/blob/0.E/data/changelog.txt">
https://github.com/CleverRaven/Cataclysm-DDA/blob/0.E/data/changelog.txt
</a>
</p>
</description>
</release>
<release version="0.D Danny" date="2019-03-08">
<description>
<p>

View File

@ -2,7 +2,7 @@
Name=Cataclysm: Dark Days Ahead
GenericName=Post-apocalyptic survivial game
Comment=A turn-based survival game set in a post-apocalyptic world.
Icon=cataclysm-dda
Icon=org.cataclysmdda.CataclysmDDA
Type=Application
Exec=cataclysm-tiles
Categories=Game;RolePlaying;

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -1,12 +1,9 @@
{
"id": "org.cataclysmdda.CataclysmDDA",
"runtime": "org.freedesktop.Platform",
"runtime-version": "18.08",
"runtime-version": "20.08",
"sdk": "org.freedesktop.Sdk",
"command": "cataclysm-tiles",
"rename-desktop-file": "cataclysm-dda.desktop",
"rename-appdata-file": "cataclysm-dda.appdata.xml",
"rename-icon": "cataclysm-dda",
"finish-args": [
"--socket=pulseaudio",
"--socket=wayland",
@ -26,16 +23,13 @@
"build-commands": [
"make -j $FLATPAK_BUILDER_N_JOBS $MAKE_ARGS",
"make $MAKE_ARGS localization",
"make $MAKE_ARGS install",
"install -Dm755 data/xdg/cataclysm-dda.desktop /app/share/applications/cataclysm-dda.desktop",
"install -Dm644 data/xdg/cataclysm-dda.appdata.xml /app/share/metainfo/cataclysm-dda.appdata.xml",
"install -Dm644 data/xdg/cataclysm-dda.svg /app/share/icons/hicolor/scalable/apps/cataclysm-dda.svg"
"make $MAKE_ARGS install"
],
"sources": [
{
"type": "git",
"url": "https://github.com/CleverRaven/Cataclysm-DDA",
"tag": "0.E"
"branch": "0.F"
}
]
}