2023-03-15 23:02:17 +03:00
|
|
|
distributable:
|
2023-03-16 04:09:20 +03:00
|
|
|
url: https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v{{version}}.tar.gz
|
2023-03-15 23:02:17 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-03-16 04:09:20 +03:00
|
|
|
github: AcademySoftwareFoundation/openexr/tags
|
2023-03-15 23:02:17 +03:00
|
|
|
strip: /^v/
|
|
|
|
|
2023-03-16 04:09:20 +03:00
|
|
|
dependencies:
|
|
|
|
zlib.net: ^1
|
|
|
|
openexr.com/imath: '*'
|
|
|
|
|
2023-03-15 23:02:17 +03:00
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
tea.xyz/gx/make: '*'
|
|
|
|
cmake.org: '*'
|
2023-03-16 04:09:20 +03:00
|
|
|
freedesktop.org/pkg-config: '*'
|
|
|
|
working-directory: build
|
2023-03-15 23:02:17 +03:00
|
|
|
script: |
|
2023-03-16 04:09:20 +03:00
|
|
|
cmake .. $ARGS
|
|
|
|
make install
|
2023-03-15 23:02:17 +03:00
|
|
|
env:
|
|
|
|
ARGS:
|
2023-03-16 04:09:20 +03:00
|
|
|
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
|
2023-03-15 23:02:17 +03:00
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
|
|
|
2023-03-16 04:09:20 +03:00
|
|
|
provides:
|
|
|
|
- bin/exr2aces
|
|
|
|
- bin/exrenvmap
|
|
|
|
- bin/exrheader
|
|
|
|
- bin/exrinfo
|
|
|
|
- bin/exrmakepreview
|
|
|
|
- bin/exrmaketiled
|
|
|
|
- bin/exrmultipart
|
|
|
|
- bin/exrmultiview
|
|
|
|
- bin/exrstdattr
|
2023-03-15 23:02:17 +03:00
|
|
|
|
|
|
|
test:
|
|
|
|
dependencies:
|
2023-03-16 04:09:20 +03:00
|
|
|
gnu.org/wget: '*'
|
2023-03-15 23:02:17 +03:00
|
|
|
script: |
|
2023-03-16 04:09:20 +03:00
|
|
|
wget https://github.com/AcademySoftwareFoundation/openexr-images/raw/main/TestImages/AllHalfValues.exr
|
|
|
|
exrheader AllHalfValues.exr
|