diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-libs/octomap | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-libs/octomap')
-rw-r--r-- | sci-libs/octomap/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/octomap/metadata.xml | 17 | ||||
-rw-r--r-- | sci-libs/octomap/octomap-1.6.8.ebuild | 81 | ||||
-rw-r--r-- | sci-libs/octomap/octomap-9999.ebuild | 81 |
4 files changed, 180 insertions, 0 deletions
diff --git a/sci-libs/octomap/Manifest b/sci-libs/octomap/Manifest new file mode 100644 index 000000000000..b0a45380b795 --- /dev/null +++ b/sci-libs/octomap/Manifest @@ -0,0 +1 @@ +DIST octomap-1.6.8.tar.gz 1588042 SHA256 833adba0d3b203cab0e28a0180490e74bc852a7fea9adf6ee53bbfb8f10bc79a SHA512 43c049f6b53081b83bbf0a38c2f319dc2fb3d799dafb3f45779b2e615d0ac1f6d83bfba592abd93afe34cc51ac39d9081bd7e20f69c4390b68fcc8386a1cb68d WHIRLPOOL f27ad8efbaba51d02d7f1e856607d5a1890354aa2bc172bf20341148c6503cefdb06aacb39c8345de80dd54e6a8f91e59aa254c60b67e9a76c546813aaabca2c diff --git a/sci-libs/octomap/metadata.xml b/sci-libs/octomap/metadata.xml new file mode 100644 index 000000000000..5541175aa45b --- /dev/null +++ b/sci-libs/octomap/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>aballier@gentoo.org</email> + <name>Alexis Ballier</name> + </maintainer> + <longdescription lang="en"> + The OctoMap library implements a 3D occupancy grid mapping approach, providing data structures and mapping algorithms in C++ particularly suited for robotics. +</longdescription> + <use> + <flag name="dynamicEDT3D">Build and install dynamicEDT3D library: A library for incrementally updatable Euclidean distance transforms in 3D.</flag> + </use> + <upstream> + <remote-id type="github">OctoMap/octomap</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-libs/octomap/octomap-1.6.8.ebuild b/sci-libs/octomap/octomap-1.6.8.ebuild new file mode 100644 index 000000000000..91e77e07eb1b --- /dev/null +++ b/sci-libs/octomap/octomap-1.6.8.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="http://github.com/OctoMap/octomap" +fi + +inherit ${SCM} cmake-utils + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="http://github.com/OctoMap/octomap/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="An Efficient Probabilistic 3D Mapping Framework Based on Octrees" +HOMEPAGE="http://octomap.github.io/" +IUSE="qt4 dynamicEDT3D doc" +LICENSE="BSD qt4? ( GPL-2 )" +SLOT="0" + +RDEPEND=" + qt4? ( + virtual/opengl + dev-qt/qtcore:4 + dev-qt/qtgui:4 + x11-libs/libQGLViewer + ) +" +DEPEND="${RDEPEND} + doc? ( + app-doc/doxygen + media-gfx/graphviz + ) +" + +src_prepare() { + sed -e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/' \ + -i */CMakeLists.txt \ + -i */CMakeModules/InstallPkgConfigFile.cmake || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + "-DBUILD_OCTOVIS_SUBPROJECT=$(usex qt4 ON OFF)" + "-DBUILD_DYNAMICETD3D_SUBPROJECT=$(usex dynamicEDT3D ON OFF)" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + if use doc ; then + cd "${BUILD_DIR}/octomap" + emake docs + if use dynamicEDT3D ; then + cd "${BUILD_DIR}/dynamicEDT3D" + emake docs_dynamicEDT3D + fi + fi +} + +src_install() { + cmake-utils_src_install + if use doc ; then + insinto /usr/share/doc/${PF}/html/octomap + doins -r "${S}/octomap/doc/html/"* + if use dynamicEDT3D ; then + insinto /usr/share/doc/${PF}/html/dynamicEDT3D + doins -r "${S}/dynamicEDT3D/doc/html/"* + fi + fi +} diff --git a/sci-libs/octomap/octomap-9999.ebuild b/sci-libs/octomap/octomap-9999.ebuild new file mode 100644 index 000000000000..91e77e07eb1b --- /dev/null +++ b/sci-libs/octomap/octomap-9999.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="http://github.com/OctoMap/octomap" +fi + +inherit ${SCM} cmake-utils + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="http://github.com/OctoMap/octomap/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="An Efficient Probabilistic 3D Mapping Framework Based on Octrees" +HOMEPAGE="http://octomap.github.io/" +IUSE="qt4 dynamicEDT3D doc" +LICENSE="BSD qt4? ( GPL-2 )" +SLOT="0" + +RDEPEND=" + qt4? ( + virtual/opengl + dev-qt/qtcore:4 + dev-qt/qtgui:4 + x11-libs/libQGLViewer + ) +" +DEPEND="${RDEPEND} + doc? ( + app-doc/doxygen + media-gfx/graphviz + ) +" + +src_prepare() { + sed -e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/' \ + -i */CMakeLists.txt \ + -i */CMakeModules/InstallPkgConfigFile.cmake || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + "-DBUILD_OCTOVIS_SUBPROJECT=$(usex qt4 ON OFF)" + "-DBUILD_DYNAMICETD3D_SUBPROJECT=$(usex dynamicEDT3D ON OFF)" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + if use doc ; then + cd "${BUILD_DIR}/octomap" + emake docs + if use dynamicEDT3D ; then + cd "${BUILD_DIR}/dynamicEDT3D" + emake docs_dynamicEDT3D + fi + fi +} + +src_install() { + cmake-utils_src_install + if use doc ; then + insinto /usr/share/doc/${PF}/html/octomap + doins -r "${S}/octomap/doc/html/"* + if use dynamicEDT3D ; then + insinto /usr/share/doc/${PF}/html/dynamicEDT3D + doins -r "${S}/dynamicEDT3D/doc/html/"* + fi + fi +} |