Skip to content

Instantly share code, notes, and snippets.

@graugans
Created February 17, 2017 09:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save graugans/71b6f63011dcb275fd67b162f838616f to your computer and use it in GitHub Desktop.
Save graugans/71b6f63011dcb275fd67b162f838616f to your computer and use it in GitHub Desktop.
require libo3d3xx.inc
DEPENDS = "boost glog libxmlrpc"
S = "${WORKDIR}/libo3d3xx-${PV}/modules/camera"
FILES_${PN}-dev += "${prefix}/lib/o3d3xx_camera"
BBCLASSEXTEND += "native"
require libo3d3xx.inc
DEPENDS = "libo3d3xx-camera"
S = "${WORKDIR}/libo3d3xx-${PV}/modules/framegrabber"
do_fetch[depends] += "libo3d3xx-camera:do_fetch"
FILES_${PN}-dev += "${prefix}/lib/o3d3xx_framegrabber"
require libo3d3xx.inc
DEPENDS = "libo3d3xx-framegrabber opencv pcl"
S = "${WORKDIR}/libo3d3xx-${PV}/modules/image"
do_fetch[depends] += "libo3d3xx-camera:do_fetch"
EXTRA_OECMAKE += " -DBUILD_EXE_VIEWER=OFF \
-DFORCE_OPENCV2=OFF \
"
FILES_${PN}-dev += "${prefix}/lib/o3d3xx_image"
DESCRIPTION = "Drivers and libraries for the ifm efector O3D3xx"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://../../LICENSE;md5=175792518e4ac015ab6696d16c4f607e"
SRC_URI = "https://github.com/lovepark/libo3d3xx/archive/v${PV}.tar.gz \
"
SRC_URI[md5sum] = "44e28b7e6d11d7f10a0477c0bcc2c441"
SRC_URI[sha256sum] = "9778ec65ac28720d81721163fc9fb0b8c4df28ca1ae0976a2fa0132534537938"
inherit cmake
EXTRA_OECMAKE += " -DCMAKE_INSTALL_PREFIX=${prefix} \
-DBUILD_TESTS=OFF \
-DUBUNTU_VERSION:STRING=16.04 \
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment