Add server dashboard

This commit is contained in:
Guillaume Meunier
2024-10-02 20:30:45 +02:00
parent 20d7b0edd5
commit 56d660dbdb
26 changed files with 5008 additions and 12 deletions
+1 -2
View File
@@ -5,5 +5,4 @@ GenericName=WiVRn server
Exec=launch-wivrn-server
Icon=io.github.wivrn.wivrn
Type=Application
Categories=ConsoleOnly
Terminal=true
Categories=Network;Game
+13 -1
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="console-application">
<component type="desktop-application">
<id>io.github.wivrn.wivrn</id>
<name>WiVRn server</name>
<metadata_license>FSFAP</metadata_license>
@@ -41,6 +41,18 @@
<launchable type="desktop-id">io.github.wivrn.wivrn.desktop</launchable>
<categories>
<category>Game</category>
<category>Network</category>
</categories>
<screenshots>
<screenshot type="default">
<image type="source">https://wivrn.github.io/assets/img/mountains.jpeg</image>
<caption>A caption</caption>
</screenshot>
</screenshots>
<url type="homepage">https://wivrn.github.io</url>
<url type="vcs-browser">https://www.github.com/WiVRn/WiVRn</url>
<url type="bugtracker">https://github.com/WiVRn/WiVRn/issues</url>
+8 -4
View File
@@ -1,7 +1,7 @@
id: io.github.wivrn.wivrn
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
runtime: org.kde.Platform
runtime-version: '6.7'
sdk: org.kde.Sdk
command: launch-wivrn-server
finish-args:
@@ -26,6 +26,8 @@ finish-args:
# Let outside application access the WiVRn socket
- --filesystem=xdg-run/wivrn:create
- --own-name=io.github.wivrn.Server
# QSystemTrayIcon
- --talk-name=org.kde.StatusNotifierWatcher
cleanup:
- /lib/pkgconfig
@@ -144,6 +146,8 @@ modules:
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DWIVRN_BUILD_CLIENT=OFF
- -DWIVRN_BUILD_SERVER=ON
- -DWIVRN_BUILD_DASHBOARD=ON
- -DWIVRN_USE_VAAPI=ON
- -DWIVRN_USE_X264=ON
- -DWIVRN_USE_NVENC=ON
@@ -198,7 +202,7 @@ modules:
- sed -ne 's#app-path=\(.*\)#{"runtime":["\1/OpenComposite"],"version":1}#p' /.flatpak-info > $XDG_CONFIG_HOME/openvr/openvrpaths.vrpath
- chmod -w $XDG_CONFIG_HOME/openvr/openvrpaths.vrpath
-
- wivrn-server
- wivrn-dashboard
-
- rm -f $XDG_CONFIG_HOME/openvr/openvrpaths.vrpath
- if [ -f $XDG_CONFIG_HOME/openvrpaths.vrpath-backup ]