From b695a8f49370f23cfbdea777cd5f65f2e65d4f69 Mon Sep 17 00:00:00 2001 From: Guillaume Meunier Date: Thu, 15 Aug 2024 13:02:43 +0200 Subject: [PATCH] Update flatpak metadata and application name --- .github/workflows/Build.yml | 2 +- build.gradle | 4 +- flatpak/io.github.wivrn.wivrn.desktop | 9 +++ flatpak/io.github.wivrn.wivrn.metainfo.xml | 81 +++++++++++++++++++ ...n-server.yml => io.github.wivrn.wivrn.yml} | 18 ++--- flatpak/org.meumeu.wivrn-server.appdata.xml | 49 ----------- flatpak/org.meumeu.wivrn-server.desktop | 9 --- 7 files changed, 100 insertions(+), 72 deletions(-) create mode 100644 flatpak/io.github.wivrn.wivrn.desktop create mode 100644 flatpak/io.github.wivrn.wivrn.metainfo.xml rename flatpak/{org.meumeu.wivrn-server.yml => io.github.wivrn.wivrn.yml} (92%) delete mode 100644 flatpak/org.meumeu.wivrn-server.appdata.xml delete mode 100644 flatpak/org.meumeu.wivrn-server.desktop diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index d66b0f52..ef3856dd 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -87,7 +87,7 @@ jobs: # TODO: replace with version > v6.3 when it's released - uses: flatpak/flatpak-github-actions/flatpak-builder@b8be6bc0ede43cb3a2cc55895654312b14f84a0d with: - manifest-path: flatpak/org.meumeu.wivrn-server.yml + manifest-path: flatpak/io.github.wivrn.wivrn.yml bundle: wivrn-server.flatpak upload-artifact: false diff --git a/build.gradle b/build.gradle index 2b147a86..3502f00b 100644 --- a/build.gradle +++ b/build.gradle @@ -57,11 +57,11 @@ task "generatePngs"() { } android { - namespace "org.meumeu.wivrn" + namespace "io.github.wivrn.client" ndkVersion "26.1.10909125" defaultConfig { - applicationId "org.meumeu.wivrn" + applicationId "io.github.wivrn.client" // for Vulkan, need at least 24 // for AImage_getHardwareBuffer, API 26 minSdkVersion 29 diff --git a/flatpak/io.github.wivrn.wivrn.desktop b/flatpak/io.github.wivrn.wivrn.desktop new file mode 100644 index 00000000..55516c44 --- /dev/null +++ b/flatpak/io.github.wivrn.wivrn.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=WiVRn server +Comment=Play your PC VR games on a standalone headset +GenericName=WiVRn server +Exec=launch-wivrn-server +Icon=io.github.wivrn.wivrn +Type=Application +Categories=ConsoleOnly +Terminal=true diff --git a/flatpak/io.github.wivrn.wivrn.metainfo.xml b/flatpak/io.github.wivrn.wivrn.metainfo.xml new file mode 100644 index 00000000..bde30deb --- /dev/null +++ b/flatpak/io.github.wivrn.wivrn.metainfo.xml @@ -0,0 +1,81 @@ + + + io.github.wivrn.wivrn + WiVRn server + FSFAP + GPL-3.0-or-later + Play your PC VR games on a standalone headset + +

WiVRn allows you to run your VR games from your PC and play them from a standalone headset.

+ +

You will need to install the WiVRn client on your headset from the APK on Github.

+ +

Supported headsets:

+
    +
  • Meta Quest 1
  • +
  • Meta Quest 2
  • +
  • Meta Quest 3
  • +
  • Meta Quest Pro
  • +
  • Pico Neo 3
  • +
  • Pico Neo 4
  • +
  • HTC Vive Focus 3
  • +
  • HTC Vive XR Elite
  • +
+

Features:

+
    +
  • Supports OpenXR and OpenVR applications
  • +
  • Controller tracking, hand tracking, eye gaze tracking (if supported by the headset)
  • +
  • Audio streaming and microphone
  • +
  • Video streaming with H264 / HEVC / AV1 compression
  • +
  • Hardware accelerated compression with VAAPI or NVENC
  • +
  • Software compression with x264
  • +
+
+ + Guillaume Meunier, Patrick Nicolas et al + + + #F6F5F5 + #424242 + + + io.github.wivrn.wivrn.desktop + + https://www.github.com/WiVRn/WiVRn + + io.github.wivrn.wivrn + + + launch-wivrn-server + + + + + + + https://github.com/WiVRn/WiVRn/releases/tag/v0.18 + +
    +
  • The standard APK is now compatible with Pico headsets
  • +
  • Fixes for position on start and reconnect
  • +
  • Support for EXT_eye_gaze_interaction by @galister
  • +
  • Better support for libmonado, now discoverable in manifest
  • +
  • Server can now be distributed as a flatpak
  • +
