1 |
commit: 09efbdab3e99c0ae7c984dbffd0dc388aaa05d92 |
2 |
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net> |
3 |
AuthorDate: Thu Oct 28 10:44:05 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 31 02:18:27 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09efbdab |
7 |
|
8 |
media-gfx/openvdb: patch to find numpy |
9 |
|
10 |
- additionally pass -DPython_INCLUDE_DIR and -DPython_LIBRARY to help |
11 |
find numpy |
12 |
- remove flag-o-matic inherit, which isn't needed according to pkgcheck |
13 |
- change the negation of the utils USE flag use for building the utilities |
14 |
if the USE flag is set |
15 |
|
16 |
Closes: https://bugs.gentoo.org/788886 |
17 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
18 |
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net> |
19 |
Closes: https://github.com/gentoo/gentoo/pull/22738 |
20 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
21 |
|
22 |
media-gfx/openvdb/openvdb-7.1.0-r3.ebuild | 10 ++++++---- |
23 |
1 file changed, 6 insertions(+), 4 deletions(-) |
24 |
|
25 |
diff --git a/media-gfx/openvdb/openvdb-7.1.0-r3.ebuild b/media-gfx/openvdb/openvdb-7.1.0-r3.ebuild |
26 |
index 2c6c85a3efc..38d612500fb 100644 |
27 |
--- a/media-gfx/openvdb/openvdb-7.1.0-r3.ebuild |
28 |
+++ b/media-gfx/openvdb/openvdb-7.1.0-r3.ebuild |
29 |
@@ -5,7 +5,7 @@ EAPI=7 |
30 |
|
31 |
PYTHON_COMPAT=( python3_{7,8,9} ) |
32 |
|
33 |
-inherit cmake flag-o-matic python-single-r1 |
34 |
+inherit cmake python-single-r1 |
35 |
|
36 |
DESCRIPTION="Library for the efficient manipulation of volumetric data" |
37 |
HOMEPAGE="https://www.openvdb.org" |
38 |
@@ -91,9 +91,9 @@ src_configure() { |
39 |
-DOPENVDB_ABI_VERSION_NUMBER="${version}" |
40 |
-DOPENVDB_BUILD_DOCS=$(usex doc) |
41 |
-DOPENVDB_BUILD_UNITTESTS=$(usex test) |
42 |
- -DOPENVDB_BUILD_VDB_LOD=$(usex !utils) |
43 |
- -DOPENVDB_BUILD_VDB_RENDER=$(usex !utils) |
44 |
- -DOPENVDB_BUILD_VDB_VIEW=$(usex !utils) |
45 |
+ -DOPENVDB_BUILD_VDB_LOD=$(usex utils) |
46 |
+ -DOPENVDB_BUILD_VDB_RENDER=$(usex utils) |
47 |
+ -DOPENVDB_BUILD_VDB_VIEW=$(usex utils) |
48 |
-DOPENVDB_CORE_SHARED=ON |
49 |
-DOPENVDB_CORE_STATIC=$(usex static-libs) |
50 |
-DOPENVDB_ENABLE_RPATH=OFF |
51 |
@@ -109,6 +109,8 @@ src_configure() { |
52 |
-DUSE_NUMPY=$(usex numpy) |
53 |
-DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)" |
54 |
-DPython_EXECUTABLE="${PYTHON}" |
55 |
+ -DPython_INCLUDE_DIR="$(python_get_includedir)" |
56 |
+ -DPython_LIBRARY="$(python_get_library_path)" |
57 |
) |
58 |
fi |