feat(flatpak): enable WIVRN_FEATURE_SOLARXR

This commit is contained in:
Vindicus999
2025-09-25 00:00:00 -04:00
parent 72e8989889
commit 450cbbe71a
+9 -9
View File
@@ -25,8 +25,10 @@ finish-args:
- --system-talk-name=org.freedesktop.hostname1 - --system-talk-name=org.freedesktop.hostname1
# List applications from $XDG_DATA_DIRS # List applications from $XDG_DATA_DIRS
- --filesystem=host-os:ro - --filesystem=host-os:ro
- --filesystem=xdg-data:ro - --filesystem=xdg-data/applications:ro
# List flatpak Steam games # List Steam games
- --filesystem=xdg-data/Steam:ro
- --filesystem=~/.steam:ro
- --filesystem=~/.var/app/com.valvesoftware.Steam:ro - --filesystem=~/.var/app/com.valvesoftware.Steam:ro
# Pipewire # Pipewire
- --filesystem=xdg-run/pipewire-0 - --filesystem=xdg-run/pipewire-0
@@ -36,6 +38,7 @@ finish-args:
# SlimeVR # SlimeVR
- --filesystem=xdg-run/SlimeVRInput - --filesystem=xdg-run/SlimeVRInput
- --filesystem=xdg-run/SlimeVRRpc - --filesystem=xdg-run/SlimeVRRpc
- --filesystem=xdg-run/app/dev.slimevr.SlimeVR
# Let outside application access the WiVRn socket # Let outside application access the WiVRn socket
- --filesystem=xdg-run/wivrn:create - --filesystem=xdg-run/wivrn:create
- --own-name=io.github.wivrn.Server - --own-name=io.github.wivrn.Server
@@ -282,7 +285,7 @@ modules:
sources: sources:
- type: git - type: git
url: https://gitlab.com/znixian/OpenOVR.git url: https://gitlab.com/znixian/OpenOVR.git
tag: 538639b86c5c71223f11040b09479e5c0a83078c tag: cff07db75c4823afe93ed7027b03d5f7bc86f164
- name: xrizer - name: xrizer
buildsystem: simple buildsystem: simple
@@ -344,6 +347,7 @@ modules:
- -DWIVRN_BUILD_SERVER_LIBRARY=ON - -DWIVRN_BUILD_SERVER_LIBRARY=ON
- -DWIVRN_BUILD_DASHBOARD=OFF - -DWIVRN_BUILD_DASHBOARD=OFF
- -DWIVRN_BUILD_WIVRNCTL=OFF - -DWIVRN_BUILD_WIVRNCTL=OFF
- -DWIVRN_FEATURE_SOLARXR=ON
- -DWIVRN_WERROR=ON - -DWIVRN_WERROR=ON
- -DFETCHCONTENT_FULLY_DISCONNECTED=ON - -DFETCHCONTENT_FULLY_DISCONNECTED=ON
- -DFETCHCONTENT_BASE_DIR=deps - -DFETCHCONTENT_BASE_DIR=deps
@@ -354,10 +358,6 @@ modules:
- WIVRN_SRC1 - WIVRN_SRC1
WIVRN_SRC2 WIVRN_SRC2
WIVRN_SRC3 WIVRN_SRC3
- type: archive
url: BOOSTPFR_URL
dest: deps/boostpfr-src
sha256: BOOSTPFR_SHA256
- type: git - type: git
url: https://gitlab.freedesktop.org/monado/monado url: https://gitlab.freedesktop.org/monado/monado
tag: MONADO_COMMIT tag: MONADO_COMMIT
@@ -365,7 +365,6 @@ modules:
- type: shell - type: shell
commands: commands:
- cd deps/monado-src && ../../patches/apply.sh ../../patches/monado/* - cd deps/monado-src && ../../patches/apply.sh ../../patches/monado/*
- cd deps/boostpfr-src && ../../patches/apply.sh ../../flatpak/boostpfr-gcc-12-internal-compiler-error.patch
- name: wivrn - name: wivrn
buildsystem: cmake-ninja buildsystem: cmake-ninja
@@ -380,7 +379,8 @@ modules:
- -DWIVRN_USE_NVENC=ON - -DWIVRN_USE_NVENC=ON
- -DWIVRN_USE_VULKAN_ENCODE=ON - -DWIVRN_USE_VULKAN_ENCODE=ON
- -DWIVRN_USE_PULSEAUDIO=OFF - -DWIVRN_USE_PULSEAUDIO=OFF
- -DWIVRN_FEATURE_SOLARXR=ON - -DWIVRN_USE_PIPEWIRE=ON
- -DWIVRN_USE_SYSTEM_BOOST=OFF
- -DWIVRN_WERROR=ON - -DWIVRN_WERROR=ON
- -DWIVRN_CHECK_CAPSYSNICE=OFF # Capabilities don't work inside flatpak - -DWIVRN_CHECK_CAPSYSNICE=OFF # Capabilities don't work inside flatpak
- -DFETCHCONTENT_FULLY_DISCONNECTED=ON - -DFETCHCONTENT_FULLY_DISCONNECTED=ON