1 |
commit: 8ecab5afc49ea4fbe86aa2aa289cc8e431615287 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 05:09:14 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 05:09:14 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ecab5af |
7 |
|
8 |
media-gfx/openvdb: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
media-gfx/openvdb/Manifest | 1 - |
13 |
media-gfx/openvdb/openvdb-9.1.0-r1.ebuild | 173 ------------------------------ |
14 |
2 files changed, 174 deletions(-) |
15 |
|
16 |
diff --git a/media-gfx/openvdb/Manifest b/media-gfx/openvdb/Manifest |
17 |
index 3d50dea3c098..dcf7ed71278e 100644 |
18 |
--- a/media-gfx/openvdb/Manifest |
19 |
+++ b/media-gfx/openvdb/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
DIST openvdb-10.0.1.tar.gz 3461352 BLAKE2B 506168a4bb29bab2a3a3cb37002858517000dc1682f04d95387fd1e250b61c61d92d2ffdf9b679d83ef1ce270909693ebd46224b732ce264685004d1e47b3027 SHA512 361cef8932b69b19ee94c47fe78f665a1acabfabc3f45ff9f490e830f73ff092c42f56ce698677476a8ccf062c89e3e4dc6d4c550aa6842438cbd4d404ee83bb |
22 |
DIST openvdb-8.2.0.tar.gz 2656278 BLAKE2B b381459fb770800bb03bc8a6b3122c6684ab508f11be024e0eb3951bfbcef14e626e2d4468e91ea17fd6792f23810eafe8b05e19d46eb0e6200c73ccf296116a SHA512 aed6b5884a9cfd42f72357ad090c5dcf7829b0e5672ab61e31206e889c085ce5a7bcb89476ceac552a837d394011951528e2b3cffc77baadc491a2e7a31d5e86 |
23 |
DIST openvdb-9.0.0.tar.gz 2945040 BLAKE2B c47a8088ba30d3cbecff04dbfd2d48b39a254e54149d8692c3a7157a99a1c555ef9747b77aeab6f8709b61c348d496765f2cfcbb0975e21f533072871f3fa422 SHA512 1410b7b04b03fb09d6775ebe7b95e7c0a484d5f29c84203530ed30ccb7c061470be1abb93189010617342e57f3fecdd66a115c6d222024e68e2384a7fb196194 |
24 |
-DIST openvdb-9.1.0.tar.gz 3107285 BLAKE2B a30d000f14358935eadc9cad9a7904637ceb0b2e6cc53129614e3243b55748b973c29eedc09a6cc444fb754777f6ee752af22847690977eca7a84865fdbe445b SHA512 434be61b03efec5d0022594d81064dce5f67595c1e34934d79e13627e573d2819bf947ca5b433fdca134642975b83eda71b46cf802f57e135d1611dbe2e5757e |
25 |
|
26 |
diff --git a/media-gfx/openvdb/openvdb-9.1.0-r1.ebuild b/media-gfx/openvdb/openvdb-9.1.0-r1.ebuild |
27 |
deleted file mode 100644 |
28 |
index 65143daac62b..000000000000 |
29 |
--- a/media-gfx/openvdb/openvdb-9.1.0-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,173 +0,0 @@ |
32 |
-# Copyright 1999-2023 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=8 |
36 |
- |
37 |
-PYTHON_COMPAT=( python3_{9..11} ) |
38 |
- |
39 |
-inherit cmake cuda llvm python-single-r1 |
40 |
- |
41 |
-DESCRIPTION="Library for the efficient manipulation of volumetric data" |
42 |
-HOMEPAGE="https://www.openvdb.org" |
43 |
-SRC_URI="https://github.com/AcademySoftwareFoundation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="MPL-2.0" |
46 |
-SLOT="0/9.1" |
47 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
48 |
-IUSE="abi7-compat abi8-compat +abi9-compat ax +blosc cpu_flags_x86_avx cpu_flags_x86_sse4_2 cuda doc |
49 |
- +nanovdb numpy python static-libs test utils" |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-REQUIRED_USE="^^ ( abi7-compat abi8-compat abi9-compat ) |
53 |
- cuda? ( nanovdb ) |
54 |
- numpy? ( python ) |
55 |
- python? ( ${PYTHON_REQUIRED_USE} )" |
56 |
- |
57 |
-RDEPEND=" |
58 |
- >=dev-cpp/tbb-2020.3:= |
59 |
- dev-libs/boost:= |
60 |
- dev-libs/jemalloc:= |
61 |
- dev-libs/log4cplus:= |
62 |
- >=dev-libs/imath-3.1.4-r2:= |
63 |
- sys-libs/zlib:= |
64 |
- x11-libs/libXcursor |
65 |
- x11-libs/libXi |
66 |
- x11-libs/libXinerama |
67 |
- x11-libs/libXrandr |
68 |
- ax? ( <sys-devel/llvm-14:= ) |
69 |
- blosc? ( dev-libs/c-blosc:= ) |
70 |
- cuda? ( >=dev-util/nvidia-cuda-toolkit-11 ) |
71 |
- python? ( |
72 |
- ${PYTHON_DEPS} |
73 |
- $(python_gen_cond_dep ' |
74 |
- dev-libs/boost:=[numpy?,python?,${PYTHON_USEDEP}] |
75 |
- numpy? ( dev-python/numpy[${PYTHON_USEDEP}] ) |
76 |
- ') |
77 |
- ) |
78 |
- utils? ( |
79 |
- media-libs/glfw |
80 |
- media-libs/glu |
81 |
- media-libs/libpng:= |
82 |
- >=media-libs/openexr-3:= |
83 |
- virtual/opengl |
84 |
- ) |
85 |
-" |
86 |
-DEPEND="${RDEPEND}" |
87 |
-BDEPEND=" |
88 |
- virtual/pkgconfig |
89 |
- doc? ( |
90 |
- app-doc/doxygen |
91 |
- dev-texlive/texlive-bibtexextra |
92 |
- dev-texlive/texlive-fontsextra |
93 |
- dev-texlive/texlive-fontutils |
94 |
- dev-texlive/texlive-latex |
95 |
- dev-texlive/texlive-latexextra |
96 |
- ) |
97 |
- test? ( dev-util/cppunit dev-cpp/gtest ) |
98 |
-" |
99 |
- |
100 |
-LLVM_MAX_SLOT=13 |
101 |
- |
102 |
-PATCHES=( |
103 |
- "${FILESDIR}/${PN}-8.1.0-glfw-libdir.patch" |
104 |
- "${FILESDIR}/${PN}-9.0.0-fix-atomic.patch" |
105 |
- "${FILESDIR}/${PN}-9.1.0-disable-failing-tests.patch" |
106 |
-) |
107 |
- |
108 |
-pkg_setup() { |
109 |
- use ax && llvm_pkg_setup |
110 |
- use python && python-single-r1_pkg_setup |
111 |
-} |
112 |
- |
113 |
-src_prepare() { |
114 |
- cmake_src_prepare |
115 |
- |
116 |
- if use cuda; then |
117 |
- cuda_add_sandbox -w |
118 |
- cuda_src_prepare |
119 |
- fi |
120 |
-} |
121 |
- |
122 |
-src_configure() { |
123 |
- local myprefix="${EPREFIX}/usr/" |
124 |
- |
125 |
- local version |
126 |
- if use abi7-compat; then |
127 |
- version=7 |
128 |
- elif use abi8-compat; then |
129 |
- version=8 |
130 |
- elif use abi9-compat; then |
131 |
- version=9 |
132 |
- else |
133 |
- die "OpenVDB ABI version is not compatible" |
134 |
- fi |
135 |
- |
136 |
- local mycmakeargs=( |
137 |
- -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/" |
138 |
- -DOPENVDB_ABI_VERSION_NUMBER="${version}" |
139 |
- -DOPENVDB_BUILD_AX=$(usex ax) |
140 |
- -DOPENVDB_BUILD_DOCS=$(usex doc) |
141 |
- -DOPENVDB_BUILD_UNITTESTS=$(usex test) |
142 |
- -DOPENVDB_BUILD_VDB_LOD=$(usex utils) |
143 |
- -DOPENVDB_BUILD_VDB_RENDER=$(usex utils) |
144 |
- -DOPENVDB_BUILD_VDB_VIEW=$(usex utils) |
145 |
- -DOPENVDB_CORE_SHARED=ON |
146 |
- -DOPENVDB_CORE_STATIC=$(usex static-libs) |
147 |
- -DOPENVDB_ENABLE_RPATH=OFF |
148 |
- -DUSE_BLOSC=$(usex blosc) |
149 |
- -DUSE_CCACHE=OFF |
150 |
- -DUSE_COLORED_OUTPUT=ON |
151 |
- # OpenEXR is only needed by the vdb_render tool and defaults to OFF |
152 |
- -DUSE_EXR=$(usex utils) |
153 |
- -DUSE_IMATH_HALF=ON |
154 |
- -DUSE_LOG4CPLUS=ON |
155 |
- -DUSE_NANOVDB=$(usex nanovdb) |
156 |
- # PNG is only needed by the vdb_render tool and defaults to OFF |
157 |
- -DUSE_PNG=$(usex utils) |
158 |
- -DUSE_ZLIB=$(usex ax ON $(usex blosc)) |
159 |
- ) |
160 |
- |
161 |
- if use abi8-compat; then |
162 |
- mycmakeargs+=( -DOPENVDB_USE_DEPRECATED_ABI_8=ON ) |
163 |
- elif use abi7-compat; then |
164 |
- mycmakeargs+=( -DOPENVDB_USE_DEPRECATED_ABI_7=ON ) |
165 |
- fi |
166 |
- |
167 |
- if use ax; then |
168 |
- mycmakeargs+=( |
169 |
- -DOPENVDB_AX_STATIC=OFF |
170 |
- -DOPENVDB_AX_TEST_CMD=OFF # fails |
171 |
- -DOPENVDB_BUILD_AX_UNITTESTS=$(usex test) |
172 |
- -DOPENVDB_BUILD_AX_BINARIES=$(usex utils) |
173 |
- ) |
174 |
- fi |
175 |
- |
176 |
- if use nanovdb; then |
177 |
- mycmakeargs+=( |
178 |
- -DNANOVDB_BUILD_UNITTESTS=$(usex test) |
179 |
- -DNANOVDB_USE_CUDA=$(usex cuda) |
180 |
- -DNANOVDB_USE_OPENVDB=ON |
181 |
- ) |
182 |
- if use cpu_flags_x86_avx || use cpu_flags_x86_sse4_2; then |
183 |
- mycmakeargs+=( -DNANOVDB_USE_INTRINSICS=ON ) |
184 |
- fi |
185 |
- fi |
186 |
- |
187 |
- if use python; then |
188 |
- mycmakeargs+=( |
189 |
- -DOPENVDB_BUILD_PYTHON_MODULE=ON |
190 |
- -DUSE_NUMPY=$(usex numpy) |
191 |
- -DOPENVDB_BUILD_PYTHON_UNITTESTS=$(usex test) |
192 |
- -DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)" |
193 |
- -DPython_INCLUDE_DIR="$(python_get_includedir)" |
194 |
- ) |
195 |
- fi |
196 |
- |
197 |
- if use cpu_flags_x86_avx; then |
198 |
- mycmakeargs+=( -DOPENVDB_SIMD=AVX ) |
199 |
- elif use cpu_flags_x86_sse4_2; then |
200 |
- mycmakeargs+=( -DOPENVDB_SIMD=SSE42 ) |
201 |
- fi |
202 |
- |
203 |
- cmake_src_configure |
204 |
-} |