+
+
+ + + https://github.com/WiVRn/WiVRn/releases/tag/v0.17 + +
    +
  • Add systemd hardening options by @Pandapip1
  • +
  • update monado to 24.0.0 by @galister
  • +
  • Update building doc by @SanyaNya
  • +
  • Multiple tweaks for controller tracking, audio resync
  • +
  • Minor performance improvements
  • +
+
+
+
+
diff --git a/flatpak/org.meumeu.wivrn-server.yml b/flatpak/io.github.wivrn.wivrn.yml similarity index 92% rename from flatpak/org.meumeu.wivrn-server.yml rename to flatpak/io.github.wivrn.wivrn.yml index 676ca774..ab4e195b 100644 --- a/flatpak/org.meumeu.wivrn-server.yml +++ b/flatpak/io.github.wivrn.wivrn.yml @@ -1,4 +1,4 @@ -id: org.meumeu.wivrn-server +id: io.github.wivrn.wivrn runtime: org.freedesktop.Platform runtime-version: '23.08' sdk: org.freedesktop.Sdk @@ -140,6 +140,10 @@ modules: - type: shell commands: - cd deps/monado-src && ../../patches/apply.sh ../../patches/monado + build-commands: + - install -DTm644 images/wivrn.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/io.github.wivrn.wivrn.svg + - install -Dm644 flatpak/io.github.wivrn.wivrn.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo + - install -Dm644 flatpak/io.github.wivrn.wivrn.desktop -t ${FLATPAK_DEST}/share/applications - name: opencomposite buildsystem: cmake-ninja @@ -157,7 +161,7 @@ modules: - name: launcher buildsystem: simple build-commands: - - install -Dm755 launch-wivrn-server.sh ${FLATPAK_DEST}/bin/launch-wivrn-server + - install -Dm755 launch-wivrn-server.sh ${FLATPAK_DEST}/bin/launch-wivrn-server sources: - type: script dest-filename: launch-wivrn-server.sh @@ -167,14 +171,6 @@ modules: - chmod -w $XDG_CONFIG_HOME/openvr/openvrpaths.vrpath - wivrn-server - - name: appdata - buildsystem: simple - build-commands: - - install -Dm644 org.meumeu.wivrn-server.appdata.xml -t ${FLATPAK_DEST}/share/appdata - sources: - - type: file - path: org.meumeu.wivrn-server.appdata.xml - cleanup: - /lib/pkgconfig - /share/pkgconfig @@ -193,7 +189,7 @@ finish-args: - --socket=fallback-x11 # Wayland access - --socket=wayland - # GPU acceleration if needed + # GPU acceleration - --device=dri # Needs to talk to the network - --share=network diff --git a/flatpak/org.meumeu.wivrn-server.appdata.xml b/flatpak/org.meumeu.wivrn-server.appdata.xml deleted file mode 100644 index bc51af15..00000000 --- a/flatpak/org.meumeu.wivrn-server.appdata.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - org.meumeu.wivrn-server - WiVRn server - FSFAP - GPL-3.0+ - The WiVRn server -

Server component of the WiVRn OpenXR streaming system

- - Guillaume Meunier, Patrick Nicolas et al - - - - https://www.github.org/Meumeu/WiVRn - - - launch-wivrn-server - - - - - - - https://github.com/Meumeu/WiVRn/releases/tag/v0.18 - -
    -
  • The standard APK is now compatible with Pico headsets
  • -
  • Fixes for position on start and reconnect
  • -
  • Support for EXT_eye_gaze_interaction by @galister
  • -
  • Better support for libmonado, now discoverable in manifest
  • -
  • Server can now be distributed as a flatpak
  • -
-
-
- - - https://github.com/Meumeu/WiVRn/releases/tag/v0.17 - -
    -
  • Add systemd hardening options by @Pandapip1
  • -
  • update monado to 24.0.0 by @galister
  • -
  • Update building doc by @SanyaNya
  • -
  • Multiple tweaks for controller tracking, audio resync
  • -
  • Minor performance improvements
  • -
-
-
-
-
diff --git a/flatpak/org.meumeu.wivrn-server.desktop b/flatpak/org.meumeu.wivrn-server.desktop deleted file mode 100644 index 91c17305..00000000 --- a/flatpak/org.meumeu.wivrn-server.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=WiVRn server -Comment=TBD -GenericName=TBD -Exec=launch-wivrn-server -Icon=org.meumeu.wivrn -Type=Application -Categories=ConsoleOnly -Keywords=wivrn;