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/
Date: Tue, 25 Aug 2020 18:06:34
Message-Id: 1598378782.c80641abc3235b680c260707ee42a4e14948a4c6.sam@gentoo
1 commit: c80641abc3235b680c260707ee42a4e14948a4c6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 25 18:06:22 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 25 18:06:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c80641ab
7
8 media-gfx/openvdb: cleanup old
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 media-gfx/openvdb/openvdb-4.0.2-r3.ebuild | 110 --------------------------
14 media-gfx/openvdb/openvdb-5.2.0-r1.ebuild | 105 -------------------------
15 media-gfx/openvdb/openvdb-6.2.1.ebuild | 102 -------------------------
16 media-gfx/openvdb/openvdb-7.0.0.ebuild | 123 ------------------------------
17 media-gfx/openvdb/openvdb-7.1.0.ebuild | 121 -----------------------------
18 5 files changed, 561 deletions(-)
19
20 diff --git a/media-gfx/openvdb/openvdb-4.0.2-r3.ebuild b/media-gfx/openvdb/openvdb-4.0.2-r3.ebuild
21 deleted file mode 100644
22 index f6705df6963..00000000000
23 --- a/media-gfx/openvdb/openvdb-4.0.2-r3.ebuild
24 +++ /dev/null
25 @@ -1,110 +0,0 @@
26 -# Copyright 1999-2020 Gentoo Authors
27 -# Distributed under the terms of the GNU General Public License v2
28 -
29 -EAPI=7
30 -
31 -PYTHON_COMPAT=( python3_{6,7,8,9} )
32 -
33 -inherit cmake flag-o-matic python-single-r1
34 -
35 -DESCRIPTION="Library for the efficient manipulation of volumetric data"
36 -HOMEPAGE="https://www.openvdb.org"
37 -SRC_URI="https://github.com/AcademySoftwareFoundation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
38 - https://dev.gentoo.org/~dracwyrm/patches/${P}-patchset-02.tar.xz"
39 -
40 -LICENSE="MPL-2.0"
41 -SLOT="0"
42 -KEYWORDS="amd64 ~x86"
43 -IUSE="abi3-compat +abi4-compat doc python test"
44 -RESTRICT="!test? ( test )"
45 -
46 -REQUIRED_USE="
47 - python? ( ${PYTHON_REQUIRED_USE} )
48 - ^^ ( abi3-compat abi4-compat )
49 -"
50 -
51 -RDEPEND="
52 - dev-libs/boost:=
53 - dev-libs/c-blosc:=
54 - dev-libs/jemalloc:=
55 - dev-libs/log4cplus:=
56 - media-libs/glfw
57 - media-libs/openexr:=
58 - sys-libs/zlib:=
59 - x11-libs/libXcursor
60 - x11-libs/libXi
61 - x11-libs/libXinerama
62 - x11-libs/libXrandr
63 - python? (
64 - ${PYTHON_DEPS}
65 - $(python_gen_cond_dep '
66 - dev-libs/boost:=[python?,${PYTHON_USEDEP}]
67 - dev-python/numpy[${PYTHON_USEDEP}]
68 - ')
69 - )
70 -"
71 -
72 -DEPEND="
73 - ${RDEPEND}
74 - dev-cpp/tbb
75 -"
76 -
77 -BDEPEND="
78 - virtual/pkgconfig
79 - doc? (
80 - app-doc/doxygen
81 - dev-texlive/texlive-bibtexextra
82 - dev-texlive/texlive-fontsextra
83 - dev-texlive/texlive-fontutils
84 - dev-texlive/texlive-latex
85 - dev-texlive/texlive-latexextra
86 - )
87 - test? ( dev-util/cppunit )
88 -"
89 -
90 -PATCHES=(
91 - "${WORKDIR}/${P}-patchset-02/0001-use-gnuinstalldirs.patch"
92 - "${WORKDIR}/${P}-patchset-02/0002-use-pkgconfig-for-ilmbase-and-openexr.patch"
93 - "${WORKDIR}/${P}-patchset-02/0003-boost-1.65-numpy-support.patch"
94 - "${FILESDIR}/${P}-findboost-fix.patch"
95 - "${FILESDIR}/${P}-fix-const-correctness-for-unittest.patch"
96 - "${FILESDIR}/${P}-fix-build-docs.patch"
97 -)
98 -
99 -pkg_setup() {
100 - use python && python-single-r1_pkg_setup
101 -}
102 -
103 -src_configure() {
104 - local myprefix="${EPREFIX}/usr/"
105 -
106 - # To stay in sync with Boost
107 - append-cxxflags -std=c++14
108 -
109 - local version
110 - if use abi3-compat; then
111 - version=3
112 - elif use abi4-compat; then
113 - version=4
114 - else
115 - die "Openvdb abi version is not compatible"
116 - fi
117 -
118 - local mycmakeargs=(
119 - -DBLOSC_LOCATION="${myprefix}"
120 - -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
121 - -DGLFW3_LOCATION="${myprefix}"
122 - -DOPENVDB_BUILD_DOCS=$(usex doc)
123 - -DOPENVDB_BUILD_PYTHON_MODULE=$(usex python)
124 - -DOPENVDB_BUILD_UNITTESTS=$(usex test)
125 - -DOPENVDB_ENABLE_3_ABI_COMPATIBLE=$(usex abi3-compat)
126 - -DOPENVDB_ENABLE_RPATH=OFF
127 - -DTBB_LOCATION="${myprefix}"
128 - -DUSE_GLFW3=ON
129 - )
130 -
131 - use python && mycmakeargs+=( -DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)" )
132 - use test && mycmakeargs+=( -DCPPUNIT_LOCATION="${myprefix}" )
133 -
134 - cmake_src_configure
135 -}
136
137 diff --git a/media-gfx/openvdb/openvdb-5.2.0-r1.ebuild b/media-gfx/openvdb/openvdb-5.2.0-r1.ebuild
138 deleted file mode 100644
139 index a176389a2a0..00000000000
140 --- a/media-gfx/openvdb/openvdb-5.2.0-r1.ebuild
141 +++ /dev/null
142 @@ -1,105 +0,0 @@
143 -# Copyright 1999-2020 Gentoo Authors
144 -# Distributed under the terms of the GNU General Public License v2
145 -
146 -EAPI=7
147 -
148 -PYTHON_COMPAT=( python3_{6,7,8,9} )
149 -
150 -inherit cmake flag-o-matic python-single-r1
151 -
152 -DESCRIPTION="Library for the efficient manipulation of volumetric data"
153 -HOMEPAGE="https://www.openvdb.org"
154 -SRC_URI="https://github.com/AcademySoftwareFoundation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
155 -
156 -LICENSE="MPL-2.0"
157 -SLOT="0"
158 -KEYWORDS="~amd64 ~x86"
159 -IUSE="abi3-compat abi4-compat +abi5-compat doc python test"
160 -RESTRICT="!test? ( test )"
161 -REQUIRED_USE="
162 - python? ( ${PYTHON_REQUIRED_USE} )
163 - ^^ ( abi3-compat abi4-compat abi5-compat )
164 -"
165 -
166 -RDEPEND="
167 - dev-libs/boost:=
168 - dev-libs/c-blosc:=
169 - dev-libs/jemalloc:=
170 - dev-libs/log4cplus:=
171 - media-libs/glfw
172 - media-libs/openexr:=
173 - sys-libs/zlib:=
174 - x11-libs/libXcursor
175 - x11-libs/libXi
176 - x11-libs/libXinerama
177 - x11-libs/libXrandr
178 - python? (
179 - ${PYTHON_DEPS}
180 - $(python_gen_cond_dep '
181 - dev-libs/boost:=[python?,${PYTHON_USEDEP}]
182 - dev-python/numpy[${PYTHON_USEDEP}]
183 - ')
184 - )
185 -"
186 -
187 -DEPEND="
188 - ${RDEPEND}
189 - dev-cpp/tbb
190 -"
191 -
192 -BDEPEND="
193 - virtual/pkgconfig
194 - doc? (
195 - app-doc/doxygen
196 - dev-texlive/texlive-bibtexextra
197 - dev-texlive/texlive-fontsextra
198 - dev-texlive/texlive-fontutils
199 - dev-texlive/texlive-latex
200 - dev-texlive/texlive-latexextra
201 - )
202 - test? ( dev-util/cppunit )
203 -"
204 -
205 -PATCHES=(
206 - "${FILESDIR}/${P}-use-gnuinstalldirs.patch"
207 - "${FILESDIR}/${P}-use-pkgconfig-for-ilmbase-and-openexr.patch"
208 - "${FILESDIR}/${PN}-4.0.2-fix-const-correctness-for-unittest.patch"
209 - "${FILESDIR}/${PN}-4.0.2-fix-build-docs.patch"
210 -)
211 -
212 -pkg_setup() {
213 - use python && python-single-r1_pkg_setup
214 -}
215 -
216 -src_configure() {
217 - local myprefix="${EPREFIX}/usr/"
218 -
219 - local version
220 - if use abi3-compat; then
221 - version=3
222 - elif use abi4-compat; then
223 - version=4
224 - elif use abi5-compat; then
225 - version=5
226 - else
227 - die "Openvdb ABI version not specified"
228 - fi
229 -
230 - local mycmakeargs=(
231 - -DBLOSC_LOCATION="${myprefix}"
232 - -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
233 - -DGLFW3_LOCATION="${myprefix}"
234 - -DOPENVDB_ABI_VERSION_NUMBER="${version}"
235 - -DOPENVDB_BUILD_DOCS=$(usex doc)
236 - -DOPENVDB_BUILD_PYTHON_MODULE=$(usex python)
237 - -DOPENVDB_BUILD_UNITTESTS=$(usex test)
238 - -DOPENVDB_ENABLE_RPATH=OFF
239 - -DTBB_LOCATION="${myprefix}"
240 - -DUSE_GLFW3=ON
241 - )
242 -
243 - use python && mycmakeargs+=( -DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)" )
244 - use test && mycmakeargs+=( -DCPPUNIT_LOCATION="${myprefix}" )
245 -
246 - cmake_src_configure
247 -}
248
249 diff --git a/media-gfx/openvdb/openvdb-6.2.1.ebuild b/media-gfx/openvdb/openvdb-6.2.1.ebuild
250 deleted file mode 100644
251 index ebade646417..00000000000
252 --- a/media-gfx/openvdb/openvdb-6.2.1.ebuild
253 +++ /dev/null
254 @@ -1,102 +0,0 @@
255 -# Copyright 1999-2020 Gentoo Authors
256 -# Distributed under the terms of the GNU General Public License v2
257 -
258 -EAPI=7
259 -
260 -PYTHON_COMPAT=( python3_{6,7,8,9} )
261 -
262 -inherit cmake flag-o-matic python-single-r1
263 -
264 -DESCRIPTION="Library for the efficient manipulation of volumetric data"
265 -HOMEPAGE="https://www.openvdb.org"
266 -SRC_URI="https://github.com/AcademySoftwareFoundation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
267 -
268 -LICENSE="MPL-2.0"
269 -SLOT="0"
270 -KEYWORDS="~amd64 ~x86"
271 -IUSE="abi4-compat abi5-compat +abi6-compat doc python test"
272 -RESTRICT="!test? ( test )"
273 -
274 -REQUIRED_USE="
275 - python? ( ${PYTHON_REQUIRED_USE} )
276 - ^^ ( abi4-compat abi5-compat abi6-compat )
277 -"
278 -
279 -RDEPEND="
280 - dev-libs/boost:=
281 - dev-libs/c-blosc:=
282 - dev-libs/jemalloc:=
283 - dev-libs/log4cplus:=
284 - media-libs/glfw
285 - media-libs/openexr:=
286 - sys-libs/zlib:=
287 - x11-libs/libXcursor
288 - x11-libs/libXi
289 - x11-libs/libXinerama
290 - x11-libs/libXrandr
291 - python? (
292 - ${PYTHON_DEPS}
293 - $(python_gen_cond_dep '
294 - dev-libs/boost:=[python?,${PYTHON_USEDEP}]
295 - dev-python/numpy[${PYTHON_USEDEP}]
296 - ')
297 - )"
298 -
299 -DEPEND="
300 - ${RDEPEND}
301 - dev-cpp/tbb
302 -"
303 -
304 -BDEPEND="
305 - >=dev-util/cmake-3.16.2-r1
306 - virtual/pkgconfig
307 - doc? (
308 - app-doc/doxygen
309 - dev-texlive/texlive-bibtexextra
310 - dev-texlive/texlive-fontsextra
311 - dev-texlive/texlive-fontutils
312 - dev-texlive/texlive-latex
313 - dev-texlive/texlive-latexextra
314 - )
315 - test? ( dev-util/cppunit )
316 -"
317 -
318 -PATCHES=(
319 - "${FILESDIR}/${P}-fix-multilib-header-source.patch"
320 - "${FILESDIR}/${PN}-4.0.2-fix-const-correctness-for-unittest.patch"
321 - "${FILESDIR}/${P}-use-gnuinstalldirs.patch"
322 -)
323 -
324 -pkg_setup() {
325 - use python && python-single-r1_pkg_setup
326 -}
327 -
328 -src_configure() {
329 - local myprefix="${EPREFIX}/usr/"
330 -
331 - local version
332 - if use abi4-compat; then
333 - version=4
334 - elif use abi5-compat; then
335 - version=5
336 - elif use abi6-compat; then
337 - version=6
338 - else
339 - die "Openvdb ABI version not specified"
340 - fi
341 -
342 - local mycmakeargs=(
343 - -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
344 - -DOPENVDB_ABI_VERSION_NUMBER="${version}"
345 - -DOPENVDB_BUILD_DOCS=$(usex doc)
346 - -DOPENVDB_BUILD_PYTHON_MODULE=$(usex python)
347 - -DOPENVDB_BUILD_UNITTESTS=$(usex test)
348 - -DOPENVDB_ENABLE_RPATH=OFF
349 - -DCHOST="${CHOST}"
350 - )
351 -
352 - use python && mycmakeargs+=( -DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)" )
353 - use test && mycmakeargs+=( -DCPPUNIT_LOCATION="${myprefix}" )
354 -
355 - cmake_src_configure
356 -}
357
358 diff --git a/media-gfx/openvdb/openvdb-7.0.0.ebuild b/media-gfx/openvdb/openvdb-7.0.0.ebuild
359 deleted file mode 100644
360 index db984b8cdbf..00000000000
361 --- a/media-gfx/openvdb/openvdb-7.0.0.ebuild
362 +++ /dev/null
363 @@ -1,123 +0,0 @@
364 -# Copyright 1999-2020 Gentoo Authors
365 -# Distributed under the terms of the GNU General Public License v2
366 -
367 -EAPI=7
368 -
369 -PYTHON_COMPAT=( python3_{6,7,8,9} )
370 -
371 -inherit cmake flag-o-matic python-single-r1
372 -
373 -DESCRIPTION="Library for the efficient manipulation of volumetric data"
374 -HOMEPAGE="https://www.openvdb.org"
375 -SRC_URI="https://github.com/AcademySoftwareFoundation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
376 -
377 -LICENSE="MPL-2.0"
378 -SLOT="0"
379 -KEYWORDS="~amd64 ~x86"
380 -IUSE="cpu_flags_x86_avx cpu_flags_x86_sse4_2 doc numpy python static-libs test utils abi5-compat abi6-compat +abi7-compat"
381 -RESTRICT="!test? ( test )"
382 -
383 -REQUIRED_USE="
384 - numpy? ( python )
385 - ^^ ( abi5-compat abi6-compat abi7-compat )
386 - python? ( ${PYTHON_REQUIRED_USE} )
387 -"
388 -
389 -RDEPEND="
390 - dev-libs/boost:=
391 - dev-libs/c-blosc:=
392 - dev-libs/jemalloc:=
393 - dev-libs/log4cplus:=
394 - media-libs/glfw
395 - media-libs/openexr:=
396 - sys-libs/zlib:=
397 - x11-libs/libXcursor
398 - x11-libs/libXi
399 - x11-libs/libXinerama
400 - x11-libs/libXrandr
401 - python? (
402 - ${PYTHON_DEPS}
403 - $(python_gen_cond_dep '
404 - dev-libs/boost:=[numpy?,python?,${PYTHON_USEDEP}]
405 - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
406 - ')
407 - )
408 -"
409 -
410 -DEPEND="
411 - ${RDEPEND}
412 - dev-cpp/tbb
413 -"
414 -
415 -BDEPEND="
416 - >=dev-util/cmake-3.16.2-r1
417 - virtual/pkgconfig
418 - doc? (
419 - app-doc/doxygen
420 - dev-texlive/texlive-bibtexextra
421 - dev-texlive/texlive-fontsextra
422 - dev-texlive/texlive-fontutils
423 - dev-texlive/texlive-latex
424 - dev-texlive/texlive-latexextra
425 - )
426 - test? ( dev-util/cppunit )
427 -"
428 -
429 -PATCHES=(
430 - "${FILESDIR}/${PN}-7.1.0-0001-Fix-multilib-header-source.patch"
431 - "${FILESDIR}/${PN}-7.1.0-0002-Fix-doc-install-dir.patch"
432 -)
433 -
434 -pkg_setup() {
435 - use python && python-single-r1_pkg_setup
436 -}
437 -
438 -src_configure() {
439 - local myprefix="${EPREFIX}/usr/"
440 -
441 - local version
442 - if use abi5-compat; then
443 - version=5
444 - elif use abi6-compat; then
445 - version=6
446 - elif use abi7-compat; then
447 - version=7
448 - else
449 - die "Openvdb abi version is not compatible"
450 - fi
451 -
452 - local mycmakeargs=(
453 - -DCHOST="${CHOST}"
454 - -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/"
455 - -DOPENVDB_ABI_VERSION_NUMBER="${version}"
456 - -DOPENVDB_BUILD_DOCS=$(usex doc)
457 - -DOPENVDB_BUILD_UNITTESTS=$(usex test)
458 - -DOPENVDB_BUILD_VDB_LOD=$(usex !utils)
459 - -DOPENVDB_BUILD_VDB_RENDER=$(usex !utils)
460 - -DOPENVDB_BUILD_VDB_VIEW=$(usex !utils)
461 - -DOPENVDB_CORE_SHARED=ON
462 - -DOPENVDB_CORE_STATIC=$(usex static-libs)
463 - -DOPENVDB_ENABLE_RPATH=OFF
464 - -DUSE_CCACHE=OFF
465 - -DUSE_COLORED_OUTPUT=ON
466 - -DUSE_EXR=ON
467 - -DUSE_LOG4CPLUS=ON
468 - )
469 -
470 - if use python; then
471 - mycmakeargs+=(
472 - -DOPENVDB_BUILD_PYTHON_MODULE=ON
473 - -DUSE_NUMPY=$(usex numpy)
474 - -DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)"
475 - -DPython_EXECUTABLE="${EPYTHON}"
476 - )
477 - fi
478 -
479 - if use cpu_flags_x86_avx; then
480 - mycmakeargs+=( -DOPENVDB_SIMD=AVX )
481 - elif use cpu_flags_x86_sse4_2; then
482 - mycmakeargs+=( -DOPENVDB_SIMD=SSE42 )
483 - fi
484 -
485 - cmake_src_configure
486 -}
487
488 diff --git a/media-gfx/openvdb/openvdb-7.1.0.ebuild b/media-gfx/openvdb/openvdb-7.1.0.ebuild
489 deleted file mode 100644
490 index 912824ece66..00000000000
491 --- a/media-gfx/openvdb/openvdb-7.1.0.ebuild
492 +++ /dev/null
493 @@ -1,121 +0,0 @@
494 -# Copyright 1999-2020 Gentoo Authors
495 -# Distributed under the terms of the GNU General Public License v2
496 -
497 -EAPI=7
498 -
499 -PYTHON_COMPAT=( python3_{6,7,8,9} )
500 -
501 -inherit cmake flag-o-matic python-single-r1
502 -
503 -DESCRIPTION="Library for the efficient manipulation of volumetric data"
504 -HOMEPAGE="https://www.openvdb.org"
505 -SRC_URI="https://github.com/AcademySoftwareFoundation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
506 -
507 -LICENSE="MPL-2.0"
508 -SLOT="0"
509 -KEYWORDS="~amd64 ~x86"
510 -IUSE="cpu_flags_x86_avx cpu_flags_x86_sse4_2 doc numpy python static-libs test utils abi6-compat +abi7-compat"
511 -RESTRICT="!test? ( test )"
512 -
513 -REQUIRED_USE="
514 - numpy? ( python )
515 - ^^ ( abi6-compat abi7-compat )
516 - python? ( ${PYTHON_REQUIRED_USE} )
517 -"
518 -
519 -RDEPEND="
520 - dev-libs/boost:=
521 - dev-libs/c-blosc:=
522 - dev-libs/jemalloc:=
523 - dev-libs/log4cplus:=
524 - media-libs/glfw
525 - media-libs/openexr:=
526 - sys-libs/zlib:=
527 - x11-libs/libXcursor
528 - x11-libs/libXi
529 - x11-libs/libXinerama
530 - x11-libs/libXrandr
531 - python? (
532 - ${PYTHON_DEPS}
533 - $(python_gen_cond_dep '
534 - dev-libs/boost:=[numpy?,python?,${PYTHON_USEDEP}]
535 - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
536 - ')
537 - )
538 -"
539 -
540 -DEPEND="
541 - ${RDEPEND}
542 - dev-cpp/tbb
543 -"
544 -
545 -BDEPEND="
546 - >=dev-util/cmake-3.16.2-r1
547 - virtual/pkgconfig
548 - doc? (
549 - app-doc/doxygen
550 - dev-texlive/texlive-bibtexextra
551 - dev-texlive/texlive-fontsextra
552 - dev-texlive/texlive-fontutils
553 - dev-texlive/texlive-latex
554 - dev-texlive/texlive-latexextra
555 - )
556 - test? ( dev-util/cppunit )
557 -"
558 -
559 -PATCHES=(
560 - "${FILESDIR}/${P}-0001-Fix-multilib-header-source.patch"
561 - "${FILESDIR}/${P}-0002-Fix-doc-install-dir.patch"
562 -)
563 -
564 -pkg_setup() {
565 - use python && python-single-r1_pkg_setup
566 -}
567 -
568 -src_configure() {
569 - local myprefix="${EPREFIX}/usr/"
570 -
571 - local version
572 - if use abi6-compat; then
573 - version=6
574 - elif use abi7-compat; then
575 - version=7
576 - else
577 - die "Openvdb abi version is not compatible"
578 - fi
579 -
580 - local mycmakeargs=(
581 - -DCHOST="${CHOST}"
582 - -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/"
583 - -DOPENVDB_ABI_VERSION_NUMBER="${version}"
584 - -DOPENVDB_BUILD_DOCS=$(usex doc)
585 - -DOPENVDB_BUILD_UNITTESTS=$(usex test)
586 - -DOPENVDB_BUILD_VDB_LOD=$(usex !utils)
587 - -DOPENVDB_BUILD_VDB_RENDER=$(usex !utils)
588 - -DOPENVDB_BUILD_VDB_VIEW=$(usex !utils)
589 - -DOPENVDB_CORE_SHARED=ON
590 - -DOPENVDB_CORE_STATIC=$(usex static-libs)
591 - -DOPENVDB_ENABLE_RPATH=OFF
592 - -DUSE_CCACHE=OFF
593 - -DUSE_COLORED_OUTPUT=ON
594 - -DUSE_EXR=ON
595 - -DUSE_LOG4CPLUS=ON
596 - )
597 -
598 - if use python; then
599 - mycmakeargs+=(
600 - -DOPENVDB_BUILD_PYTHON_MODULE=ON
601 - -DUSE_NUMPY=$(usex numpy)
602 - -DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)"
603 - -DPython_EXECUTABLE="${EPYTHON}"
604 - )
605 - fi
606 -
607 - if use cpu_flags_x86_avx; then
608 - mycmakeargs+=( -DOPENVDB_SIMD=AVX )
609 - elif use cpu_flags_x86_sse4_2; then
610 - mycmakeargs+=( -DOPENVDB_SIMD=SSE42 )
611 - fi
612 -
613 - cmake_src_configure
614 -}