OpenXR is a royalty-free, open standard that provides high-performance access
to Augmented Reality (AR) and Virtual Reality (VR)-collectively known as
XR-platforms and devices.
graphics/openxr: Fix build after update jsoncpp, improve port
After add devel/jsoncpp/patch-jsoncpp-namespaced-targets.cmake in
9d1b7732976723160adfd2c6c4240e34555ac30c graphics/openxr fails to build
with error:
ninja: error: 'jsoncpp_lib-NOTFOUND', needed by
'src/loader/libopenxr_loader.so', missing and no known rule to make it
- Switch to use shared library jsoncpp instead of static.
- Update compiler requirements in USES.
- Ensure that tests aren't picked up in some weird way (not included in
repo).
PR: 298099
Sponsored by: UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
graphics/openxr: new port - required for games/lwjgl3
OpenXR provides access to Augmented and Virtual Reality (XR-platforms).
This port required for build lwjgl 3, and lwjgl 3 required for Java
Minecraft Client 1.20.x run on FreeBSD without linux compatibility layer.
PR: 275279269879269900
Approved by: arrowd (mentor)
Differential Revision: https://reviews.freebsd.org/D44119