pantry/projects/openexr.com/package.yml

44 lines
927 B
YAML
Raw Normal View History

2023-03-15 23:02:17 +03:00
distributable:
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:
github: AcademySoftwareFoundation/openexr/tags
2023-03-15 23:02:17 +03:00
strip: /^v/
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: '*'
freedesktop.org/pkg-config: '*'
working-directory: build
2023-03-15 23:02:17 +03:00
script: |
cmake .. $ARGS
make install
2023-03-15 23:02:17 +03:00
env:
ARGS:
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
2023-03-15 23:02:17 +03:00
- -DCMAKE_BUILD_TYPE=Release
provides:
- bin/exr2aces
- bin/exrenvmap
- bin/exrheader
- bin/exrmakepreview
- bin/exrmaketiled
- bin/exrmultipart
- bin/exrmultiview
- bin/exrstdattr
2023-03-15 23:02:17 +03:00
test:
dependencies:
gnu.org/wget: '*'
2023-03-15 23:02:17 +03:00
script: |
wget https://github.com/AcademySoftwareFoundation/openexr-images/raw/main/TestImages/AllHalfValues.exr
exrheader AllHalfValues.exr