-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdepthai-ros-examples_git.bb
76 lines (60 loc) · 1.9 KB
/
depthai-ros-examples_git.bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#
# This file is the meta-husky recipe.
#
inherit ros_distro_foxy
SUMMARY = "depthai-ros-examples robot library"
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD;md5=3775480a712fc46a69647678acb234cb"
ROS_CN = "depthai-ros"
ROS_BPN = "examples"
ROS_BUILD_DEPENDS = " \
cv-bridge \
camera-info-manager \
depthai-core \
depthai-ros-msgs \
depthai-ros-bridge \
image-transport \
ros-environment \
sensor-msgs \
std-msgs \
stereo-msgs \
vision-msgs \
"
ROS_BUILDTOOL_DEPENDS = " \
ament-cmake-native \
"
export ROS_DISTRO
ROS_DISTRO = "foxy"
ROS_EXPORT_DEPENDS = ""
ROS_BUILDTOOL_EXPORT_DEPENDS = ""
ROS_EXEC_DEPENDS = " \
robot-state-publisher \
depth-image-proc \
xacro \
"
# Currently informational only -- see http://www.ros.org/reps/rep-0149.html#dependency-tags.
ROS_TEST_DEPENDS = ""
#
DEPENDS = "${ROS_BUILD_DEPENDS} ${ROS_BUILDTOOL_DEPENDS}"
# # Bitbake doesn't support the "export" concept, so build them as if we needed them to build this package (even though we actually
# # don't) so that they're guaranteed to have been staged should this package appear in another's DEPENDS.
DEPENDS += "${ROS_EXPORT_DEPENDS} ${ROS_BUILDTOOL_EXPORT_DEPENDS}"
#
RDEPENDS:${PN} += "${ROS_EXEC_DEPENDS}"
FILES:${PN}:prepend = " \
${datadir}/depthai_examples \
"
# ERROR: husky-base-1.0-r0 do_package_qa: QA Issue: -dev package husky-base-dev contains non-symlink .so '/usr/lib/libhusky_hardware.so' [dev-elf]
FILES_SOLIBSDEV = ""
FILES:${PN} += " \
${libdir}/lib*${SOLIBSDEV} \
/usr/lib/depthai_examples/ \
"
ROS_BRANCH ?= "branch=foxy"
SRC_URI = "git://github.com/luxonis/depthai-ros;${ROS_BRANCH};protocol=https \
file://0001-Disable-checksum.patch"
SRCREV = "ebc6d6ff1fbd79829c71d4609a581043774c30e0"
S = "${WORKDIR}/git/depthai_examples"
ROS_BUILD_TYPE = "ament_cmake"
inherit ros_${ROS_BUILD_TYPE}