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 18, 2025
1 parent 331e41c commit c79c1dc
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 do usuwania błędów 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 eliminating 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 Eliminierung von Programmfehlern</summary>
<summary xml:lang="pl">Symbole do usuwania błędów w „The&#x00A0;Force&#x00A0;Engine” umożliwiają efektywną współpracę między twórcami oprogramowania i zawanasowanymi użytkownikami</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 if you want to debug “The&#x00A0;Force&#x00A0;Engine” yourself or the developers want to collaborate with you in 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 installiert werden bei selbständiger Fehlerbehebung oder wenn die Entwickler von „The&#x00A0;Force&#x00A0;Engine“ mit Ihnen beim Fehlerbehebungsprozess 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 do usuwania błędów powinno się instalować wyłącznie na potrzebę samodzielnego usuwania błędów lub gdy twórcy „The&#x00A0;Force&#x00A0;Engine” chcą z Tobą współpracować w procesie usuwania błędów. 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 @@ -41,12 +41,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 @@ -59,6 +63,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 c79c1dc

Please sign in to comment.