Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
EAPI=8 |
4 |
EAPI=8 |
5 |
|
5 |
|
6 |
inherit cmake flag-o-matic |
6 |
inherit cmake-multilib flag-o-matic |
7 |
|
7 |
|
8 |
MY_PN=OpenEXR |
8 |
MY_PN=OpenEXR |
9 |
|
9 |
|
Lines 19-26
Link Here
|
19 |
RESTRICT="!test? ( test )" |
19 |
RESTRICT="!test? ( test )" |
20 |
|
20 |
|
21 |
RDEPEND=" |
21 |
RDEPEND=" |
22 |
~dev-libs/imath-${PV}:= |
22 |
~dev-libs/imath-${PV}:=[${MULTILIB_USEDEP}] |
23 |
sys-libs/zlib |
23 |
sys-libs/zlib[${MULTILIB_USEDEP}] |
24 |
!media-libs/openexr:3 |
24 |
!media-libs/openexr:3 |
25 |
!media-libs/ilmbase |
25 |
!media-libs/ilmbase |
26 |
" |
26 |
" |
Lines 48-53
Link Here
|
48 |
fi |
48 |
fi |
49 |
|
49 |
|
50 |
cmake_src_prepare |
50 |
cmake_src_prepare |
|
|
51 |
multilib_copy_sources |
51 |
} |
52 |
} |
52 |
|
53 |
|
53 |
src_configure() { |
54 |
src_configure() { |
Lines 66-78
Link Here
|
66 |
-DOPENEXR_INSTALL_TOOLS=$(usex utils) |
67 |
-DOPENEXR_INSTALL_TOOLS=$(usex utils) |
67 |
-DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy |
68 |
-DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy |
68 |
) |
69 |
) |
|
|
70 |
multilib_is_native_abi || mycmakeargs+=( OPENEXR_FORCE_INTERNAL_IMATH=ON ) |
69 |
|
71 |
|
70 |
use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON ) |
72 |
use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON ) |
71 |
|
73 |
|
72 |
cmake_src_configure |
74 |
cmake_src_configure |
73 |
} |
75 |
} |
74 |
|
76 |
|
75 |
src_install() { |
77 |
multilib_src_install() { |
76 |
use examples && docompress -x /usr/share/doc/${PF}/examples |
78 |
use examples && docompress -x /usr/share/doc/${PF}/examples |
77 |
|
79 |
|
78 |
cmake_src_install |
80 |
cmake_src_install |