26 lines
734 B
Plaintext
26 lines
734 B
Plaintext
# Description: A high dynamic-range (HDR) image file format for use in computer imaging applications
|
|
# URL: https://www.openexr.com
|
|
# Maintainer: Stamatin Cristina, dear dot volgk at gmail dot com
|
|
# Depends on: cmake imath zlib
|
|
|
|
name=openexr
|
|
version=3.1.5
|
|
release=1
|
|
source=(https://github.com/AcademySoftwareFoundation/openexr/archive/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cmake -S$name-$version -Bbuild \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
|
-DCMAKE_CXX_FLAGS_RELEASE="$CFLAGS" \
|
|
-Wno-dev
|
|
|
|
cmake --build build -v
|
|
|
|
DESTDIR=$PKG cmake --install build
|
|
|
|
rm -r $PKG/usr/share
|
|
}
|