summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2021-07-13 21:06:03 +0000
committermarkd <markd@pkgsrc.org>2021-07-13 21:06:03 +0000
commit38171dfb6c64024ad3763f5cf9d0a4e6d92d4a8c (patch)
treef89951ed5cf78fa720569073e85152117545feab /graphics
parentb0fd0611a6c25e861c36546c3e3f078350c60351 (diff)
downloadpkgsrc-38171dfb6c64024ad3763f5cf9d0a4e6d92d4a8c.tar.gz
gmic: openexr3 fix
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gmic/Makefile4
-rw-r--r--graphics/gmic/distinfo4
-rw-r--r--graphics/gmic/patches/patch-src_Makefile14
3 files changed, 17 insertions, 5 deletions
diff --git a/graphics/gmic/Makefile b/graphics/gmic/Makefile
index 1a2435f85da..519fe2c872b 100644
--- a/graphics/gmic/Makefile
+++ b/graphics/gmic/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2021/04/21 13:24:47 adam Exp $
+# $NetBSD: Makefile,v 1.26 2021/07/13 21:06:03 markd Exp $
DISTNAME= gmic_2.9.0
PKGNAME= ${DISTNAME:S/_/-/}
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= graphics
MASTER_SITES= https://gmic.eu/files/source/
diff --git a/graphics/gmic/distinfo b/graphics/gmic/distinfo
index f0f29d3d781..c50eeca5877 100644
--- a/graphics/gmic/distinfo
+++ b/graphics/gmic/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.8 2020/05/26 11:28:04 joerg Exp $
+$NetBSD: distinfo,v 1.9 2021/07/13 21:06:03 markd Exp $
SHA1 (gmic_2.9.0.tar.gz) = f1c4dd0c58548828fe57ca6685b384ae086f45bf
RMD160 (gmic_2.9.0.tar.gz) = f5e250c3043f811c76a74d60513a979ed09679b0
SHA512 (gmic_2.9.0.tar.gz) = 3b3703520998e5ad547316683158d7b60541a8cea2a7c1e7118f8de88492e0961bf1fe1da360dfb26d0ba7eaf997e7005a864364297db2bb405d532dedc4241d
Size (gmic_2.9.0.tar.gz) = 6195597 bytes
SHA1 (patch-gmic-qt_gmic__qt.pro) = 9fb32f44c13f743a0d6624bd24a0dac331f677b5
-SHA1 (patch-src_Makefile) = 13e8c73c84d504311cff1eb8248c1359a642ee83
+SHA1 (patch-src_Makefile) = 30327a1860885d93d8f0a59ff5d024b41ca1f836
SHA1 (patch-src_gmic.cpp) = f74d2f444b9b8121fce5aa14e3266a88bf749da1
diff --git a/graphics/gmic/patches/patch-src_Makefile b/graphics/gmic/patches/patch-src_Makefile
index 599588f835f..b7b3a549dbb 100644
--- a/graphics/gmic/patches/patch-src_Makefile
+++ b/graphics/gmic/patches/patch-src_Makefile
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_Makefile,v 1.6 2020/05/26 11:28:04 joerg Exp $
+$NetBSD: patch-src_Makefile,v 1.7 2021/07/13 21:06:03 markd Exp $
* Install man pages for pkgsrc.
+* openexr3
--- src/Makefile.orig 2020-03-28 13:25:12.000000000 +0000
+++ src/Makefile
@@ -13,6 +14,17 @@ $NetBSD: patch-src_Makefile,v 1.6 2020/05/26 11:28:04 joerg Exp $
# Enable software debugging.
# (Use address sanitizer and thus slows down the code)
+@@ -302,8 +302,8 @@ MAGICK_LIBS = $(shell pkg-config --libs
+
+ # Enable native support of EXR image files, using the OpenEXR library.
+ # (http://www.openexr.com/)
+-OPENEXR_CFLAGS = -Dcimg_use_openexr -I$(USR)/$(INCLUDE)/OpenEXR
+-OPENEXR_LIBS = -lIlmImf -lHalf
++OPENEXR_CFLAGS = -Dcimg_use_openexr -I$(USR)/$(INCLUDE)/Imath -I$(USR)/$(INCLUDE)/OpenEXR
++OPENEXR_LIBS = -lOpenEXR -lImath
+
+ # Enable Fast Fourier Transforms, using the FFTW3 library.
+ # (http://www.fftw.org/)
@@ -727,12 +727,12 @@ ifneq ($(OS),Darwin)
ln -fs libcgmic.so.$(VERSION1) $(DESTDIR)$(USR)/$(LIB)/libcgmic.so; \
fi