summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/openembedded-layer
diff options
context:
space:
mode:
Diffstat (limited to 'dynamic-layers/openembedded-layer')
-rw-r--r--dynamic-layers/openembedded-layer/recipes-core/librealsense/librealsense_2.35.2.bb30
1 files changed, 0 insertions, 30 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-core/librealsense/librealsense_2.35.2.bb b/dynamic-layers/openembedded-layer/recipes-core/librealsense/librealsense_2.35.2.bb
deleted file mode 100644
index 8571860a..00000000
--- a/dynamic-layers/openembedded-layer/recipes-core/librealsense/librealsense_2.35.2.bb
+++ /dev/null
@@ -1,30 +0,0 @@
1SUMMARY = "Intel® RealSense™ SDK"
2HOMEPAGE = "https://www.intelrealsense.com/"
3DESCRIPTION = "Intel® RealSense™ SDK 2.0 is a cross-platform library for \
4Intel® RealSense™ depth cameras (D400 series and the SR300) and the T265 \
5tracking camera"
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=a1692f06943fa281fd047a22d7e10800"
8SECTION = "lib"
9
10inherit pkgconfig cmake
11
12S = "${WORKDIR}/git"
13SRC_URI = "git://github.com/IntelRealSense/librealsense.git"
14SRCREV = "8594d09f092347a8b3d832d14e4fb631140620c5"
15
16UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+))$"
17
18EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release"
19EXTRA_OECMAKE += "-DBUILD_EXAMPLES=true"
20EXTRA_OECMAKE += "-DBUILD_GRAPHICAL_EXAMPLES=${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'true', 'false', d)}"
21EXTRA_OECMAKE += "-DBUILD_WITH_TM2=false"
22EXTRA_OECMAKE += "-DUSE_SYSTEM_LIBUSB=true"
23
24do_install_append() {
25 install -d ${D}${sysconfdir}/udev/rules.d
26 install -m 0644 ${S}/config/99-realsense-libusb.rules ${D}${sysconfdir}/udev/rules.d/99-${BPN}-libusb.rules
27}
28
29DEPENDS = "udev libusb1"
30DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'libpng libglu glfw gtk+3', '', d)}"