mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
graphics/cimg: make compatible with OpenEXR/Imath 3.0
This commit is contained in:
parent
6f771bd2f7
commit
9afced5664
2 changed files with 6 additions and 3 deletions
|
@ -3,6 +3,7 @@
|
||||||
PORTNAME= cimg
|
PORTNAME= cimg
|
||||||
DISTVERSIONPREFIX= v.
|
DISTVERSIONPREFIX= v.
|
||||||
DISTVERSION= 2.9.7
|
DISTVERSION= 2.9.7
|
||||||
|
PORTREVISION= 1
|
||||||
PORTEPOCH= 3
|
PORTEPOCH= 3
|
||||||
CATEGORIES= graphics devel
|
CATEGORIES= graphics devel
|
||||||
|
|
||||||
|
@ -49,9 +50,9 @@ LIB_DEPENDS+= libboard.so:graphics/libboard
|
||||||
LIB_DEPENDS+= libcurl.so:ftp/curl \
|
LIB_DEPENDS+= libcurl.so:ftp/curl \
|
||||||
libpng.so:graphics/png \
|
libpng.so:graphics/png \
|
||||||
libtiff.so:graphics/tiff \
|
libtiff.so:graphics/tiff \
|
||||||
libHalf.so:graphics/ilmbase \
|
libImath.so:math/Imath \
|
||||||
libheif.so:graphics/libheif \
|
libheif.so:graphics/libheif \
|
||||||
libIlmImf.so:graphics/openexr \
|
libOpenEXR.so:graphics/openexr \
|
||||||
libgimp-2.0.so:graphics/gimp-app \
|
libgimp-2.0.so:graphics/gimp-app \
|
||||||
libfftw3.so:math/fftw3 \
|
libfftw3.so:math/fftw3 \
|
||||||
libopencv_core.so:graphics/opencv \
|
libopencv_core.so:graphics/opencv \
|
||||||
|
@ -83,6 +84,7 @@ USE_XORG+= xext
|
||||||
. endif
|
. endif
|
||||||
|
|
||||||
DOCBASE= README.txt
|
DOCBASE= README.txt
|
||||||
|
CFLAGS+= -I${LOCALBASE}/include/Imath -I${LOCALBASE}/include/OpenEXR
|
||||||
MAKE_ARGS+= CPPFLAGS="${CFLAGS}" FREEBSD_LDFLAGS="${LDFLAGS}"
|
MAKE_ARGS+= CPPFLAGS="${CFLAGS}" FREEBSD_LDFLAGS="${LDFLAGS}"
|
||||||
PROGS= CImg_demo captcha curve_editor2d dtmri_view3d \
|
PROGS= CImg_demo captcha curve_editor2d dtmri_view3d \
|
||||||
edge_explorer2d fade_images gaussian_fit1d generate_loop_macros \
|
edge_explorer2d fade_images gaussian_fit1d generate_loop_macros \
|
||||||
|
|
|
@ -58,7 +58,8 @@
|
||||||
-OPENEXR_INCDIR = -I/usr/include/OpenEXR
|
-OPENEXR_INCDIR = -I/usr/include/OpenEXR
|
||||||
+OPENEXR_INCDIR = -I$(LOCALBASE)/include/OpenEXR
|
+OPENEXR_INCDIR = -I$(LOCALBASE)/include/OpenEXR
|
||||||
OPENEXR_CFLAGS = $(OPENEXR_DEFINE) $(OPENEXR_INCDIR)
|
OPENEXR_CFLAGS = $(OPENEXR_DEFINE) $(OPENEXR_INCDIR)
|
||||||
OPENEXR_LIBS = -lIlmImf -lHalf
|
-OPENEXR_LIBS = -lIlmImf -lHalf
|
||||||
|
+OPENEXR_LIBS = -lOpenEXR -lImath
|
||||||
|
|
||||||
# Flags to enable native support for various video files, using the FFMPEG library.
|
# Flags to enable native support for various video files, using the FFMPEG library.
|
||||||
# ( http://www.ffmpeg.org/ )
|
# ( http://www.ffmpeg.org/ )
|
||||||
|
|
Loading…
Add table
Reference in a new issue