Custom Arch Linux PKGBUILD for Intel® RealSense™ SDK 2.0 (librealsense), with a patch to fix a missing header file that caused build failures in the official AUR package. This is not an official package.
The official AUR package for librealsense2
failed to build due to a missing header file (<cstdint>
), which resulted in error like:
/home/pika/.cache/yay/librealsense/src/librealsense-2.55.1/src/core/frame-interface.h:27:19: error: ‘uint8_t’ does not name a type
27 | virtual const uint8_t * get_frame_data() const = 0;
| ^~~
/home/pika/.cache/yay/librealsense/src/librealsense-2.55.1/src/core/frame-interface.h:6:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’;
this is probably fixable by adding ‘#include <cstdint>’
Download the latest .pkg.tar.zst file from the Releases page.
Install the package using pacman:
sudo pacman -U librealsense-2.55.1-2-x86_64.pkg.tar.zst
-
Clone this repository:
git clone https://github.com/srindot/librealsense-patched.git cd librealsense-patched
-
Build and install the package:
makepkg -si
This package is used to capture video and images from Intel® RealSense™ cameras.
To use your camera:
- Connect your Intel RealSense camera to your computer using a USB 3.0.
- Once the camera is connected, verify its functionality by running the following command:
realsense-viewer
- The RealSense Viewer application will open, allowing you to view live streams, capture photos, and record videos from your camera.
Make sure your camera is properly connected and detected before launching the viewer.
- Intel RealSense for the original SDK
- Community contributors for the patch
This repository contains packaging scripts and patches.
See the upstream librealsense license for details.