From 396ad6863360f5710baf291b9fc9a81ab4cb5cc0 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Wed, 29 Oct 2014 10:20:24 +0000 Subject: initial import, ebuild by me Signed-off-by: aballier@gentoo.org Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0x160F534A --- sci-libs/octomap/ChangeLog | 11 +++++ sci-libs/octomap/Manifest | 15 +++++++ sci-libs/octomap/metadata.xml | 14 ++++++ sci-libs/octomap/octomap-1.6.8.ebuild | 81 +++++++++++++++++++++++++++++++++++ sci-libs/octomap/octomap-9999.ebuild | 81 +++++++++++++++++++++++++++++++++++ 5 files changed, 202 insertions(+) create mode 100644 sci-libs/octomap/ChangeLog create mode 100644 sci-libs/octomap/Manifest create mode 100644 sci-libs/octomap/metadata.xml create mode 100644 sci-libs/octomap/octomap-1.6.8.ebuild create mode 100644 sci-libs/octomap/octomap-9999.ebuild (limited to 'sci-libs') diff --git a/sci-libs/octomap/ChangeLog b/sci-libs/octomap/ChangeLog new file mode 100644 index 000000000000..d802f209528e --- /dev/null +++ b/sci-libs/octomap/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-libs/octomap +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/octomap/ChangeLog,v 1.1 2014/10/29 10:20:20 aballier Exp $ + +*octomap-9999 (29 Oct 2014) +*octomap-1.6.8 (29 Oct 2014) + + 29 Oct 2014; Alexis Ballier +octomap-1.6.8.ebuild, + +octomap-9999.ebuild, +metadata.xml: + initial import, ebuild by me + diff --git a/sci-libs/octomap/Manifest b/sci-libs/octomap/Manifest new file mode 100644 index 000000000000..ff3dd3559ef3 --- /dev/null +++ b/sci-libs/octomap/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST octomap-1.6.8.tar.gz 1588042 SHA256 833adba0d3b203cab0e28a0180490e74bc852a7fea9adf6ee53bbfb8f10bc79a SHA512 43c049f6b53081b83bbf0a38c2f319dc2fb3d799dafb3f45779b2e615d0ac1f6d83bfba592abd93afe34cc51ac39d9081bd7e20f69c4390b68fcc8386a1cb68d WHIRLPOOL f27ad8efbaba51d02d7f1e856607d5a1890354aa2bc172bf20341148c6503cefdb06aacb39c8345de80dd54e6a8f91e59aa254c60b67e9a76c546813aaabca2c +EBUILD octomap-1.6.8.ebuild 1751 SHA256 d0000b175b3e006492bf7ac483eda9a85f1168b9a2180cd3a722ca4de0232a55 SHA512 f071351993da198383e625c3db07d24aab8a605902de56c5a5c437ca451b572ea9db2fc9d302902a3a4e95afe9ac0732ff8351ff5cdbaba6ebec54e294c2589f WHIRLPOOL dc236471ac0a538b948100327757887f5e4fd016e9b7036878766f768be3f1dec69026d71b2f55d81c4188819b390e5ef4d88fc855e418755ec2e60f1269b59f +EBUILD octomap-9999.ebuild 1750 SHA256 fe503ceae111a227ebc69d3a029a1ed98d5324d3c0c91eba9b90ff5559416b84 SHA512 c3b634aa432c3ced220fc825d8c85293e49dc6bddb7934492387622b36ad7a5e8117010631fc24d0f8a9cb6693f7c77fee0fb11bb90ac1e546d7d16400f69e7d WHIRLPOOL d3b737172e64f7f7eb92a01099915f3b4786ff419c915344f236c53bf45072f1a36138641d56772f2dbf6e1762eb3e1a6abef4d7eb18f8253e5c80ec058a4fba +MISC ChangeLog 411 SHA256 3b4f32b86a6de770c0dba7d084f4831d0f0c7b01770b0935b8109e7942a082f0 SHA512 b68c78ce85df248d331ef3a4cb1a6f7f44dc7c51a66ca60f1e49f458443c04369bbb42785526ad67620f45d677e6a1fed739895250d98aa5ab1812c2cf46fd15 WHIRLPOOL d6a7ff375042bbd08492e6fd8f4ca56b6b92013c9d8f38063d84c9f1411c9dfca2262517fb56b5602a1df1e4dad6bfb3c49596673a440f78e870da4bc91e6776 +MISC metadata.xml 605 SHA256 dd39471b5d90848359ff8025be0aa9e58ae2ccd5726bddaef117b2248fdabad9 SHA512 339b811b83ad64e322e8aefeb2b33f6224d6f9107985213ceab8f46164391299177499b7c5c5b14f1f70ec4dc8e617a424c870446131eefa5e941148e3b893a2 WHIRLPOOL 8e8e902310e5a611f14b7e186d9142c819df015cdafc655690a992b727a6dea005faf85e199a791cb483105a96f0887331ad8c4d4b2cf2d3934974da915e23ad +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlRQv2UACgkQvFcC4BYPU0p1pQCeLgzpIsOYeF4AkIKYfvhO6siM +elQAoMbq6d4PCp9wAmKePhFmYYUtVqSc +=9Yec +-----END PGP SIGNATURE----- diff --git a/sci-libs/octomap/metadata.xml b/sci-libs/octomap/metadata.xml new file mode 100644 index 000000000000..4bcb0dae33dc --- /dev/null +++ b/sci-libs/octomap/metadata.xml @@ -0,0 +1,14 @@ + + + + +aballier@gentoo.org +Alexis Ballier + + + The OctoMap library implements a 3D occupancy grid mapping approach, providing data structures and mapping algorithms in C++ particularly suited for robotics. + + + Build and install dynamicEDT3D library: A library for incrementally updatable Euclidean distance transforms in 3D. + + 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..ee432d7d2af7 --- /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 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/octomap/octomap-1.6.8.ebuild,v 1.1 2014/10/29 10:20:20 aballier Exp $ + +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" + 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..878ff4441bc1 --- /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 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/octomap/octomap-9999.ebuild,v 1.1 2014/10/29 10:20:20 aballier Exp $ + +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" + 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 +} -- cgit v1.2.3-65-gdbad