Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also builds realsense-viewer #18

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ cmake -GNinja \
-DENABLE_CCACHE=OFF \
-DBUILD_WITH_OPENMP=OFF \
-DFORCE_RSUSB_BACKEND=ON \
-DBUILD_EXAMPLES=OFF \
-DBUILD_EXAMPLES=ON \
-DBUILD_GRAPHICAL_EXAMPLES=ON \
-DBUILD_UNIT_TESTS=OFF \
-DCHECK_FOR_UPDATES=OFF \
$SRC_DIR

cmake --build . --config Release
Expand Down
16 changes: 16 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ package:
source:
- url: https://github.com/IntelRealSense/librealsense/archive/v{{ version }}.tar.gz
sha256: 2578ea0e75546aeebd908da732f52e0122bf37750d5a45f3adf92945a673aefd
patches:
- patches/0001_no_rosbag_inspector.patch

build:
number: 0
Expand All @@ -23,8 +25,22 @@ requirements:
- cmake
- ninja
- {{ cdt('libudev') }} # [linux]

- {{ cdt('mesa-libgl-devel') }} # [linux]
- {{ cdt('mesa-dri-drivers') }} # [linux]
- {{ cdt('libselinux') }} # [linux]
- {{ cdt('libxdamage') }} # [linux]
- {{ cdt('libxxf86vm') }} # [linux]
- {{ cdt('libxext') }} # [linux]
- {{ cdt('expat-devel') }} # [linux]
host:
- libusb
- glfw
- xorg-libxfixes # [linux]
- libglu
run:
- glfw
- libglu


test:
Expand Down
13 changes: 13 additions & 0 deletions recipe/patches/0001_no_rosbag_inspector.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index b1b967af2..31a1ae0b8 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -37,7 +37,7 @@ if(BUILD_EXAMPLES)
add_subdirectory(data-collect)
add_subdirectory(realsense-viewer)
add_subdirectory(depth-quality)
- add_subdirectory(rosbag-inspector)
+ #add_subdirectory(rosbag-inspector)
add_subdirectory(benchmark)
else()
if(ANDROID_NDK_TOOLCHAIN_INCLUDED)