sci-libs/octomap: Drop 1.8.1

Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
Andreas Sturmlechner
2018-02-27 23:31:37 +01:00
parent 2c0036af80
commit 364e5fe712
2 changed files with 0 additions and 88 deletions

View File

@@ -1,2 +1 @@
DIST octomap-1.8.1.tar.gz 1679526 BLAKE2B 89d71ca43ce4e353d8cf758420907c8bb1e11aa42854178174594d03aaf04ed753a35c6e4ffc60a5ebe0297307aedee92bd69138af8598a8b5ae7ac716193c44 SHA512 e35567da0d6741747abbc87de49733d0e92bae8aedfe66a63766740cc6566f3cfdbc3c986369177497cc9a8fb208ed9b727da496cec48e2ad23328df06fbc8d6
DIST octomap-1.9.0.tar.gz 1682421 BLAKE2B a299b4a956d5f9b6a67b05548f2239ad1181a4a1e673e5868d56d6e2d8f0101b2c75b114d1b7995c244c138fe04c8972104c25ca2f4ca6f75639f7326f06d8d7 SHA512 335a4ee3fe20f456afd2d8491f8fe6cfc2527d6e26aa690a69a39c1468e41d312fd84c85a1247deb11f513b9d50b8c69d34b46876f8257c205b0a99bac826237

View File

@@ -1,87 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
SCM=""
if [ "${PV#9999}" != "${PV}" ] ; then
SCM="git-r3"
EGIT_REPO_URI="https://github.com/OctoMap/octomap"
fi
inherit ${SCM} cmake-utils
if [ "${PV#9999}" != "${PV}" ] ; then
KEYWORDS=""
SRC_URI=""
else
KEYWORDS="~amd64 ~arm"
SRC_URI="https://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
insinto /usr/share/ros_packages/${PN}
doins "${ED}/usr/share/${PN}/package.xml"
if use qt4; then
insinto /usr/share/ros_packages/octovis
doins "${ED}/usr/share/octovis/package.xml"
fi
}