[oe] [meta-oe][PATCH v2] ceres-solver: add new recipe

Bartosz Golaszewski brgl at bgdev.pl
Thu Sep 14 08:14:27 UTC 2017


2017-09-13 21:02 GMT+02:00 Bartosz Golaszewski <brgl at bgdev.pl>:
> From: Bartosz Golaszewski <brgl+baylibre at bgdev.pl>
>
> Ceres Solver is an open source C++ library for modeling and solving
> large, complicated optimization problems.
>
> It's often used in 3D computer vision applications.
>
> Signed-off-by: Bartosz Golaszewski <brgl+baylibre at bgdev.pl>
> ---
> v1 -> v2:
> - now fetching the source from git, not github archives
> - only add a specific directory (cmake files) to FILES_${PN}-dev
> - don't create the ${PN} package as the project is not building
>   a shared library
>
>  .../ceres-solver/ceres-solver_1.13.bb               | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>  create mode 100644 meta-oe/recipes-support/ceres-solver/ceres-solver_1.13.bb
>
> diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.13.bb b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.13.bb
> new file mode 100644
> index 0000000..58d242a
> --- /dev/null
> +++ b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.13.bb
> @@ -0,0 +1,21 @@
> +DESCRIPTION = "Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems."
> +AUTHOR = "Sameer Agarwal and Keir Mierle and Others"
> +HOMEPAGE = "http://ceres-solver.org/"
> +
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=35e00f0c4c96a0820a03e0b31e6416be"
> +
> +SRC_URI = "git://github.com/ceres-solver/ceres-solver.git"
> +SRCREV = "19333b0f55c8462381038e70d42af43b52941128"
> +
> +S = "${WORKDIR}/git"
> +
> +DEPENDS = "libeigen glog"
> +
> +inherit cmake
> +
> +# Only a static library and headers are created
> +PACKAGES = "${PN}-dev ${PN}-staticdev ${PN}-dbg"
> +RDEPENDS_${PN}-dev = ""
> +
> +FILES_${PN}-dev += "${libdir}/cmake/*"
> --
> 2.7.4
>

Superseded by v3.

Bartosz



More information about the Openembedded-devel mailing list