mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
graphics/luminance-qt5: make compatible with OpenEXR/Imath 3.0
This commit is contained in:
parent
581762cb8d
commit
d5f6e8b84e
2 changed files with 28 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= luminance-hdr
|
||||
DISTVERSION= 2.5.1
|
||||
PORTREVISION= 15
|
||||
PORTREVISION= 16
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF/qtpfsgui/luminance/${DISTVERSION}
|
||||
PKGNAMESUFFIX= -qt5
|
||||
|
@ -17,7 +17,7 @@ EXPIRATION_DATE=2021-06-23
|
|||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3
|
||||
LIB_DEPENDS= libcfitsio.so:astro/cfitsio \
|
||||
libHalf.so:graphics/ilmbase \
|
||||
libImath.so:math/Imath \
|
||||
libtiff.so:graphics/tiff \
|
||||
libraw_r.so:graphics/libraw \
|
||||
libfftw3f.so:math/fftw3-float \
|
||||
|
@ -25,9 +25,11 @@ LIB_DEPENDS= libcfitsio.so:astro/cfitsio \
|
|||
libexiv2.so:graphics/exiv2 \
|
||||
liblcms2.so:graphics/lcms2 \
|
||||
libpng.so:graphics/png \
|
||||
libIlmImf.so:graphics/openexr \
|
||||
libOpenEXR.so:graphics/openexr \
|
||||
libboost_date_time.so:devel/boost-libs
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include/Imath
|
||||
|
||||
USES= cmake desktop-file-utils jpeg pkgconfig qt:5 tar:bzip2
|
||||
USE_QT= concurrent core declarative gui location network printsupport \
|
||||
sql svg webchannel webengine widgets xml \
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
--- build_files/Modules/FindOpenEXR.cmake.orig 2017-05-10 19:14:06 UTC
|
||||
+++ build_files/Modules/FindOpenEXR.cmake
|
||||
@@ -39,18 +39,16 @@ if (NOT OPENEXR_VERSION)
|
||||
endif()
|
||||
if (${OPENEXR_VERSION} VERSION_LESS "2.1")
|
||||
SET(_openexr_FIND_COMPONENTS
|
||||
- Half
|
||||
Iex
|
||||
- IlmImf
|
||||
+ OpenEXR
|
||||
IlmThread
|
||||
Imath
|
||||
)
|
||||
else ()
|
||||
string(REGEX REPLACE "([0-9]+)[.]([0-9]+).*" "\\1_\\2" _openexr_libs_ver ${OPENEXR_VERSION})
|
||||
SET(_openexr_FIND_COMPONENTS
|
||||
- Half
|
||||
+ OpenEXR-${_openexr_libs_ver}
|
||||
Iex-${_openexr_libs_ver}
|
||||
- IlmImf-${_openexr_libs_ver}
|
||||
IlmThread-${_openexr_libs_ver}
|
||||
Imath-${_openexr_libs_ver}
|
||||
)
|
Loading…
Add table
Reference in a new issue