[meta-intel] [PATCH] librealsense: Initial recipe for Intel Real Sense SDK
Ankit Navik
ankit.tarot at gmail.com
Sat Oct 19 02:53:27 PDT 2019
Hi Naveen
Thank you for the information.
Let me submit to the dynamic layer
On Wed, Oct 16, 2019 at 12:07 PM Saini, Naveen Kumar <
naveen.kumar.saini at intel.com> wrote:
> Hi Ankit
>
> On 10/13/19 7:59 PM, Ankit Navik wrote:
> > The recipe has dependency on glfw.
> > glfw: https://patchwork.openembedded.org/patch/165757/
> > is under review.
>
> If the glfw dependency is in meta-openembedded/meta-oe layer than this
> recipe should go to meta-oe. If this has to go in meta-intel layer then
> it should be under dynamic-layers.
>
> >
> > On Sun, Oct 13, 2019 at 5:27 PM Ankit Navik <ankit.tarot at gmail.com
> > <mailto:ankit.tarot at gmail.com>> wrote:
> >
> > It adds generic recipe for Intel Real Sense SDK.
> >
> > Signed-off-by: Ankit Navik <ankit.tarot at gmail.com
> > <mailto:ankit.tarot at gmail.com>>
> > ---
> > conf/include/maintainers.inc | 1 +
> > recipes-core/librealsense/librealsense_2.29.0.bb
> > <http://librealsense_2.29.0.bb> | 28 ++++++++++++++++++++++++
> > 2 files changed, 29 insertions(+)
> > create mode 100644
> > recipes-core/librealsense/librealsense_2.29.0.bb
> > <http://librealsense_2.29.0.bb>
> >
> > diff --git a/conf/include/maintainers.inc
> b/conf/include/maintainers.inc
> > index d3ec479..cee013d 100644
> > --- a/conf/include/maintainers.inc
> > +++ b/conf/include/maintainers.inc
> > @@ -22,3 +22,4 @@ RECIPE_MAINTAINER_pn-metrics-discovery = "Ankit
> > Navik <ankit.tarot at gmail.com <mailto:ankit.tarot at gmail.com>>"
> > RECIPE_MAINTAINER_pn-libxcam = "Ankit Navik <ankit.tarot at gmail.com
> > <mailto:ankit.tarot at gmail.com>>"
> > RECIPE_MAINTAINER_pn-isa-l = "Ankit Navik <ankit.tarot at gmail.com
> > <mailto:ankit.tarot at gmail.com>>"
> > RECIPE_MAINTAINER_pn-libipt = "Ankit Navik <ankit.tarot at gmail.com
> > <mailto:ankit.tarot at gmail.com>>"
> > +RECIPE_MAINTAINER_pn-librealsense = "Ankit Navik
> > <ankit.tarot at gmail.com <mailto:ankit.tarot at gmail.com>>"
> > diff --git a/recipes-core/librealsense/librealsense_2.29.0.bb
> > <http://librealsense_2.29.0.bb>
> > b/recipes-core/librealsense/librealsense_2.29.0.bb
> > <http://librealsense_2.29.0.bb>
> > new file mode 100644
> > index 0000000..4dc4f5c
> > --- /dev/null
> > +++ b/recipes-core/librealsense/librealsense_2.29.0.bb
> > <http://librealsense_2.29.0.bb>
> > @@ -0,0 +1,28 @@
> > +SUMMARY = "Intel® RealSense™ SDK"
> > +HOMEPAGE = "https://www.intelrealsense.com/"
> > +DESCRIPTION = "Intel® RealSense™ SDK 2.0 is a cross-platform
> > library for \
> > +Intel® RealSense™ depth cameras (D400 series and the SR300) and the
> > T265 \
> > +tracking camera"
> > +LICENSE = "Apache-2.0"
> > +LIC_FILES_CHKSUM =
> > "file://LICENSE;md5=a1692f06943fa281fd047a22d7e10800"
> > +SECTION = "lib"
> > +
> > +inherit pkgconfig cmake
> > +
> > +S = "${WORKDIR}/git"
> > +SRC_URI = "git://github.com/IntelRealSense/librealsense.git
> > <http://github.com/IntelRealSense/librealsense.git>"
> > +SRCREV = "81d469db173dd682d3bada9bd7c7570db0f7cf76"
> > +
> > +EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release"
> > +EXTRA_OECMAKE += "-DBUILD_EXAMPLES=true"
> > +EXTRA_OECMAKE +=
> > "-DBUILD_GRAPHICAL_EXAMPLES=${@bb.utils.contains('DISTRO_FEATURES',
> > 'x11 opengl', 'true', 'false', d)}"
> > +EXTRA_OECMAKE += "-DBUILD_WITH_TM2=false"
> > +EXTRA_OECMAKE += "-DUSE_SYSTEM_LIBUSB=true"
> > +
> > +do_install_append() {
> > + install -d ${D}${sysconfdir}/udev/rules.d
> > + install -m 0644 ${S}/config/99-realsense-libusb.rules
> > ${D}${sysconfdir}/udev/rules.d/99-${BPN}-libusb.rules
> > +}
> > +
> > +DEPENDS = "udev libusb1"
> > +DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl',
> > 'libpng libglu glfw gtk+3', '', d)}"
> > --
> > 2.7.4
> >
> >
> --
> _______________________________________________
> meta-intel mailing list
> meta-intel at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-intel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-intel/attachments/20191019/e9160dfe/attachment.html>
More information about the meta-intel
mailing list