Patched layer.h builds without errors.
I wonder if PKGBUILD could be cleaned?
Remove pkgver(){}
as stated earlier
Maybe remove sed -i 's:../../../lib64/libalvr_vulkan_layer.so:libalvr_vulkan_layer.so:' alvr/vulkan_layer/layer/alvr_x86_64.json
and echo "[profile.release] lto=true" >> Cargo.toml
from prepare(){}
Maybe remove all export VARIABLE
from build(){}
Replace cargo build ...
with cargo xtask build-server --release
With all the cleaning looks like the package builds and runs the same.
Pinned Comments
m00nw4tch3r commented on 2024-09-03 10:22 (UTC)
Troubleshooting Guide: https://github.com/alvr-org/ALVR/wiki/Linux-Troubleshooting
DocMAX commented on 2024-09-01 10:41 (UTC)
Needs PRESSURE_VESSEL_FILESYSTEMS_RO="/usr/lib/steamvr/alvr/" to make it work. Please include this.