pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cingg-netbsd: enable openexr 3.1



Module Name:	pkgsrc-wip
Committed By:	Andrew Randrianasulu <randrianasulu%gmail.com@localhost>
Pushed By:	randrianasulu
Date:		Fri Jul 5 00:22:27 2024 +0300
Changeset:	59b942ea620d583bd2d77cdd01b6596d082a5d1e

Modified Files:
	cingg-netbsd/Makefile
	cingg-netbsd/distinfo
Added Files:
	cingg-netbsd/patches/patch-aa

Log Message:
cingg-netbsd: enable openexr 3.1

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=59b942ea620d583bd2d77cdd01b6596d082a5d1e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 cingg-netbsd/Makefile         |  7 +++----
 cingg-netbsd/distinfo         |  1 +
 cingg-netbsd/patches/patch-aa | 14 ++++++++++++++
 3 files changed, 18 insertions(+), 4 deletions(-)

diffs:
diff --git a/cingg-netbsd/Makefile b/cingg-netbsd/Makefile
index 11b476eef2..06943c16d4 100644
--- a/cingg-netbsd/Makefile
+++ b/cingg-netbsd/Makefile
@@ -2,7 +2,7 @@
 DISTNAME=		cinelerra-gg-${DISTVERSION}-${DISTREVISION}
 DISTVERSION=		5.1-20240703
 DISTVERSIONSUFFIX=	-${REV:C/(.......).*/\1/}
-DISTREVISION=		2
+DISTREVISION=		3
 CATEGORIES=		multimedia
 REV=			73eb8f8d040d50f33db883d12adaaf33a2d1520c # git revision
 MASTER_SITES=		https://git.cinelerra-gg.org/git?p=goodguy/cinelerra.git;a=snapshot;h=${REV};sf=tgz;dummy=/
@@ -42,9 +42,8 @@ CXXFLAGS+=		-I/usr/X11R7/include
 CXXFLAGS+=		-I/usr/pkg/include/freetype2
 
 CFLAGS+=		-fpermissive
-#LDFLAGS+=		-lpng16
 
-MAKE_ENV=		C_INCLUDE_PATH=${PREFIX}/include:/usr/X11R7/include CPLUS_INCLUDE_PATH=${PREFIX}/include:${PREFIX}/include/uuid:${PREFIX}/include/ffmpeg6:/usr/X11R7/include:/usr/pkg/include/freetype2  LIBRARY_PATH=${PREFIX}/lib:/usr/X11R7/lib:${PREFIX}/lib/ffmpeg6 BSD=1
+MAKE_ENV=		C_INCLUDE_PATH=${PREFIX}/include:/usr/X11R7/include CPLUS_INCLUDE_PATH=${PREFIX}/include:${PREFIX}/include/uuid:${PREFIX}/include/ffmpeg6:/usr/X11R7/include:/usr/pkg/include/freetype2:/usr/pkg/include/OpenEXR:/usr/pkg/include/Imath  LIBRARY_PATH=${PREFIX}/lib:/usr/X11R7/lib:${PREFIX}/lib/ffmpeg6 BSD=1
 CONFIGURE_ARGS+=	--disable-static-build
 CONFIGURE_ARGS+=	--disable-lame
 CONFIGURE_ARGS+=	--disable-twolame
@@ -53,7 +52,7 @@ CONFIGURE_ARGS+=	--without-alsa
 CONFIGURE_ARGS+=	--without-firewire
 CONFIGURE_ARGS+=	--without-dv
 CONFIGURE_ARGS+=	--without-dvb
-CONFIGURE_ARGS+=	--without-openexr
+CONFIGURE_ARGS+=	--with-openexr
 CONFIGURE_ARGS+=	--without-video4linux2
 CONFIGURE_ARGS+=	--without-xxf86vm
 CONFIGURE_ARGS+=	--without-ladspa-build
diff --git a/cingg-netbsd/distinfo b/cingg-netbsd/distinfo
index d0585cec9e..710090cde1 100644
--- a/cingg-netbsd/distinfo
+++ b/cingg-netbsd/distinfo
@@ -3,3 +3,4 @@ $NetBSD$
 BLAKE2s (cinelerra-gg-5.1-20240703-73eb8f8d.tar.gz) = 98552c0774608721d4adf1c5e63c138f27416fe840740ea1fd6da1c452ce40d7
 SHA512 (cinelerra-gg-5.1-20240703-73eb8f8d.tar.gz) = 410e311544a73061e0042045f20b16d7137d76a306395844fe76b4410dcde92a2f3bf79f373a2dacdcc456bb7d72bd5939c8762b92c4724b3efe5817ee362002
 Size (cinelerra-gg-5.1-20240703-73eb8f8d.tar.gz) = 195630107 bytes
+SHA1 (patch-aa) = 6d2c765d11c63bfd3851d29de88c1104c04202d2
diff --git a/cingg-netbsd/patches/patch-aa b/cingg-netbsd/patches/patch-aa
new file mode 100644
index 0000000000..4f49a6a36f
--- /dev/null
+++ b/cingg-netbsd/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Hardcoding openexr3.1 for a moment
+
+--- ./cinelerra-5.1/configure.ac.orig
++++ ./cinelerra-5.1/configure.ac
+@@ -1292,6 +1292,7 @@ echo "system_libs += -L/usr/pkg/lib/"
+ echo "system_libs += -lpng16"
+ echo "system_libs += -lintl"
+ echo "system_libs += -lossaudio"
++echo "system_libs += -lOpenEXR-3_1 -lOpenEXRUtil-3_1 -lOpenEXRCore-3_1 -lIex-3_1 -lIlmThread-3_1 -lImath-3_1"
+ echo "CFLAGS += -I/usr/X11R7/include"
+ echo "CFLAGS += -I/usr/pkg/include/ffmpeg6"
+ echo "CFLAGS += $(pkg-config --cflags xft)"


Home | Main Index | Thread Index | Old Index