summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2026-07-24 16:19:52 +0800
committerErik Kundiman <erik@megapahit.org>2026-07-24 16:19:52 +0800
commitc4a00d17a5fa81b53c3b88b5eeb9ae7e58ef92f4 (patch)
treeac25a1faeb35612bd14c116a82823c6002d2875e /indra/newview
parent3da3b4c0827d9f47ff073f5b25ab430c05e49899 (diff)
Basic initial metainfo file for FlatpakHEADmain
This file could also be in the "flatpak" repo instead. We'll see.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/ViewerInstall.cmake9
-rw-r--r--indra/newview/net.megapahit.Viewer.metainfo.xml.in21
2 files changed, 30 insertions, 0 deletions
diff --git a/indra/newview/ViewerInstall.cmake b/indra/newview/ViewerInstall.cmake
index d2e327dfd5..273c0df3af 100644
--- a/indra/newview/ViewerInstall.cmake
+++ b/indra/newview/ViewerInstall.cmake
@@ -351,6 +351,15 @@ if (USE_FLATPAK)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/net.${VIEWER_BINARY_NAME}.Viewer.desktop
DESTINATION share/applications
)
+ string(TIMESTAMP TODAY_DATE "%Y-%m-%d" UTC)
+ configure_file(
+ ${CMAKE_CURRENT_SOURCE_DIR}/net.megapahit.Viewer.metainfo.xml.in
+ ${CMAKE_CURRENT_BINARY_DIR}/net.megapahit.Viewer.metainfo.xml
+ )
+ install(
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/net.megapahit.Viewer.metainfo.xml
+ DESTINATION share/metainfo
+ )
else ()
install(FILES linux_tools/${VIEWER_BINARY_NAME}.desktop
DESTINATION share/applications
diff --git a/indra/newview/net.megapahit.Viewer.metainfo.xml.in b/indra/newview/net.megapahit.Viewer.metainfo.xml.in
new file mode 100644
index 0000000000..deeaa9c140
--- /dev/null
+++ b/indra/newview/net.megapahit.Viewer.metainfo.xml.in
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id>net.megapahit.Viewer</id>
+ <launchable type="desktop-id">net.megapahit.Viewer.desktop</launchable>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>LGPL-2.1</project_license>
+ <name>Megapahit</name>
+ <developer id="net.megapahit">
+ <name>Megapahit</name>
+ </developer>
+ <summary>A fork of the Second Life viewer</summary>
+ <description>
+ <p>An entrance to virtual empires in only megabytes. A shelter for the metaverse refugees, especially those from less supported operating systems.</p>
+ </description>
+ <url type="homepage">https://megapahit.net/</url>
+ <url type="vcs-browser">https://megapahit.org</url>
+ <url type="bugtracker">https://megapahit.com</url>
+ <releases>
+ <release version="${VIEWER_VERSION_MAJOR}.${VIEWER_VERSION_MINOR}.${VIEWER_VERSION_PATCH}.${VIEWER_VERSION_REVISION}" date="${TODAY_DATE}" />
+ </releases>
+</component>