pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add OpenColorIO
Module Name: pkgsrc-wip
Committed By: coypu <coypu%sdf.org@localhost>
Pushed By: coypu
Date: Tue Mar 27 19:15:45 2018 +0300
Changeset: c72e047a82182b3ffec2135834a769d79268c3a7
Added Files:
opencolorio/DESCR
opencolorio/Makefile
opencolorio/PLIST
opencolorio/buildlink3.mk
opencolorio/distinfo
opencolorio/patches/patch-src_core_Platform.h
Log Message:
Add OpenColorIO
OpenColorIO (OCIO) is a complete color management solution geared
towards motion picture production with an emphasis on visual effects
and computer animation. OCIO provides a straightforward and consistent
user experience across all supporting applications while allowing
for sophisticated back-end configuration options suitable for
high-end production usage. OCIO is compatible with the Academy
Color Encoding Specification (ACES) and is LUT-format agnostic,
supporting many popular formats.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c72e047a82182b3ffec2135834a769d79268c3a7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
opencolorio/DESCR | 8 +++++++
opencolorio/Makefile | 33 +++++++++++++++++++++++++++
opencolorio/PLIST | 11 +++++++++
opencolorio/buildlink3.mk | 15 ++++++++++++
opencolorio/distinfo | 7 ++++++
opencolorio/patches/patch-src_core_Platform.h | 15 ++++++++++++
6 files changed, 89 insertions(+)
diffs:
diff --git a/opencolorio/DESCR b/opencolorio/DESCR
new file mode 100644
index 0000000000..6109dcea19
--- /dev/null
+++ b/opencolorio/DESCR
@@ -0,0 +1,8 @@
+OpenColorIO (OCIO) is a complete color management solution geared
+towards motion picture production with an emphasis on visual effects
+and computer animation. OCIO provides a straightforward and consistent
+user experience across all supporting applications while allowing
+for sophisticated back-end configuration options suitable for
+high-end production usage. OCIO is compatible with the Academy
+Color Encoding Specification (ACES) and is LUT-format agnostic,
+supporting many popular formats.
diff --git a/opencolorio/Makefile b/opencolorio/Makefile
new file mode 100644
index 0000000000..56e0784970
--- /dev/null
+++ b/opencolorio/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD$
+
+PKGNAME= ${GITHUB_PROJECT}-${DISTNAME:S/^v//}
+GITHUB_PROJECT= OpenColorIO
+DISTNAME= v1.0.9
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_GITHUB:=imageworks/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/imageworks/OpenColorIO/
+COMMENT= Color management solution
+LICENSE= modified-bsd AND mit
+
+WRKSRC= ${WRKDIR}/OpenColorIO-1.0.9
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS+= -DUSE_EXTERNAL_TINYXML:BOOL=ON
+CMAKE_ARGS+= -DUSE_EXTERNAL_YAML:BOOL=ON
+CMAKE_ARGS+= -DOCIO_BUILD_APPS:BOOL=OFF
+CMAKE_ARGS+= -DOCIO_BUILD_SHARED:BOOL=ON
+CMAKE_ARGS+= -DOCIO_BUILD_PYGLUE:BOOL=ON
+
+PKGCONFIG_OVERRIDE+= export/pkgconfig/OpenColorIO.pc.in
+
+BUILDLINK_TRANSFORM+= rm:-fvisibility=hidden
+
+.include "../../graphics/lcms2/buildlink3.mk"
+.include "../../textproc/tinyxml/buildlink3.mk"
+.include "../../wip/yaml-cpp03/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/opencolorio/PLIST b/opencolorio/PLIST
new file mode 100644
index 0000000000..03a411604c
--- /dev/null
+++ b/opencolorio/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+include/OpenColorIO/OpenColorABI.h
+include/OpenColorIO/OpenColorIO.h
+include/OpenColorIO/OpenColorTransforms.h
+include/OpenColorIO/OpenColorTypes.h
+lib/libOpenColorIO.a
+lib/libOpenColorIO.so
+lib/libOpenColorIO.so.1
+lib/libOpenColorIO.so.${PKGVERSION}
+lib/pkgconfig/OpenColorIO.pc
+share/ocio/setup_ocio.sh
diff --git a/opencolorio/buildlink3.mk b/opencolorio/buildlink3.mk
new file mode 100644
index 0000000000..7436552b3e
--- /dev/null
+++ b/opencolorio/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+BUILDLINK_TREE+= OpenColorIO
+
+.if !defined(OPENCOLORIO_BUILDLINK3_MK)
+OPENCOLORIO_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.OpenColorIO+= OpenColorIO>=1.0.9
+BUILDLINK_PKGSRCDIR.OpenColorIO?= ../../wip/opencolorio
+
+#.include "../../graphics/lcms2/buildlink3.mk"
+#.include "../../textproc/tinyxml/buildlink3.mk"
+#.include "../../wip/yaml-cpp03/buildlink3.mk"
+.endif # OPENCOLORIO_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -OpenColorIO
diff --git a/opencolorio/distinfo b/opencolorio/distinfo
new file mode 100644
index 0000000000..f3671a957a
--- /dev/null
+++ b/opencolorio/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (OpenColorIO/v1.0.9.tar.gz) = 45efcc24db8f8830b6892830839da085e19eeb6d
+RMD160 (OpenColorIO/v1.0.9.tar.gz) = e079dd69392f01fcf995e25639d6acb42580085e
+SHA512 (OpenColorIO/v1.0.9.tar.gz) = ac953ba9904aff44de37cc2ee60dbf524bd86d25f699c1eacaa61ca30fed8f077194d47d34a72c05b706da7e1a3974a988d67d60031d424d91b9240f8ab86ed3
+Size (OpenColorIO/v1.0.9.tar.gz) = 13620332 bytes
+SHA1 (patch-src_core_Platform.h) = beb7c4945e2f59f7d157e1af0f7f76682dcfee2f
diff --git a/opencolorio/patches/patch-src_core_Platform.h b/opencolorio/patches/patch-src_core_Platform.h
new file mode 100644
index 0000000000..e19a01c97f
--- /dev/null
+++ b/opencolorio/patches/patch-src_core_Platform.h
@@ -0,0 +1,15 @@
+$NetBSD$
+
+No alloca on netbsd, too
+
+--- src/core/Platform.h.orig 2013-10-08 22:59:34.000000000 +0000
++++ src/core/Platform.h
+@@ -85,7 +85,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+
+ // linux/unix/posix
+ #include <stdlib.h>
+-#if !defined(__FreeBSD__)
++#if !defined(__FreeBSD__) && !defined(__NetBSD__)
+ #include <alloca.h>
+ #endif
+ #include <string.h>
Home |
Main Index |
Thread Index |
Old Index