inherit cmake ninja NAME="openexr" VERSION=2.5.8 RELEASE=1 CATEGORY="Libs" SUMMARY="Utility libraries used by OpenEXR" DESCRIPTION="General utility libraries used by OpenEXR: * Half is a class that encapsulates our 16-bit floating-point format. * IlmThread is a thread abstraction library for use with OpenEXR and other software packages. It currently supports pthreads and Windows threads. * Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions and other useful 2D and 3D math functions. * Iex is an exception-handling library." HOMEPAGE="http://openexr.com/" SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz" SRC_DIR="openexr-${PV}" PKG_NAMES="libilmbase2_5_25 libIlmImf2_25_26 libilmbase-common libopenexr-devel openexr-utilities" libopenexr_devel_OBSOLETES="libIlmImf-devel libilmbase-devel" libIlmImf2_25_26_DESCRIPTION="High dynamic-range image format" libIlmImf2_25_26_CONTENTS=" usr/bin/cygIlmImf-2_5-26.dll usr/bin/cygIlmImfUtil-2_5-26.dll " libilmbase2_5_25_CONTENTS=" usr/bin/cygHalf-2_5-25.dll usr/bin/cygIex-2_5-25.dll usr/bin/cygIexMath-2_5-25.dll usr/bin/cygIlmThread-2_5-25.dll usr/bin/cygImath-2_5-25.dll " libilmbase_common_CONTENTS="usr/share/doc/" libopenexr_devel_CONTENTS='usr/include/ usr/lib/' openexr_utilities_CONTENTS=" usr/bin/exrenvmap.exe usr/bin/exrheader.exe usr/bin/exrmakepreview.exe usr/bin/exrmaketiled.exe usr/bin/exrmultipart.exe usr/bin/exrmultiview.exe usr/bin/exrstdattr.exe usr/bin/exr2aces.exe " src_install() { cd ${B} ninja_install rm ${D}/usr/lib/cyg*.dll } src_test() { cd ${B} ninja test }