Skip to content

Commit

Permalink
Add .Debug extension AppStream metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeSmarter committed Jan 19, 2025
1 parent 2592efc commit f068150
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
48 changes: 48 additions & 0 deletions io.github.theforceengine.tfe.Debug.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="addon">
<id>io.github.theforceengine.tfe.Debug</id>
<name>“The&#x00A0;Force&#x00A0;Engine” Debug Symbols</name>
<name xml:lang="de">„The&#x00A0;Force&#x00A0;Engine“&#x2011;Fehlerbehebungssymbole</name>
<name xml:lang="pl">Symbole usuwania błędów „The&#x00A0;Force&#x00A0;Engine”</name>
<developer id="io.github.theforceengine">
<name>“The&#x00A0;Force&#x00A0;Engine” Contributors</name>
<name xml:lang="de">Die Mitwirkenden an „The&#x00A0;Force&#x00A0;Engine“</name>
<name xml:lang="pl">Współautorzy „The&#x00A0;Force&#x00A0;Engine”</name>
<url type="homepage">https://theforceengine.github.io</url>
</developer>
<summary>“The&#x00A0;Force&#x00A0;Engine” debug symbols enable developers and advanced users to effectively collaborate in fixing program bugs</summary>
<summary xml:lang="de">Die „The&#x00A0;Force&#x00A0;Engine“&#x2011;Fehlerbehebungssymbole ermöglichen Entwicklern und fortgeschrittenen Benutzern eine effektive Zusammenarbeit bei der Behebung von Programmfehlern</summary>
<summary xml:lang="pl">Symbole usuwania błędów „The&#x00A0;Force&#x00A0;Engine” umożliwiają efektywną współpracę między twórcami oprogramowania i zaawansowanymi użytkownikami przy naprawie błędów</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0</project_license>
<extends>io.github.theforceengine.tfe</extends>
<url type="homepage">https://theforceengine.github.io</url>
<url type="bugtracker">https://github.com/luciusDXL/TheForceEngine/issues</url>
<url type="help">https://theforceengine.github.io/Documentation.html</url>
<url type="vcs-browser">https://github.com/luciusDXL/TheForceEngine</url>
<description>
<p>This external debug symbols extension should only be installed when “The&#x00A0;Force&#x00A0;Engine” crashes and you want to debug “The&#x00A0;Force&#x00A0;Engine” yourself, or the developers want to collaborate with an advanced user during the debugging process. Debug symbols are not needed for the normal operation of “The&#x00A0;Force&#x00A0;Engine”.</p>
<p xml:lang="de">Diese Erweiterung externer Fehlerbehebungssymbole sollte ausschließlich bei Abstürzen von „The&#x00A0;Force&#x00A0;Engine“ zur selbständigen Fehlerbehebung installiert werden, oder wenn die Entwickler von „The&#x00A0;Force&#x00A0;Engine“ mit einem fortgeschrittenen Benutzer während des Fehlerbehebungsprozesses zusammen arbeiten wollen. Fehlerbehebungssymbole werden für den normalen Betrieb von „The&#x00A0;Force&#x00A0;Engine“ nicht gebraucht.</p>
<p xml:lang="pl">To rozszerzenie z symbolami usuwania błędów powinno się instalować wyłącznie na potrzebę samodzielnego usuwania błędów w wypadku awarii „The&#x00A0;Force&#x00A0;Engine” lub gdy twórcy „The&#x00A0;Force&#x00A0;Engine” w trakcie procesu usuwania błędów chcą współpracować z zaawansowanym użytkownikiem. Symbole do usuwania błędów są nie potrzebne do normalnego działania „The&#x00A0;Force&#x00A0;Engine”.</p>
</description>
<releases type="external" url="https://raw.githubusercontent.com/flathub/io.github.theforceengine.tfe/master/io.github.theforceengine.tfe.releases.xml"/>
<categories>
<category>Game</category>
<category>Shooter</category>
<category>ActionGame</category>
<category>Development</category>
</categories>
<requires>
<id>io.github.theforceengine.tfe</id>
<internet>offline-only</internet>
</requires>
<keywords>
<keyword>debug</keyword>
<keyword xml:lang="de">Fehlerbehebung</keyword>
<keyword xml:lang="pl">błąd</keyword>
<keyword>symbol</keyword>
<keyword xml:lang="de">Symbol</keyword>
<keyword xml:lang="pl">symbol</keyword>
<keyword>gdb</keyword>
</keywords>
</component>
17 changes: 17 additions & 0 deletions io.github.theforceengine.tfe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,16 @@ modules:
# Release metadata
- type: file
path: io.github.theforceengine.tfe.releases.xml
# `.Debug` extension AppStream metadata
- type: file
path: io.github.theforceengine.tfe.Debug.metainfo.xml
buildsystem: cmake
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DDISABLE_SYSMIDI=ON
builddir: true
post-install:
# Install AdjustableHud mod’s AppStream metadata
- install -Dvm 0644
-t "$FLATPAK_DEST/share/TheForceEngine/Mods/share/metainfo"
"../TheForceEngine/$FLATPAK_ID.Mod.AdjustableHud.metainfo.xml"
Expand All @@ -58,6 +62,19 @@ modules:
--icons-dir="$FLATPAK_DEST/share/TheForceEngine/Mods/share/app-info/icons/flatpak"
--components="$FLATPAK_ID.Mod.AdjustableHud"
"$FLATPAK_DEST/share/TheForceEngine/Mods"
# Install `.Debug` extension AppStream metadata
- install -Dvm 0644
-t "$FLATPAK_DEST/lib/debug/share/metainfo"
"../$FLATPAK_ID.Debug.metainfo.xml"
# Compose `.Debug` extension’s AppStream metadata catalog
- appstreamcli compose
--prefix=/
--origin="$FLATPAK_ID.Debug"
--result-root="$FLATPAK_DEST/lib/debug"
--data-dir="$FLATPAK_DEST/lib/debug/share/app-info/xmls"
--icons-dir="$FLATPAK_DEST/lib/debug/share/app-info/icons/flatpak"
--components="$FLATPAK_ID.Debug"
"$FLATPAK_DEST/lib/debug"

# Add a wrapper script that points TFE_DATA_HOME to the correct location within the sandbox
- name: launch_script
Expand Down

0 comments on commit f068150

Please sign in to comment.