From 4f62537a4d0d21602b6a7066ddd84bf18b225427 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 26 Mar 2026 13:22:10 +0000 Subject: automatic import of librealsense2 --- .gitignore | 1 + librealsense2-2.57.7.tar.gz | 3 --- librealsense2.spec | 13 +++++++------ sources | 1 + 4 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 librealsense2-2.57.7.tar.gz diff --git a/.gitignore b/.gitignore index e69de29..bd93d43 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/librealsense2-2.57.7.tar.gz diff --git a/librealsense2-2.57.7.tar.gz b/librealsense2-2.57.7.tar.gz deleted file mode 100644 index e6404cc..0000000 --- a/librealsense2-2.57.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3f8d992152d3b09b5bb89dd2b166ca21da571f7dfdd696e78f22f28f8be1b61d -size 33423115 diff --git a/librealsense2.spec b/librealsense2.spec index 43d0794..56a7bea 100644 --- a/librealsense2.spec +++ b/librealsense2.spec @@ -20,15 +20,13 @@ License: Apache License, Version 2.0 Patch1: 0-librealsense2-fix-threads-not-found.patch Patch2: 0-librealsense2-add-riscv-arch.patch Patch3: disable-lto.patch -Source0: %{RosPkgName}-%{version}.tar.gz +Source0: https://github.com/IntelRealSense/librealsense/archive/refs/tags/v2.57.7.tar.gz#/librealsense2-2.57.7.tar.gz -Requires: libx11 -Requires: libglfw3-dev +Requires: libX11-devel Requires: mesa-libGL-devel Requires: ros-%{ros_distro}-ros-workspace -BuildRequires: libx11 -BuildRequires: libglfw3-dev +BuildRequires: libX11-devel BuildRequires: mesa-libGL-devel BuildRequires: pkgconfig BuildRequires: libusbx-devel @@ -51,7 +49,7 @@ Provides: %{name}-runtime = %{version}-%{release} Library for controlling and capturing data from the Intel(R) RealSense(TM) D400 devices. %prep -%autosetup -c -n %{name}-%{version} +%autosetup -p1 -n librealsense-2.57.7 %build # Needed to bootstrap since the ros_workspace package does not yet exist. @@ -72,6 +70,9 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform} -DAMENT_PREFIX_PATH="/opt/ros/%{ros_distro}" \ -DCMAKE_PREFIX_PATH="/opt/ros/%{ros_distro}" \ -DSETUPTOOLS_DEB_LAYOUT=OFF \ + -DBUILD_EXAMPLES=OFF \ + -DBUILD_GLSL_EXTENSIONS=OFF \ + -DBUILD_GRAPHICAL_EXAMPLES=OFF \ %if !0%{?with_tests} -DBUILD_TESTING=OFF \ %endif diff --git a/sources b/sources index e69de29..8a543cf 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +37498116c456e664babec8dba74971b4 librealsense2-2.57.7.tar.gz -- cgit v1.2.3