From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-libs/octomap: octomap-9999.ebuild ChangeLog octomap-1.6.8.ebuild metadata.xml |
Date: | Wed, 29 Oct 2014 10:20:23 |
Message-Id: | 20141029102020.6C3558FE3@oystercatcher.gentoo.org |
1 | aballier 14/10/29 10:20:20 |
2 | |
3 | Added: octomap-9999.ebuild ChangeLog octomap-1.6.8.ebuild |
4 | metadata.xml |
5 | Log: |
6 | initial import, ebuild by me |
7 | |
8 | Signed-off-by: aballier@g.o |
9 | (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A) |
10 | |
11 | Revision Changes Path |
12 | 1.1 sci-libs/octomap/octomap-9999.ebuild |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/octomap/octomap-9999.ebuild?rev=1.1&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/octomap/octomap-9999.ebuild?rev=1.1&content-type=text/plain |
16 | |
17 | Index: octomap-9999.ebuild |
18 | =================================================================== |
19 | # Copyright 1999-2014 Gentoo Foundation |
20 | # Distributed under the terms of the GNU General Public License v2 |
21 | # $Header: /var/cvsroot/gentoo-x86/sci-libs/octomap/octomap-9999.ebuild,v 1.1 2014/10/29 10:20:20 aballier Exp $ |
22 | |
23 | EAPI=5 |
24 | |
25 | SCM="" |
26 | if [ "${PV#9999}" != "${PV}" ] ; then |
27 | SCM="git-r3" |
28 | EGIT_REPO_URI="http://github.com/OctoMap/octomap" |
29 | fi |
30 | |
31 | inherit ${SCM} cmake-utils |
32 | |
33 | if [ "${PV#9999}" != "${PV}" ] ; then |
34 | KEYWORDS="" |
35 | SRC_URI="" |
36 | else |
37 | KEYWORDS="~amd64" |
38 | SRC_URI="http://github.com/OctoMap/octomap/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
39 | fi |
40 | |
41 | DESCRIPTION="An Efficient Probabilistic 3D Mapping Framework Based on Octrees" |
42 | HOMEPAGE="http://octomap.github.io/" |
43 | IUSE="qt4 dynamicEDT3D doc" |
44 | LICENSE="BSD qt4? ( GPL-2 )" |
45 | SLOT="0" |
46 | |
47 | RDEPEND=" |
48 | qt4? ( |
49 | virtual/opengl |
50 | dev-qt/qtcore:4 |
51 | dev-qt/qtgui:4 |
52 | x11-libs/libQGLViewer |
53 | ) |
54 | " |
55 | DEPEND="${RDEPEND} |
56 | doc? ( |
57 | app-doc/doxygen |
58 | media-gfx/graphviz |
59 | ) |
60 | " |
61 | |
62 | src_prepare() { |
63 | sed -e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/' \ |
64 | -i */CMakeLists.txt \ |
65 | -i */CMakeModules/InstallPkgConfigFile.cmake || die |
66 | cmake-utils_src_prepare |
67 | } |
68 | |
69 | src_configure() { |
70 | local mycmakeargs=( |
71 | "-DBUILD_OCTOVIS_SUBPROJECT=$(usex qt4 ON OFF)" |
72 | "-DBUILD_DYNAMICETD3D_SUBPROJECT=$(usex dynamicEDT3D ON OFF)" |
73 | ) |
74 | cmake-utils_src_configure |
75 | } |
76 | |
77 | src_compile() { |
78 | cmake-utils_src_compile |
79 | if use doc ; then |
80 | cd "${BUILD_DIR}/octomap" |
81 | emake docs |
82 | if use dynamicEDT3D ; then |
83 | cd "${BUILD_DIR}/dynamicEDT3D" |
84 | emake docs_dynamicEDT3D |
85 | fi |
86 | fi |
87 | } |
88 | |
89 | src_install() { |
90 | cmake-utils_src_install |
91 | if use doc ; then |
92 | insinto /usr/share/doc/${PF}/html/octomap |
93 | doins -r "${S}/octomap/doc/html/"* |
94 | if use dynamicEDT3D ; then |
95 | insinto /usr/share/doc/${PF}/html/dynamicEDT3D |
96 | doins -r "${S}/dynamicEDT3D/doc/html/"* |
97 | fi |
98 | fi |
99 | } |
100 | |
101 | |
102 | |
103 | 1.1 sci-libs/octomap/ChangeLog |
104 | |
105 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/octomap/ChangeLog?rev=1.1&view=markup |
106 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/octomap/ChangeLog?rev=1.1&content-type=text/plain |
107 | |
108 | Index: ChangeLog |
109 | =================================================================== |
110 | # ChangeLog for sci-libs/octomap |
111 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
112 | # $Header: /var/cvsroot/gentoo-x86/sci-libs/octomap/ChangeLog,v 1.1 2014/10/29 10:20:20 aballier Exp $ |
113 | |
114 | *octomap-9999 (29 Oct 2014) |
115 | *octomap-1.6.8 (29 Oct 2014) |
116 | |
117 | 29 Oct 2014; Alexis Ballier <aballier@g.o> +octomap-1.6.8.ebuild, |
118 | +octomap-9999.ebuild, +metadata.xml: |
119 | initial import, ebuild by me |
120 | |
121 | |
122 | |
123 | |
124 | 1.1 sci-libs/octomap/octomap-1.6.8.ebuild |
125 | |
126 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/octomap/octomap-1.6.8.ebuild?rev=1.1&view=markup |
127 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/octomap/octomap-1.6.8.ebuild?rev=1.1&content-type=text/plain |
128 | |
129 | Index: octomap-1.6.8.ebuild |
130 | =================================================================== |
131 | # Copyright 1999-2014 Gentoo Foundation |
132 | # Distributed under the terms of the GNU General Public License v2 |
133 | # $Header: /var/cvsroot/gentoo-x86/sci-libs/octomap/octomap-1.6.8.ebuild,v 1.1 2014/10/29 10:20:20 aballier Exp $ |
134 | |
135 | EAPI=5 |
136 | |
137 | SCM="" |
138 | if [ "${PV#9999}" != "${PV}" ] ; then |
139 | SCM="git-r3" |
140 | EGIT_REPO_URI="http://github.com/OctoMap/octomap" |
141 | fi |
142 | |
143 | inherit ${SCM} cmake-utils |
144 | |
145 | if [ "${PV#9999}" != "${PV}" ] ; then |
146 | KEYWORDS="" |
147 | SRC_URI="" |
148 | else |
149 | KEYWORDS="~amd64" |
150 | SRC_URI="http://github.com/OctoMap/octomap/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
151 | fi |
152 | |
153 | DESCRIPTION="An Efficient Probabilistic 3D Mapping Framework Based on Octrees" |
154 | HOMEPAGE="http://octomap.github.io/" |
155 | IUSE="qt4 dynamicEDT3D doc" |
156 | LICENSE="BSD qt4? ( GPL-2 )" |
157 | SLOT="0" |
158 | |
159 | RDEPEND=" |
160 | qt4? ( |
161 | virtual/opengl |
162 | dev-qt/qtcore:4 |
163 | dev-qt/qtgui:4 |
164 | x11-libs/libQGLViewer |
165 | ) |
166 | " |
167 | DEPEND="${RDEPEND} |
168 | doc? ( |
169 | app-doc/doxygen |
170 | media-gfx/graphviz |
171 | ) |
172 | " |
173 | |
174 | src_prepare() { |
175 | sed -e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/' \ |
176 | -i */CMakeLists.txt \ |
177 | -i */CMakeModules/InstallPkgConfigFile.cmake || die |
178 | cmake-utils_src_prepare |
179 | } |
180 | |
181 | src_configure() { |
182 | local mycmakeargs=( |
183 | "-DBUILD_OCTOVIS_SUBPROJECT=$(usex qt4 ON OFF)" |
184 | "-DBUILD_DYNAMICETD3D_SUBPROJECT=$(usex dynamicEDT3D ON OFF)" |
185 | ) |
186 | cmake-utils_src_configure |
187 | } |
188 | |
189 | src_compile() { |
190 | cmake-utils_src_compile |
191 | if use doc ; then |
192 | cd "${BUILD_DIR}/octomap" |
193 | emake docs |
194 | if use dynamicEDT3D ; then |
195 | cd "${BUILD_DIR}/dynamicEDT3D" |
196 | emake docs_dynamicEDT3D |
197 | fi |
198 | fi |
199 | } |
200 | |
201 | src_install() { |
202 | cmake-utils_src_install |
203 | if use doc ; then |
204 | insinto /usr/share/doc/${PF}/html/octomap |
205 | doins -r "${S}/octomap/doc/html/"* |
206 | if use dynamicEDT3D ; then |
207 | insinto /usr/share/doc/${PF}/html/dynamicEDT3D |
208 | doins -r "${S}/dynamicEDT3D/doc/html/"* |
209 | fi |
210 | fi |
211 | } |
212 | |
213 | |
214 | |
215 | 1.1 sci-libs/octomap/metadata.xml |
216 | |
217 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/octomap/metadata.xml?rev=1.1&view=markup |
218 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/octomap/metadata.xml?rev=1.1&content-type=text/plain |
219 | |
220 | Index: metadata.xml |
221 | =================================================================== |
222 | <?xml version="1.0" encoding="UTF-8"?> |
223 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
224 | <pkgmetadata> |
225 | <maintainer> |
226 | <email>aballier@g.o</email> |
227 | <name>Alexis Ballier</name> |
228 | </maintainer> |
229 | <longdescription lang="en"> |
230 | The OctoMap library implements a 3D occupancy grid mapping approach, providing data structures and mapping algorithms in C++ particularly suited for robotics. |
231 | </longdescription> |
232 | <use> |
233 | <flag name="dynamicEDT3D">Build and install dynamicEDT3D library: A library for incrementally updatable Euclidean distance transforms in 3D.</flag> |
234 | </use> |
235 | </pkgmetadata> |