mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 12:14:40 +00:00
Merge pull request #292639 from Pandapip1/patch-1
monado: Add missing optional dependencies
This commit is contained in:
commit
62c7aa01d4
@ -3,6 +3,7 @@
|
||||
, fetchFromGitLab
|
||||
, writeText
|
||||
, cmake
|
||||
, cjson
|
||||
, doxygen
|
||||
, glslang
|
||||
, pkg-config
|
||||
@ -11,6 +12,7 @@
|
||||
, bluez
|
||||
, dbus
|
||||
, eigen
|
||||
, elfutils
|
||||
, ffmpeg
|
||||
, gst-plugins-base
|
||||
, gstreamer
|
||||
@ -19,11 +21,13 @@
|
||||
, libXau
|
||||
, libXdmcp
|
||||
, libXrandr
|
||||
, libXext
|
||||
, libbsd
|
||||
, libffi
|
||||
, libjpeg
|
||||
# , librealsense
|
||||
, librealsense
|
||||
, libsurvive
|
||||
, libunwind
|
||||
, libusb1
|
||||
, libuv
|
||||
, libuvc
|
||||
@ -33,6 +37,9 @@
|
||||
, opencv4
|
||||
, openhmd
|
||||
, openvr
|
||||
, orc
|
||||
, pcre2
|
||||
, shaderc
|
||||
, udev
|
||||
, vulkan-headers
|
||||
, vulkan-loader
|
||||
@ -41,6 +48,7 @@
|
||||
, wayland-scanner
|
||||
, libdrm
|
||||
, zlib
|
||||
, zstd
|
||||
, nixosTests
|
||||
# Set as 'false' to build monado without service support, i.e. allow VR
|
||||
# applications linking against libopenxr_monado.so to use OpenXR standalone
|
||||
@ -77,8 +85,10 @@ stdenv.mkDerivation {
|
||||
buildInputs = [
|
||||
SDL2
|
||||
bluez
|
||||
cjson
|
||||
dbus
|
||||
eigen
|
||||
elfutils
|
||||
ffmpeg
|
||||
gst-plugins-base
|
||||
gstreamer
|
||||
@ -90,8 +100,9 @@ stdenv.mkDerivation {
|
||||
libbsd
|
||||
libjpeg
|
||||
libffi
|
||||
# librealsense.dev - see below
|
||||
librealsense
|
||||
libsurvive
|
||||
libunwind
|
||||
libusb1
|
||||
libuv
|
||||
libuvc
|
||||
@ -101,6 +112,9 @@ stdenv.mkDerivation {
|
||||
opencv4
|
||||
openhmd
|
||||
openvr
|
||||
orc
|
||||
pcre2
|
||||
shaderc
|
||||
udev
|
||||
vulkan-headers
|
||||
vulkan-loader
|
||||
@ -109,24 +123,14 @@ stdenv.mkDerivation {
|
||||
wayland-protocols
|
||||
libdrm
|
||||
zlib
|
||||
zstd
|
||||
];
|
||||
|
||||
# known disabled drivers:
|
||||
# - DRIVER_DEPTHAI - Needs depthai-core https://github.com/luxonis/depthai-core
|
||||
# - DRIVER_ILLIXR - needs ILLIXR headers https://github.com/ILLIXR/ILLIXR
|
||||
# - DRIVER_REALSENSE - see below
|
||||
# - DRIVER_SIMULAVR - needs realsense
|
||||
# - DRIVER_ULV2 - needs proprietary Leapmotion SDK https://api.leapmotion.com/documentation/v2/unity/devguide/Leap_SDK_Overview.html
|
||||
|
||||
# realsense is disabled, the build ends with the following error:
|
||||
#
|
||||
# CMake Error in src/xrt/drivers/CMakeLists.txt:
|
||||
# Imported target "realsense2::realsense2" includes non-existent path
|
||||
# "/nix/store/2v95aps14hj3jy4ryp86vl7yymv10mh0-librealsense-2.41.0/include"
|
||||
# in its INTERFACE_INCLUDE_DIRECTORIES.
|
||||
#
|
||||
# for some reason cmake is trying to use ${librealsense}/include
|
||||
# instead of ${librealsense.dev}/include as an include directory
|
||||
# known disabled drivers/features:
|
||||
# - DRIVER_DEPTHAI - Needs depthai-core https://github.com/luxonis/depthai-core (See https://github.com/NixOS/nixpkgs/issues/292618)
|
||||
# - DRIVER_ILLIXR - needs ILLIXR headers https://github.com/ILLIXR/ILLIXR (See https://github.com/NixOS/nixpkgs/issues/292661)
|
||||
# - DRIVER_ULV2 - Needs proprietary Leapmotion SDK https://api.leapmotion.com/documentation/v2/unity/devguide/Leap_SDK_Overview.html (See https://github.com/NixOS/nixpkgs/issues/292624)
|
||||
# - DRIVER_ULV5 - Needs proprietary Leapmotion SDK https://api.leapmotion.com/documentation/v2/unity/devguide/Leap_SDK_Overview.html (See https://github.com/NixOS/nixpkgs/issues/292624)
|
||||
|
||||
# Help openxr-loader find this runtime
|
||||
setupHook = writeText "setup-hook" ''
|
||||
|
Loading…
Reference in New Issue
Block a user