diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2022-10-15 09:56:50 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-10-15 21:33:46 +0200 |
commit | b2e3ee3e5a1ca3ae846f9483f24d21f291cb703c (patch) | |
tree | 4d413d80f0fafad26bf4f3b454c9f2b93ebc2077 /media-libs/osl | |
parent | media-video/ffmpeg: remove unused patch (diff) | |
download | gentoo-b2e3ee3e5a1ca3ae846f9483f24d21f291cb703c.tar.gz gentoo-b2e3ee3e5a1ca3ae846f9483f24d21f291cb703c.tar.bz2 gentoo-b2e3ee3e5a1ca3ae846f9483f24d21f291cb703c.zip |
media-libs/osl: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/27792
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'media-libs/osl')
-rw-r--r-- | media-libs/osl/files/osl-1.11.16.0-no-imath.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/media-libs/osl/files/osl-1.11.16.0-no-imath.patch b/media-libs/osl/files/osl-1.11.16.0-no-imath.patch deleted file mode 100644 index a8e5c1f23116..000000000000 --- a/media-libs/osl/files/osl-1.11.16.0-no-imath.patch +++ /dev/null @@ -1,49 +0,0 @@ -Force finding OpenEXR / IlmBase instead of imath for now. ---- a/src/cmake/modules/FindOpenEXR.cmake -+++ b/src/cmake/modules/FindOpenEXR.cmake -@@ -39,43 +39,10 @@ - # - - # First, try to fine just the right config files --find_package(Imath CONFIG) --if (NOT TARGET Imath::Imath) -- # Couldn't find Imath::Imath, maybe it's older and has IlmBase? -- find_package(IlmBase CONFIG) --endif () -+find_package(IlmBase CONFIG) - find_package(OpenEXR CONFIG) - --if (TARGET OpenEXR::OpenEXR AND TARGET Imath::Imath) -- # OpenEXR 3.x if both of these targets are found -- set (FOUND_OPENEXR_WITH_CONFIG 1) -- if (NOT OpenEXR_FIND_QUIETLY) -- message (STATUS "Found CONFIG for OpenEXR 3 (OPENEXR_VERSION=${OpenEXR_VERSION})") -- endif () -- -- # Mimic old style variables -- set (OPENEXR_VERSION ${OpenEXR_VERSION}) -- get_target_property(IMATH_INCLUDES Imath::Imath INTERFACE_INCLUDE_DIRECTORIES) -- get_target_property(ILMBASE_INCLUDES Imath::Imath INTERFACE_INCLUDE_DIRECTORIES) -- get_target_property(ILMBASE_IMATH_LIBRARY Imath::Imath INTERFACE_LINK_LIBRARIES) -- get_target_property(IMATH_LIBRARY Imath::Imath INTERFACE_LINK_LIBRARIES) -- get_target_property(OPENEXR_IEX_LIBRARY OpenEXR::Iex INTERFACE_LINK_LIBRARIES) -- get_target_property(OPENEXR_ILMTHREAD_LIBRARY OpenEXR::IlmThread INTERFACE_LINK_LIBRARIES) -- set (ILMBASE_LIBRARIES ${ILMBASE_IMATH_LIBRARY}) -- set (ILMBASE_FOUND true) -- -- get_target_property(OPENEXR_INCLUDES OpenEXR::OpenEXR INTERFACE_INCLUDE_DIRECTORIES) -- get_target_property(OPENEXR_ILMIMF_LIBRARY OpenEXR::OpenEXR INTERFACE_LINK_LIBRARIES) -- set (OPENEXR_LIBRARIES ${OPENEXR_ILMIMF_LIBRARY} ${OPENEXR_IEX_LIBRARY} ${OPENEXR_ILMTHREAD_LIBRARY} ${ILMBASE_LIBRARIES}) -- set (OPENEXR_FOUND true) -- -- # Link with pthreads if required -- find_package (Threads) -- if (CMAKE_USE_PTHREADS_INIT) -- list (APPEND ILMBASE_LIBRARIES ${CMAKE_THREAD_LIBS_INIT}) -- endif () -- --elseif (TARGET OpenEXR::IlmImf AND TARGET IlmBase::Imath AND -+if (TARGET OpenEXR::IlmImf AND TARGET IlmBase::Imath AND - (OPENEXR_VERSION VERSION_GREATER_EQUAL 2.4 OR OpenEXR_VERSION VERSION_GREATER_EQUAL 2.4)) - # OpenEXR 2.4 or 2.5 with exported config - set (FOUND_OPENEXR_WITH_CONFIG 1) |