Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/openvdb/files/, media-gfx/openvdb/
Date: Sun, 30 Oct 2022 09:43:22
Message-Id: 1667122829.634bcfd8e0642fd39cb304825d6b8f975babad75.sam@gentoo
1 commit: 634bcfd8e0642fd39cb304825d6b8f975babad75
2 Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
3 AuthorDate: Tue Oct 25 12:40:04 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 30 09:40:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=634bcfd8
7
8 media-gfx/openvdb: drop 7.0.0-r4, 7.1.0-r5, 8.0.1-r4, 8.1.0, 8.2.0-r3
9
10 Cleanup old versions, which block removal of <openexr-3.
11
12 Closes: https://bugs.gentoo.org/878213
13 Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
14 Closes: https://github.com/gentoo/gentoo/pull/27959
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 media-gfx/openvdb/Manifest | 4 -
18 .../openvdb-7.1.0-0002-Fix-doc-install-dir.patch | 25 ----
19 .../openvdb/files/openvdb-8.0.1-glfw-libdir.patch | 12 --
20 media-gfx/openvdb/metadata.xml | 3 -
21 media-gfx/openvdb/openvdb-7.0.0-r4.ebuild | 124 -------------------
22 media-gfx/openvdb/openvdb-7.1.0-r5.ebuild | 124 -------------------
23 media-gfx/openvdb/openvdb-8.0.1-r4.ebuild | 126 -------------------
24 media-gfx/openvdb/openvdb-8.1.0.ebuild | 130 -------------------
25 media-gfx/openvdb/openvdb-8.2.0-r3.ebuild | 137 ---------------------
26 9 files changed, 685 deletions(-)
27
28 diff --git a/media-gfx/openvdb/Manifest b/media-gfx/openvdb/Manifest
29 index 5650986bf6ab..56fc94e70097 100644
30 --- a/media-gfx/openvdb/Manifest
31 +++ b/media-gfx/openvdb/Manifest
32 @@ -1,7 +1,3 @@
33 -DIST openvdb-7.0.0.tar.gz 1872744 BLAKE2B e3a8c8d51f77e115d3d397abde0860a6322d56eb6c4795c1ba39539a23aab6cf37602ce7122965fbc3098b15b118b25010263f567e8003363b78c9b7d9d5dfd8 SHA512 f5321b22b10e192012d544cc02921d3d52f621778ec5aa21ba6d450f3e29f2fdbd76486ad390a0c008394dbc6ee4aeecc04527ef30e73adf71c1a08a021746b7
34 -DIST openvdb-7.1.0.tar.gz 1956052 BLAKE2B 7778d67bcc65ecb17b86f6e67a9e5f2d6574de5869a0a9c675ad7bc8540154c0f249a91c68a9da9068a3951b3e919e5676450fcaf13921c6263e7c87012a2f29 SHA512 49806375f7e6d7b12eaba24e672a068531d2f8a05f12eba29069710d2682f9983f9e6ad26047eed4b28e337f8d0e738b90130582863c710e8dd1e720bf0addad
35 -DIST openvdb-8.0.1.tar.gz 2299276 BLAKE2B e65bd4710ff65e20570013399d1e71a32e8f80c5e3b5527fc17d23c7f86ead7e04483cf7ba5266f26343604677d3a0dcafc01474baf7ef09b98f1f41a66119a2 SHA512 6a5a8b637429295efa72494aef82ff92dd83092591b713f56930ccf4aab3a33806d1263bfd090c27239eab97b4fdc053288dc545e631f8a7d4ca180a32331be2
36 -DIST openvdb-8.1.0.tar.gz 2619432 BLAKE2B ba06e8dc24876da0ed1a2b5560e8793ad1e42b45b2018734c98c9b8f1d43bdb4aa098243a68de90efb18cb0454a9ea2a59c87f411d2c6492c5bce95dc047a6f0 SHA512 081ccedb122ff9bd73e0cd7ff083ad0ff0165e0cf6305187edcbe90ff12f01ec085c91ad5c52c53596035e0c2afd5b8801e6c00374b0fc4b0cc111f5c7f37eb5
37 DIST openvdb-8.2.0.tar.gz 2656278 BLAKE2B b381459fb770800bb03bc8a6b3122c6684ab508f11be024e0eb3951bfbcef14e626e2d4468e91ea17fd6792f23810eafe8b05e19d46eb0e6200c73ccf296116a SHA512 aed6b5884a9cfd42f72357ad090c5dcf7829b0e5672ab61e31206e889c085ce5a7bcb89476ceac552a837d394011951528e2b3cffc77baadc491a2e7a31d5e86
38 DIST openvdb-9.0.0.tar.gz 2945040 BLAKE2B c47a8088ba30d3cbecff04dbfd2d48b39a254e54149d8692c3a7157a99a1c555ef9747b77aeab6f8709b61c348d496765f2cfcbb0975e21f533072871f3fa422 SHA512 1410b7b04b03fb09d6775ebe7b95e7c0a484d5f29c84203530ed30ccb7c061470be1abb93189010617342e57f3fecdd66a115c6d222024e68e2384a7fb196194
39 DIST openvdb-9.1.0.tar.gz 3107285 BLAKE2B a30d000f14358935eadc9cad9a7904637ceb0b2e6cc53129614e3243b55748b973c29eedc09a6cc444fb754777f6ee752af22847690977eca7a84865fdbe445b SHA512 434be61b03efec5d0022594d81064dce5f67595c1e34934d79e13627e573d2819bf947ca5b433fdca134642975b83eda71b46cf802f57e135d1611dbe2e5757e
40
41 diff --git a/media-gfx/openvdb/files/openvdb-7.1.0-0002-Fix-doc-install-dir.patch b/media-gfx/openvdb/files/openvdb-7.1.0-0002-Fix-doc-install-dir.patch
42 deleted file mode 100644
43 index 73d4b1ccd422..000000000000
44 --- a/media-gfx/openvdb/files/openvdb-7.1.0-0002-Fix-doc-install-dir.patch
45 +++ /dev/null
46 @@ -1,25 +0,0 @@
47 -From 66dec67036116243893fdf74060e55b70f65ab17 Mon Sep 17 00:00:00 2001
48 -From: Bernd Waibel <waebbl@×××××.com>
49 -Date: Fri, 28 Feb 2020 21:51:30 +0100
50 -Subject: [PATCH] Fix doc install dir
51 -
52 -Signed-off-by: Bernd Waibel <waebbl@×××××.com>
53 ----
54 - doc/CMakeLists.txt | 4 ++--
55 - 1 file changed, 2 insertions(+), 2 deletions(-)
56 -
57 -diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
58 -index 1cf58ea..a6bd849 100644
59 ---- a/doc/CMakeLists.txt
60 -+++ b/doc/CMakeLists.txt
61 -@@ -64,5 +64,5 @@ add_custom_target(doc ALL
62 - )
63 -
64 - # Suppress "Installing..." messages for all but one of the hundreds of generated files.
65 --install(FILES ${CMAKE_CURRENT_BINARY_DIR}/openvdb/doc/html/index.html DESTINATION doc/html)
66 --install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/openvdb/doc/html DESTINATION doc MESSAGE_NEVER)
67 -+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/openvdb/doc/html/index.html DESTINATION ${CMAKE_INSTALL_DOCDIR}/html)
68 -+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/openvdb/doc/html DESTINATION ${CMAKE_INSTALL_DOCDIR} MESSAGE_NEVER)
69 ---
70 -2.25.1
71 -
72
73 diff --git a/media-gfx/openvdb/files/openvdb-8.0.1-glfw-libdir.patch b/media-gfx/openvdb/files/openvdb-8.0.1-glfw-libdir.patch
74 deleted file mode 100644
75 index 991c5a6a568d..000000000000
76 --- a/media-gfx/openvdb/files/openvdb-8.0.1-glfw-libdir.patch
77 +++ /dev/null
78 @@ -1,12 +0,0 @@
79 -Custom cmake file used to find GLFW always looks at lib/cmake first
80 -ignoring alternate libdirs and leads to using wrong libraries.
81 -https://bugs.gentoo.org/800200
82 ---- a/cmake/OpenVDBGLFW3Setup.cmake
83 -+++ b/cmake/OpenVDBGLFW3Setup.cmake
84 -@@ -84,5 +84,5 @@
85 - list(APPEND _GLFW3_ROOT_SEARCH_DIR ${SYSTEM_LIBRARY_PATHS})
86 -
87 --set(_GLFW3_PATH_SUFFIXES "lib/cmake/glfw3" "cmake/glfw3" "glfw3")
88 -+set(_GLFW3_PATH_SUFFIXES "cmake/glfw3" "glfw3")
89 -
90 - # GLFW 3.1 installs CMake modules into glfw instead of glfw3
91
92 diff --git a/media-gfx/openvdb/metadata.xml b/media-gfx/openvdb/metadata.xml
93 index af37d11b4eda..87defec8f82a 100644
94 --- a/media-gfx/openvdb/metadata.xml
95 +++ b/media-gfx/openvdb/metadata.xml
96 @@ -31,9 +31,6 @@
97 <flag restrict="&gt;=media-gfx/openvdb-7.0.0" name="numpy">
98 Build pyopenvdb with support for <pkg>dev-python/numpy</pkg>
99 </flag>
100 - <flag restrict="&lt;=media-gfx/openvdb-7.1.0" name="abi5-compat">
101 - Disables newer features to maintain compatibility with ABI5.
102 - </flag>
103 <flag restrict="&gt;=media-gfx/openvdb-6.0.0" name="abi6-compat">
104 Disables newer features to maintain compatibility with ABI6.
105 </flag>
106
107 diff --git a/media-gfx/openvdb/openvdb-7.0.0-r4.ebuild b/media-gfx/openvdb/openvdb-7.0.0-r4.ebuild
108 deleted file mode 100644
109 index f9b159f4213b..000000000000
110 --- a/media-gfx/openvdb/openvdb-7.0.0-r4.ebuild
111 +++ /dev/null
112 @@ -1,124 +0,0 @@
113 -# Copyright 1999-2021 Gentoo Authors
114 -# Distributed under the terms of the GNU General Public License v2
115 -
116 -EAPI=7
117 -
118 -PYTHON_COMPAT=( python3_{7,8,9} )
119 -
120 -inherit cmake flag-o-matic python-single-r1
121 -
122 -DESCRIPTION="Library for the efficient manipulation of volumetric data"
123 -HOMEPAGE="https://www.openvdb.org"
124 -SRC_URI="https://github.com/AcademySoftwareFoundation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
125 -
126 -LICENSE="MPL-2.0"
127 -SLOT="0/7"
128 -KEYWORDS="amd64 ~arm ~arm64 ~x86"
129 -IUSE="cpu_flags_x86_avx cpu_flags_x86_sse4_2 doc numpy python static-libs test utils abi5-compat abi6-compat +abi7-compat"
130 -RESTRICT="!test? ( test )"
131 -
132 -REQUIRED_USE="
133 - numpy? ( python )
134 - ^^ ( abi5-compat abi6-compat abi7-compat )
135 - python? ( ${PYTHON_REQUIRED_USE} )
136 -"
137 -# Check if newer releases work with newer TBB, bug #820788
138 -RDEPEND="
139 - <dev-cpp/tbb-2021.4.0:=
140 - dev-libs/boost:=
141 - dev-libs/c-blosc:=
142 - dev-libs/jemalloc:=
143 - dev-libs/log4cplus:=
144 - media-libs/glfw
145 - media-libs/glu
146 - media-libs/ilmbase:=
147 - media-libs/openexr:0=
148 - sys-libs/zlib:=
149 - x11-libs/libXcursor
150 - x11-libs/libXi
151 - x11-libs/libXinerama
152 - x11-libs/libXrandr
153 - python? (
154 - ${PYTHON_DEPS}
155 - $(python_gen_cond_dep '
156 - dev-libs/boost:=[numpy?,python?,${PYTHON_USEDEP}]
157 - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
158 - ')
159 - )
160 -"
161 -
162 -DEPEND="${RDEPEND}"
163 -
164 -BDEPEND="
165 - >=dev-util/cmake-3.16.2-r1
166 - virtual/pkgconfig
167 - doc? (
168 - app-doc/doxygen
169 - dev-texlive/texlive-bibtexextra
170 - dev-texlive/texlive-fontsextra
171 - dev-texlive/texlive-fontutils
172 - dev-texlive/texlive-latex
173 - dev-texlive/texlive-latexextra
174 - )
175 - test? ( dev-util/cppunit )
176 -"
177 -
178 -PATCHES=(
179 - "${FILESDIR}/${PN}-7.1.0-0001-Fix-multilib-header-source.patch"
180 - "${FILESDIR}/${PN}-7.1.0-0002-Fix-doc-install-dir.patch"
181 - "${FILESDIR}/${PN}-8.0.1-glfw-libdir.patch"
182 -)
183 -
184 -pkg_setup() {
185 - use python && python-single-r1_pkg_setup
186 -}
187 -
188 -src_configure() {
189 - local myprefix="${EPREFIX}/usr/"
190 -
191 - local version
192 - if use abi5-compat; then
193 - version=5
194 - elif use abi6-compat; then
195 - version=6
196 - elif use abi7-compat; then
197 - version=7
198 - else
199 - die "Openvdb abi version is not compatible"
200 - fi
201 -
202 - local mycmakeargs=(
203 - -DCHOST="${CHOST}"
204 - -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/"
205 - -DOPENVDB_ABI_VERSION_NUMBER="${version}"
206 - -DOPENVDB_BUILD_DOCS=$(usex doc)
207 - -DOPENVDB_BUILD_UNITTESTS=$(usex test)
208 - -DOPENVDB_BUILD_VDB_LOD=$(usex !utils)
209 - -DOPENVDB_BUILD_VDB_RENDER=$(usex !utils)
210 - -DOPENVDB_BUILD_VDB_VIEW=$(usex !utils)
211 - -DOPENVDB_CORE_SHARED=ON
212 - -DOPENVDB_CORE_STATIC=$(usex static-libs)
213 - -DOPENVDB_ENABLE_RPATH=OFF
214 - -DUSE_CCACHE=OFF
215 - -DUSE_COLORED_OUTPUT=ON
216 - -DUSE_EXR=ON
217 - -DUSE_LOG4CPLUS=ON
218 - )
219 -
220 - if use python; then
221 - mycmakeargs+=(
222 - -DOPENVDB_BUILD_PYTHON_MODULE=ON
223 - -DUSE_NUMPY=$(usex numpy)
224 - -DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)"
225 - -DPython_EXECUTABLE="${PYTHON}"
226 - )
227 - fi
228 -
229 - if use cpu_flags_x86_avx; then
230 - mycmakeargs+=( -DOPENVDB_SIMD=AVX )
231 - elif use cpu_flags_x86_sse4_2; then
232 - mycmakeargs+=( -DOPENVDB_SIMD=SSE42 )
233 - fi
234 -
235 - cmake_src_configure
236 -}
237
238 diff --git a/media-gfx/openvdb/openvdb-7.1.0-r5.ebuild b/media-gfx/openvdb/openvdb-7.1.0-r5.ebuild
239 deleted file mode 100644
240 index ddf724c720fd..000000000000
241 --- a/media-gfx/openvdb/openvdb-7.1.0-r5.ebuild
242 +++ /dev/null
243 @@ -1,124 +0,0 @@
244 -# Copyright 1999-2021 Gentoo Authors
245 -# Distributed under the terms of the GNU General Public License v2
246 -
247 -EAPI=7
248 -
249 -PYTHON_COMPAT=( python3_{7,8,9} )
250 -
251 -inherit cmake python-single-r1
252 -
253 -DESCRIPTION="Library for the efficient manipulation of volumetric data"
254 -HOMEPAGE="https://www.openvdb.org"
255 -SRC_URI="https://github.com/AcademySoftwareFoundation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
256 -
257 -LICENSE="MPL-2.0"
258 -SLOT="0/7"
259 -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
260 -IUSE="cpu_flags_x86_avx cpu_flags_x86_sse4_2 doc numpy python static-libs test utils abi6-compat +abi7-compat"
261 -RESTRICT="!test? ( test )"
262 -
263 -REQUIRED_USE="
264 - numpy? ( python )
265 - ^^ ( abi6-compat abi7-compat )
266 - python? ( ${PYTHON_REQUIRED_USE} )
267 -"
268 -# Check if newer releases work with newer TBB, bug #820788
269 -RDEPEND="
270 - <dev-cpp/tbb-2021.4.0:=
271 - dev-libs/boost:=
272 - dev-libs/c-blosc:=
273 - dev-libs/jemalloc:=
274 - dev-libs/log4cplus:=
275 - media-libs/glfw
276 - media-libs/glu
277 - media-libs/ilmbase:=
278 - media-libs/openexr:0=
279 - sys-libs/zlib:=
280 - x11-libs/libXcursor
281 - x11-libs/libXi
282 - x11-libs/libXinerama
283 - x11-libs/libXrandr
284 - python? (
285 - ${PYTHON_DEPS}
286 - $(python_gen_cond_dep '
287 - dev-libs/boost:=[numpy?,python?,${PYTHON_USEDEP}]
288 - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
289 - ')
290 - )
291 -"
292 -
293 -DEPEND="${RDEPEND}"
294 -
295 -BDEPEND="
296 - >=dev-util/cmake-3.16.2-r1
297 - virtual/pkgconfig
298 - doc? (
299 - app-doc/doxygen
300 - dev-texlive/texlive-bibtexextra
301 - dev-texlive/texlive-fontsextra
302 - dev-texlive/texlive-fontutils
303 - dev-texlive/texlive-latex
304 - dev-texlive/texlive-latexextra
305 - )
306 - test? ( dev-util/cppunit )
307 -"
308 -
309 -PATCHES=(
310 - "${FILESDIR}/${P}-0001-Fix-multilib-header-source.patch"
311 - "${FILESDIR}/${P}-0002-Fix-doc-install-dir.patch"
312 - "${FILESDIR}/${PN}-8.0.1-glfw-libdir.patch"
313 -)
314 -
315 -pkg_setup() {
316 - use python && python-single-r1_pkg_setup
317 -}
318 -
319 -src_configure() {
320 - local myprefix="${EPREFIX}/usr/"
321 -
322 - local version
323 - if use abi6-compat; then
324 - version=6
325 - elif use abi7-compat; then
326 - version=7
327 - else
328 - die "Openvdb abi version is not compatible"
329 - fi
330 -
331 - local mycmakeargs=(
332 - -DCHOST="${CHOST}"
333 - -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/"
334 - -DOPENVDB_ABI_VERSION_NUMBER="${version}"
335 - -DOPENVDB_BUILD_DOCS=$(usex doc)
336 - -DOPENVDB_BUILD_UNITTESTS=$(usex test)
337 - -DOPENVDB_BUILD_VDB_LOD=$(usex utils)
338 - -DOPENVDB_BUILD_VDB_RENDER=$(usex utils)
339 - -DOPENVDB_BUILD_VDB_VIEW=$(usex utils)
340 - -DOPENVDB_CORE_SHARED=ON
341 - -DOPENVDB_CORE_STATIC=$(usex static-libs)
342 - -DOPENVDB_ENABLE_RPATH=OFF
343 - -DUSE_CCACHE=OFF
344 - -DUSE_COLORED_OUTPUT=ON
345 - -DUSE_EXR=ON
346 - -DUSE_LOG4CPLUS=ON
347 - )
348 -
349 - if use python; then
350 - mycmakeargs+=(
351 - -DOPENVDB_BUILD_PYTHON_MODULE=ON
352 - -DUSE_NUMPY=$(usex numpy)
353 - -DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)"
354 - -DPython_EXECUTABLE="${PYTHON}"
355 - -DPython_INCLUDE_DIR="$(python_get_includedir)"
356 - -DPython_LIBRARY="$(python_get_library_path)"
357 - )
358 - fi
359 -
360 - if use cpu_flags_x86_avx; then
361 - mycmakeargs+=( -DOPENVDB_SIMD=AVX )
362 - elif use cpu_flags_x86_sse4_2; then
363 - mycmakeargs+=( -DOPENVDB_SIMD=SSE42 )
364 - fi
365 -
366 - cmake_src_configure
367 -}
368
369 diff --git a/media-gfx/openvdb/openvdb-8.0.1-r4.ebuild b/media-gfx/openvdb/openvdb-8.0.1-r4.ebuild
370 deleted file mode 100644
371 index 2e3f87c1aa79..000000000000
372 --- a/media-gfx/openvdb/openvdb-8.0.1-r4.ebuild
373 +++ /dev/null
374 @@ -1,126 +0,0 @@
375 -# Copyright 1999-2021 Gentoo Authors
376 -# Distributed under the terms of the GNU General Public License v2
377 -
378 -EAPI=7
379 -
380 -PYTHON_COMPAT=( python3_{7,8,9} )
381 -
382 -inherit cmake python-single-r1
383 -
384 -DESCRIPTION="Library for the efficient manipulation of volumetric data"
385 -HOMEPAGE="https://www.openvdb.org"
386 -SRC_URI="https://github.com/AcademySoftwareFoundation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
387 -
388 -LICENSE="MPL-2.0"
389 -SLOT="0/8"
390 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
391 -IUSE="cpu_flags_x86_avx cpu_flags_x86_sse4_2 doc numpy python static-libs test utils abi6-compat abi7-compat +abi8-compat"
392 -RESTRICT="!test? ( test )"
393 -
394 -REQUIRED_USE="
395 - numpy? ( python )
396 - ^^ ( abi6-compat abi7-compat abi8-compat )
397 - python? ( ${PYTHON_REQUIRED_USE} )
398 -"
399 -# Check if newer releases work with newer TBB, bug #820788
400 -RDEPEND="
401 - <dev-cpp/tbb-2021.4.0:=
402 - dev-libs/boost:=
403 - dev-libs/c-blosc:=
404 - dev-libs/jemalloc:=
405 - dev-libs/log4cplus:=
406 - media-libs/glfw
407 - media-libs/glu
408 - media-libs/ilmbase:=
409 - media-libs/openexr:0=
410 - sys-libs/zlib:=
411 - x11-libs/libXcursor
412 - x11-libs/libXi
413 - x11-libs/libXinerama
414 - x11-libs/libXrandr
415 - python? (
416 - ${PYTHON_DEPS}
417 - $(python_gen_cond_dep '
418 - dev-libs/boost:=[numpy?,python?,${PYTHON_USEDEP}]
419 - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
420 - ')
421 - )
422 -"
423 -
424 -DEPEND="${RDEPEND}"
425 -
426 -BDEPEND="
427 - >=dev-util/cmake-3.16.2-r1
428 - virtual/pkgconfig
429 - doc? (
430 - app-doc/doxygen
431 - dev-texlive/texlive-bibtexextra
432 - dev-texlive/texlive-fontsextra
433 - dev-texlive/texlive-fontutils
434 - dev-texlive/texlive-latex
435 - dev-texlive/texlive-latexextra
436 - )
437 - test? ( dev-util/cppunit dev-cpp/gtest )
438 -"
439 -
440 -PATCHES=(
441 - "${FILESDIR}/${PN}-7.1.0-0001-Fix-multilib-header-source.patch"
442 - "${FILESDIR}/${P}-glfw-libdir.patch"
443 - "${FILESDIR}/${P}-add-consistency-for-NumPy-find_package-call.patch"
444 -)
445 -
446 -pkg_setup() {
447 - use python && python-single-r1_pkg_setup
448 -}
449 -
450 -src_configure() {
451 - local myprefix="${EPREFIX}/usr/"
452 -
453 - local version
454 - if use abi6-compat; then
455 - version=6
456 - elif use abi7-compat; then
457 - version=7
458 - elif use abi8-compat; then
459 - version=8
460 - else
461 - die "Openvdb abi version is not compatible"
462 - fi
463 -
464 - local mycmakeargs=(
465 - -DCHOST="${CHOST}"
466 - -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/"
467 - -DOPENVDB_ABI_VERSION_NUMBER="${version}"
468 - -DOPENVDB_BUILD_DOCS=$(usex doc)
469 - -DOPENVDB_BUILD_UNITTESTS=$(usex test)
470 - -DOPENVDB_BUILD_VDB_LOD=$(usex utils)
471 - -DOPENVDB_BUILD_VDB_RENDER=$(usex utils)
472 - -DOPENVDB_BUILD_VDB_VIEW=$(usex utils)
473 - -DOPENVDB_CORE_SHARED=ON
474 - -DOPENVDB_CORE_STATIC=$(usex static-libs)
475 - -DOPENVDB_ENABLE_RPATH=OFF
476 - -DUSE_CCACHE=OFF
477 - -DUSE_COLORED_OUTPUT=ON
478 - -DUSE_EXR=ON
479 - -DUSE_LOG4CPLUS=ON
480 - )
481 -
482 - if use python; then
483 - mycmakeargs+=(
484 - -DOPENVDB_BUILD_PYTHON_MODULE=ON
485 - -DUSE_NUMPY=$(usex numpy)
486 - -DOPENVDB_BUILD_PYTHON_UNITTESTS=$(usex test)
487 - -DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)"
488 - -DPython_EXECUTABLE="${PYTHON}"
489 - -DPython_INCLUDE_DIR="$(python_get_includedir)"
490 - )
491 - fi
492 -
493 - if use cpu_flags_x86_avx; then
494 - mycmakeargs+=( -DOPENVDB_SIMD=AVX )
495 - elif use cpu_flags_x86_sse4_2; then
496 - mycmakeargs+=( -DOPENVDB_SIMD=SSE42 )
497 - fi
498 -
499 - cmake_src_configure
500 -}
501
502 diff --git a/media-gfx/openvdb/openvdb-8.1.0.ebuild b/media-gfx/openvdb/openvdb-8.1.0.ebuild
503 deleted file mode 100644
504 index 5042d7339314..000000000000
505 --- a/media-gfx/openvdb/openvdb-8.1.0.ebuild
506 +++ /dev/null
507 @@ -1,130 +0,0 @@
508 -# Copyright 1999-2021 Gentoo Authors
509 -# Distributed under the terms of the GNU General Public License v2
510 -
511 -EAPI=7
512 -
513 -PYTHON_COMPAT=( python3_{8,9,10} )
514 -
515 -inherit cmake python-single-r1
516 -
517 -DESCRIPTION="Library for the efficient manipulation of volumetric data"
518 -HOMEPAGE="https://www.openvdb.org"
519 -SRC_URI="https://github.com/AcademySoftwareFoundation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
520 -
521 -LICENSE="MPL-2.0"
522 -SLOT="0/8"
523 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
524 -IUSE="cpu_flags_x86_avx cpu_flags_x86_sse4_2 +blosc doc numpy python static-libs test utils zlib abi6-compat abi7-compat +abi8-compat"
525 -RESTRICT="!test? ( test )"
526 -
527 -REQUIRED_USE="
528 - numpy? ( python )
529 - ^^ ( abi6-compat abi7-compat abi8-compat )
530 - python? ( ${PYTHON_REQUIRED_USE} )
531 -"
532 -# Check if newer releases work with newer TBB, bug #820788
533 -RDEPEND="
534 - <dev-cpp/tbb-2021.4.0:=
535 - dev-libs/boost:=
536 - dev-libs/jemalloc:=
537 - dev-libs/log4cplus:=
538 - media-libs/glfw
539 - media-libs/glu
540 - media-libs/ilmbase:=
541 - media-libs/openexr:0=
542 - sys-libs/zlib:=
543 - x11-libs/libXcursor
544 - x11-libs/libXi
545 - x11-libs/libXinerama
546 - x11-libs/libXrandr
547 - blosc? ( dev-libs/c-blosc:= )
548 - python? (
549 - ${PYTHON_DEPS}
550 - $(python_gen_cond_dep '
551 - dev-libs/boost:=[numpy?,python?,${PYTHON_USEDEP}]
552 - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
553 - ')
554 - )
555 - zlib? ( sys-libs/zlib )
556 -"
557 -
558 -DEPEND="${RDEPEND}"
559 -
560 -BDEPEND="
561 - >=dev-util/cmake-3.16.2-r1
562 - virtual/pkgconfig
563 - doc? (
564 - app-doc/doxygen
565 - dev-texlive/texlive-bibtexextra
566 - dev-texlive/texlive-fontsextra
567 - dev-texlive/texlive-fontutils
568 - dev-texlive/texlive-latex
569 - dev-texlive/texlive-latexextra
570 - )
571 - test? ( dev-util/cppunit dev-cpp/gtest )
572 -"
573 -
574 -PATCHES=(
575 - "${FILESDIR}/${PN}-7.1.0-0001-Fix-multilib-header-source.patch"
576 - "${FILESDIR}/${PN}-8.0.1-add-consistency-for-NumPy-find_package-call.patch"
577 - "${FILESDIR}/${PN}-8.1.0-glfw-libdir.patch"
578 -)
579 -
580 -pkg_setup() {
581 - use python && python-single-r1_pkg_setup
582 -}
583 -
584 -src_configure() {
585 - local myprefix="${EPREFIX}/usr/"
586 -
587 - local version
588 - if use abi6-compat; then
589 - version=6
590 - elif use abi7-compat; then
591 - version=7
592 - elif use abi8-compat; then
593 - version=8
594 - else
595 - die "OpenVDB ABI version is not compatible"
596 - fi
597 -
598 - local mycmakeargs=(
599 - -DCHOST="${CHOST}"
600 - -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/"
601 - -DOPENVDB_ABI_VERSION_NUMBER="${version}"
602 - -DOPENVDB_BUILD_DOCS=$(usex doc)
603 - -DOPENVDB_BUILD_UNITTESTS=$(usex test)
604 - -DOPENVDB_BUILD_VDB_LOD=$(usex utils)
605 - -DOPENVDB_BUILD_VDB_RENDER=$(usex utils)
606 - -DOPENVDB_BUILD_VDB_VIEW=$(usex utils)
607 - -DOPENVDB_CORE_SHARED=ON
608 - -DOPENVDB_CORE_STATIC=$(usex static-libs)
609 - -DOPENVDB_ENABLE_RPATH=OFF
610 - -DUSE_BLOSC=$(usex blosc)
611 - -DUSE_ZLIB=$(usex zlib)
612 - -DUSE_CCACHE=OFF
613 - -DUSE_COLORED_OUTPUT=ON
614 - # Off for now until 9.0.0 for OpenEXR 3 support
615 - -DUSE_IMATH_HALF=OFF
616 - -DUSE_LOG4CPLUS=ON
617 - )
618 -
619 - if use python; then
620 - mycmakeargs+=(
621 - -DOPENVDB_BUILD_PYTHON_MODULE=ON
622 - -DUSE_NUMPY=$(usex numpy)
623 - -DOPENVDB_BUILD_PYTHON_UNITTESTS=$(usex test)
624 - -DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)"
625 - -DPython_EXECUTABLE="${PYTHON}"
626 - -DPython_INCLUDE_DIR="$(python_get_includedir)"
627 - )
628 - fi
629 -
630 - if use cpu_flags_x86_avx; then
631 - mycmakeargs+=( -DOPENVDB_SIMD=AVX )
632 - elif use cpu_flags_x86_sse4_2; then
633 - mycmakeargs+=( -DOPENVDB_SIMD=SSE42 )
634 - fi
635 -
636 - cmake_src_configure
637 -}
638
639 diff --git a/media-gfx/openvdb/openvdb-8.2.0-r3.ebuild b/media-gfx/openvdb/openvdb-8.2.0-r3.ebuild
640 deleted file mode 100644
641 index c77a66b4a5b2..000000000000
642 --- a/media-gfx/openvdb/openvdb-8.2.0-r3.ebuild
643 +++ /dev/null
644 @@ -1,137 +0,0 @@
645 -# Copyright 1999-2022 Gentoo Authors
646 -# Distributed under the terms of the GNU General Public License v2
647 -
648 -EAPI=7
649 -
650 -PYTHON_COMPAT=( python3_{8,9,10} )
651 -
652 -inherit cmake python-single-r1
653 -
654 -DESCRIPTION="Library for the efficient manipulation of volumetric data"
655 -HOMEPAGE="https://www.openvdb.org"
656 -SRC_URI="https://github.com/AcademySoftwareFoundation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
657 -
658 -LICENSE="MPL-2.0"
659 -SLOT="0/8"
660 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
661 -IUSE="cpu_flags_x86_avx cpu_flags_x86_sse4_2 +blosc doc numpy python static-libs test utils zlib abi6-compat abi7-compat +abi8-compat"
662 -RESTRICT="!test? ( test )"
663 -
664 -REQUIRED_USE="
665 - numpy? ( python )
666 - ^^ ( abi6-compat abi7-compat abi8-compat )
667 - python? ( ${PYTHON_REQUIRED_USE} )
668 -"
669 -RDEPEND="
670 - dev-cpp/tbb:=
671 - dev-libs/boost:=
672 - dev-libs/jemalloc:=
673 - dev-libs/log4cplus:=
674 - media-libs/glfw
675 - media-libs/glu
676 - sys-libs/zlib:=
677 - x11-libs/libXcursor
678 - x11-libs/libXi
679 - x11-libs/libXinerama
680 - x11-libs/libXrandr
681 - blosc? ( dev-libs/c-blosc:= )
682 - python? (
683 - ${PYTHON_DEPS}
684 - $(python_gen_cond_dep '
685 - dev-libs/boost:=[numpy?,python?,${PYTHON_USEDEP}]
686 - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
687 - ')
688 - )
689 - utils? (
690 - media-libs/ilmbase:=
691 - media-libs/openexr:=
692 - )
693 - zlib? ( sys-libs/zlib )
694 -"
695 -
696 -DEPEND="${RDEPEND}"
697 -
698 -BDEPEND="
699 - >=dev-util/cmake-3.16.2-r1
700 - virtual/pkgconfig
701 - doc? (
702 - app-doc/doxygen
703 - dev-texlive/texlive-bibtexextra
704 - dev-texlive/texlive-fontsextra
705 - dev-texlive/texlive-fontutils
706 - dev-texlive/texlive-latex
707 - dev-texlive/texlive-latexextra
708 - )
709 - test? ( dev-util/cppunit dev-cpp/gtest )
710 -"
711 -
712 -PATCHES=(
713 - "${FILESDIR}/${PN}-7.1.0-0001-Fix-multilib-header-source.patch"
714 - "${FILESDIR}/${PN}-8.0.1-add-consistency-for-NumPy-find_package-call.patch"
715 - "${FILESDIR}/${PN}-8.1.0-glfw-libdir.patch"
716 - "${FILESDIR}/${PN}-8.2.0-fix-finding-ilmbase-if-imath-and-ilmbase-are-installed.patch"
717 - "${FILESDIR}/${PN}-8.2.0-unconditionally-search-Python-interpreter.patch"
718 -)
719 -
720 -pkg_setup() {
721 - use python && python-single-r1_pkg_setup
722 -}
723 -
724 -src_configure() {
725 - local myprefix="${EPREFIX}/usr/"
726 -
727 - local version
728 - if use abi6-compat; then
729 - version=6
730 - elif use abi7-compat; then
731 - version=7
732 - elif use abi8-compat; then
733 - version=8
734 - else
735 - die "OpenVDB ABI version is not compatible"
736 - fi
737 -
738 - local mycmakeargs=(
739 - -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/"
740 - -DOPENVDB_ABI_VERSION_NUMBER="${version}"
741 - -DOPENVDB_BUILD_BINARIES=$(usex utils)
742 - -DOPENVDB_BUILD_DOCS=$(usex doc)
743 - -DOPENVDB_BUILD_UNITTESTS=$(usex test)
744 - -DOPENVDB_CORE_SHARED=ON
745 - -DOPENVDB_CORE_STATIC=$(usex static-libs)
746 - -DOPENVDB_ENABLE_RPATH=OFF
747 - -DUSE_BLOSC=$(usex blosc)
748 - -DUSE_ZLIB=$(usex zlib)
749 - -DUSE_CCACHE=OFF
750 - -DUSE_COLORED_OUTPUT=ON
751 - -DUSE_IMATH_HALF=OFF
752 - -DUSE_LOG4CPLUS=ON
753 - )
754 -
755 - if use python; then
756 - mycmakeargs+=(
757 - -DOPENVDB_BUILD_PYTHON_MODULE=ON
758 - -DOPENVDB_BUILD_PYTHON_UNITTESTS=$(usex test)
759 - -DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)"
760 - -DPython_EXECUTABLE="${PYTHON}"
761 - -DPython_INCLUDE_DIR="$(python_get_includedir)"
762 - -DUSE_NUMPY=$(usex numpy)
763 - )
764 - fi
765 -
766 - if use utils; then
767 - mycmakeargs+=(
768 - -DOPENVDB_BUILD_VDB_LOD=ON
769 - -DOPENVDB_BUILD_VDB_RENDER=ON
770 - -DOPENVDB_BUILD_VDB_VIEW=ON
771 - )
772 - fi
773 -
774 - if use cpu_flags_x86_avx; then
775 - mycmakeargs+=( -DOPENVDB_SIMD=AVX )
776 - elif use cpu_flags_x86_sse4_2; then
777 - mycmakeargs+=( -DOPENVDB_SIMD=SSE42 )
778 - fi
779 -
780 - cmake_src_configure
781 -}