OpenColorIO 1.0.9 master
authorYaakov Selkowitz <yselkowi@redhat.com>
Mon, 21 Sep 2015 04:22:11 +0000 (23:22 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Mon, 21 Sep 2015 04:22:11 +0000 (23:22 -0500)
1.0.9-cmake-install.patch [new file with mode: 0644]
OpenColorIO.cygport [new file with mode: 0644]

diff --git a/1.0.9-cmake-install.patch b/1.0.9-cmake-install.patch
new file mode 100644 (file)
index 0000000..ec80b4d
--- /dev/null
@@ -0,0 +1,14 @@
+--- origsrc/OpenColorIO-1.0.9/src/core/CMakeLists.txt  2013-10-08 17:59:34.000000000 -0500
++++ src/OpenColorIO-1.0.9/src/core/CMakeLists.txt      2015-09-20 11:40:28.750665100 -0500
+@@ -51,7 +51,10 @@ if(OCIO_BUILD_SHARED)
+         VERSION ${OCIO_VERSION}
+         SOVERSION ${SOVERSION})
+     
+-    install(TARGETS OpenColorIO DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/lib${LIB_SUFFIX})
++    install(TARGETS OpenColorIO
++            LIBRARY DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/lib${LIB_SUFFIX}
++            RUNTIME DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/bin
++            ARCHIVE DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/lib${LIB_SUFFIX})
+ endif()
+ # STATIC
diff --git a/OpenColorIO.cygport b/OpenColorIO.cygport
new file mode 100644 (file)
index 0000000..68a858e
--- /dev/null
@@ -0,0 +1,34 @@
+inherit cmake python
+
+NAME="OpenColorIO"
+VERSION=1.0.9
+RELEASE=1
+CATEGORY="Libs"
+SUMMARY="Color management for computer animation"
+DESCRIPTION="OpenColorIO (OCIO) is a complete color management solution geared
+towards motion picture production with an emphasis on visual effects and
+computer animation. OCIO is compatible with the Academy Color Encoding
+Specification and is LUT-format agnostic, supporting many popular formats."
+HOMEPAGE="http://opencolorio.org/"
+SRC_URI="https://github.com/imageworks/OpenColorIO/archive/v${VERSION}/OpenColorIO-v${VERSION}.tar.gz"
+PATCH_URI="1.0.9-cmake-install.patch"
+
+PKG_NAMES="${NAME} ${NAME}-doc lib${NAME}1 lib${NAME}-devel python-Py${NAME}"
+OpenColorIO_CATEGORY="Graphics"
+OpenColorIO_CONTENTS="--exclude=html usr/bin/ocio* usr/share/doc/ usr/share/ocio/"
+OpenColorIO_doc_CATEGORY="Graphics"
+OpenColorIO_doc_CONTENTS="usr/share/doc/${NAME}/html/"
+libOpenColorIO1_CONTENTS="usr/bin/cygOpenColorIO-1.dll"
+libOpenColorIO_devel_CONTENTS="usr/include/ usr/lib/lib* usr/lib/pkgconfig/"
+python_PyOpenColorIO_CONTENTS="${PYTHON_SITELIB#/}/PyOpenColorIO*"
+
+CYGCMAKE_ARGS="
+       -DOCIO_BUILD_STATIC=OFF
+       -DOCIO_BUILD_DOCS=ON
+       -DOCIO_BUILD_TESTS=ON
+       -DOCIO_PYGLUE_LINK=ON
+       -DOCIO_PYGLUE_SONAME=OFF
+       -DUSE_EXTERNAL_YAML=OFF
+       -DUSE_EXTERNAL_TINYXML=OFF
+       -DUSE_EXTERNAL_LCMS=ON
+"
This page took 0.021759 seconds and 5 git commands to generate.