1 |
commit: 841a5415149d9f8472253c07aff7ca0c67a3f3ba |
2 |
Author: Sebastian Parborg <darkdefende <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Feb 17 17:34:24 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 20 21:04:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=841a5415 |
7 |
|
8 |
media-gfx/openvdb: Add abi9 flag |
9 |
|
10 |
Bump the "use abiX" useflags. |
11 |
|
12 |
Signed-off-by: Sebastian Parborg <darkdefende <AT> gmail.com> |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
media-gfx/openvdb/metadata.xml | 3 +++ |
16 |
media-gfx/openvdb/openvdb-9.0.0-r2.ebuild | 6 ++++-- |
17 |
2 files changed, 7 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/media-gfx/openvdb/metadata.xml b/media-gfx/openvdb/metadata.xml |
20 |
index ac6d484a46d8..abb456e35583 100644 |
21 |
--- a/media-gfx/openvdb/metadata.xml |
22 |
+++ b/media-gfx/openvdb/metadata.xml |
23 |
@@ -36,6 +36,9 @@ |
24 |
<flag restrict=">=media-gfx/openvdb-8.0.0" name="abi8-compat"> |
25 |
Disables newer features to maintain compatibility with ABI8. |
26 |
</flag> |
27 |
+ <flag restrict=">=media-gfx/openvdb-9.0.0" name="abi9-compat"> |
28 |
+ Disables newer features to maintain compatibility with ABI9. |
29 |
+ </flag> |
30 |
<flag restrict=">=media-gfx/openvdb-7.0.0" name="utils"> |
31 |
Build utility binaries |
32 |
</flag> |
33 |
|
34 |
diff --git a/media-gfx/openvdb/openvdb-9.0.0-r2.ebuild b/media-gfx/openvdb/openvdb-9.0.0-r2.ebuild |
35 |
index d50e1f5bab74..1c94b6577b39 100644 |
36 |
--- a/media-gfx/openvdb/openvdb-9.0.0-r2.ebuild |
37 |
+++ b/media-gfx/openvdb/openvdb-9.0.0-r2.ebuild |
38 |
@@ -14,12 +14,12 @@ SRC_URI="https://github.com/AcademySoftwareFoundation/${PN}/archive/v${PV}.tar.g |
39 |
LICENSE="MPL-2.0" |
40 |
SLOT="0/9" |
41 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
42 |
-IUSE="cpu_flags_x86_avx cpu_flags_x86_sse4_2 +blosc doc +nanovdb numpy python static-libs test utils zlib abi6-compat abi7-compat +abi8-compat" |
43 |
+IUSE="cpu_flags_x86_avx cpu_flags_x86_sse4_2 +blosc doc +nanovdb numpy python static-libs test utils zlib abi6-compat abi7-compat abi8-compat +abi9-compat" |
44 |
RESTRICT="!test? ( test )" |
45 |
|
46 |
REQUIRED_USE=" |
47 |
numpy? ( python ) |
48 |
- ^^ ( abi6-compat abi7-compat abi8-compat ) |
49 |
+ ^^ ( abi6-compat abi7-compat abi8-compat abi9-compat ) |
50 |
python? ( ${PYTHON_REQUIRED_USE} ) |
51 |
" |
52 |
RDEPEND=" |
53 |
@@ -83,6 +83,8 @@ src_configure() { |
54 |
version=7 |
55 |
elif use abi8-compat; then |
56 |
version=8 |
57 |
+ elif use abi9-compat; then |
58 |
+ version=9 |
59 |
else |
60 |
die "OpenVDB ABI version is not compatible" |
61 |
fi |