Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/octomap/
Date: Sat, 12 Jun 2021 09:50:51
Message-Id: 1623491441.141b63735c1d7ebdbf4eb6af5638874c2a49d308.monsieurp@gentoo
1 commit: 141b63735c1d7ebdbf4eb6af5638874c2a49d308
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 22 18:31:08 2021 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 12 09:50:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=141b6373
7
8 sci-libs/octomap: drop unmaintained 9999 ebuild.
9
10 Closes: https://bugs.gentoo.org/770601
11 Closes: https://github.com/gentoo/gentoo/pull/20938
12 Package-Manager: Portage-3.0.18, Repoman-3.0.3
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
15
16 sci-libs/octomap/octomap-9999.ebuild | 90 ------------------------------------
17 1 file changed, 90 deletions(-)
18
19 diff --git a/sci-libs/octomap/octomap-9999.ebuild b/sci-libs/octomap/octomap-9999.ebuild
20 deleted file mode 100644
21 index c53f4e28eaf..00000000000
22 --- a/sci-libs/octomap/octomap-9999.ebuild
23 +++ /dev/null
24 @@ -1,90 +0,0 @@
25 -# Copyright 1999-2021 Gentoo Authors
26 -# Distributed under the terms of the GNU General Public License v2
27 -
28 -EAPI=5
29 -
30 -SCM=""
31 -if [ "${PV#9999}" != "${PV}" ] ; then
32 - SCM="git-r3"
33 - EGIT_REPO_URI="https://github.com/OctoMap/octomap"
34 -fi
35 -
36 -inherit ${SCM} cmake-utils
37 -
38 -if [ "${PV#9999}" != "${PV}" ] ; then
39 - SRC_URI=""
40 -else
41 - KEYWORDS="~amd64 ~arm"
42 - SRC_URI="https://github.com/OctoMap/octomap/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 -fi
44 -
45 -DESCRIPTION="An Efficient Probabilistic 3D Mapping Framework Based on Octrees"
46 -HOMEPAGE="http://octomap.github.io/"
47 -IUSE="qt5 dynamicEDT3D doc"
48 -LICENSE="BSD qt5? ( GPL-2 )"
49 -SLOT="0/19"
50 -
51 -RDEPEND="
52 - qt5? (
53 - virtual/opengl
54 - dev-qt/qtcore:5
55 - dev-qt/qtgui:5
56 - dev-qt/qtwidgets:5
57 - x11-libs/libQGLViewer:=
58 - )
59 -"
60 -DEPEND="${RDEPEND}
61 - doc? (
62 - app-doc/doxygen
63 - media-gfx/graphviz
64 - )
65 -"
66 -
67 -src_prepare() {
68 - sed -e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/' \
69 - -i */CMakeLists.txt \
70 - -i */CMakeModules/InstallPkgConfigFile.cmake || die
71 - sed -e 's/iewer-qt4/iewer-qt5/g' \
72 - -i octovis/CMakeModules/FindQGLViewer.cmake || die
73 - cmake-utils_src_prepare
74 -}
75 -
76 -src_configure() {
77 - local mycmakeargs=(
78 - "-DBUILD_OCTOVIS_SUBPROJECT=$(usex qt5 ON OFF)"
79 - "-DOCTOVIS_QT5=TRUE"
80 - "-DBUILD_DYNAMICETD3D_SUBPROJECT=$(usex dynamicEDT3D ON OFF)"
81 - )
82 - cmake-utils_src_configure
83 -}
84 -
85 -src_compile() {
86 - cmake-utils_src_compile
87 - if use doc ; then
88 - cd "${BUILD_DIR}/octomap"
89 - emake docs
90 - if use dynamicEDT3D ; then
91 - cd "${BUILD_DIR}/dynamicEDT3D"
92 - emake docs_dynamicEDT3D
93 - fi
94 - fi
95 -}
96 -
97 -src_install() {
98 - cmake-utils_src_install
99 - if use doc ; then
100 - insinto /usr/share/doc/${PF}/html/octomap
101 - doins -r "${S}/octomap/doc/html/"*
102 - if use dynamicEDT3D ; then
103 - insinto /usr/share/doc/${PF}/html/dynamicEDT3D
104 - doins -r "${S}/dynamicEDT3D/doc/html/"*
105 - fi
106 - fi
107 -
108 - insinto /usr/share/ros_packages/${PN}
109 - doins "${ED}/usr/share/${PN}/package.xml"
110 - if use qt5; then
111 - insinto /usr/share/ros_packages/octovis
112 - doins "${ED}/usr/share/octovis/package.xml"
113 - fi
114 -}