pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/opencolorio Add package OpenColorIO version v...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f1659482f0ee
branches:  trunk
changeset: 378350:f1659482f0ee
user:      maya <maya%pkgsrc.org@localhost>
date:      Fri Apr 06 03:42:19 2018 +0000

description:
Add package OpenColorIO version v1.0.9

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.

diffstat:

 graphics/opencolorio/Makefile                          |  34 ++++++++++++++++++
 graphics/opencolorio/PLIST                             |  11 +++++
 graphics/opencolorio/buildlink3.mk                     |  16 ++++++++
 graphics/opencolorio/distinfo                          |   7 +++
 graphics/opencolorio/patches/patch-src_core_Platform.h |  15 +++++++
 5 files changed, 83 insertions(+), 0 deletions(-)

diffs (103 lines):

diff -r b21c10581537 -r f1659482f0ee graphics/opencolorio/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/opencolorio/Makefile     Fri Apr 06 03:42:19 2018 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2018/04/06 03:42:19 maya Exp $
+
+DISTNAME=      v1.0.9
+PKGNAME=       ${GITHUB_PROJECT}-${DISTNAME:S/^v//}
+CATEGORIES=    graphics
+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
+
+GITHUB_PROJECT=        OpenColorIO
+
+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 "../../textproc/yaml-cpp03/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b21c10581537 -r f1659482f0ee graphics/opencolorio/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/opencolorio/PLIST        Fri Apr 06 03:42:19 2018 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2018/04/06 03:42:19 maya Exp $
+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 -r b21c10581537 -r f1659482f0ee graphics/opencolorio/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/opencolorio/buildlink3.mk        Fri Apr 06 03:42:19 2018 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/04/06 03:42:19 maya Exp $
+
+BUILDLINK_TREE+=       OpenColorIO
+
+.if !defined(OPENCOLORIO_BUILDLINK3_MK)
+OPENCOLORIO_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.OpenColorIO+=    OpenColorIO>=1.0.9
+BUILDLINK_PKGSRCDIR.OpenColorIO?=      ../../graphics/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 -r b21c10581537 -r f1659482f0ee graphics/opencolorio/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/opencolorio/distinfo     Fri Apr 06 03:42:19 2018 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/04/06 03:42:19 maya Exp $
+
+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 -r b21c10581537 -r f1659482f0ee graphics/opencolorio/patches/patch-src_core_Platform.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/opencolorio/patches/patch-src_core_Platform.h    Fri Apr 06 03:42:19 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_core_Platform.h,v 1.1 2018/04/06 03:42:19 maya Exp $
+
+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