commit:     96ffde43f96fb831a4477f71bb7bb7fa84b0b0f2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  2 03:49:34 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec  2 03:49:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ffde43

media-libs/osl: force use of OpenEXR/ilmbase (not imath)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/osl/{osl-1.11.16.0.ebuild => osl-1.11.16.0-r1.ebuild} | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/media-libs/osl/osl-1.11.16.0.ebuild 
b/media-libs/osl/osl-1.11.16.0-r1.ebuild
similarity index 96%
rename from media-libs/osl/osl-1.11.16.0.ebuild
rename to media-libs/osl/osl-1.11.16.0-r1.ebuild
index 210576bec26a..dd9c668ee293 100644
--- a/media-libs/osl/osl-1.11.16.0.ebuild
+++ b/media-libs/osl/osl-1.11.16.0-r1.ebuild
@@ -34,6 +34,7 @@ RDEPEND="
        dev-libs/boost:=
        dev-libs/pugixml
        media-libs/openexr:=
+       media-libs/ilmbase:=
        <media-libs/openimageio-2.3:=
        <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):=
        sys-libs/zlib
@@ -84,6 +85,9 @@ src_configure() {
        local gcc=$(tc-getCC)
 
        local mycmakeargs=(
+               # Force use of OpenEXR/ilmbase
+               -DCMAKE_DISABLE_FIND_PACKAGE_Imath=ON
+
                # LLVM 10+ needs C++14
                -DCMAKE_CXX_STANDARD=14
                -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"

Reply via email to