[Lunar-commits] <moonbase-other> OpenImageIO-oiio: Adding to moonbase, will be an optional_depends for blender.
stumbles
stumbles at lunar-linux.org
Fri Mar 29 20:39:15 CET 2013
commit c592a7198b387bcffd7483e940818a802bf615aa
Author: stumbles <stumbles at lunar-linux.org>
Date: Fri, 29 Mar 2013 12:39:15 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/c592a7198b387bcffd7483e940818a802bf615aa
OpenImageIO-oiio: Adding to moonbase, will be an optional_depends for blender.
---
graphics/OpenImageIO-oiio/BUILD | +19/-0
graphics/OpenImageIO-oiio/DEPENDS | +18/-0
graphics/OpenImageIO-oiio/DETAILS | +20/-0
3 files changed, 57 insertions(+)
--- /dev/null
+++ b/graphics/OpenImageIO-oiio/BUILD
@@ -0,0 +1,19 @@
+
+ if in_depends $MODULE openjpeg ; then
+ OPENJPEG_VER=`lvu version openjpeg | cut -c 1-3` &&
+ OPTS+=" -DOPENJPEG_INCLUDE_DIR=/usr/include/openjpeg-$OPENJPEG_VER"
+ fi &&
+
+ if module_installed hdf5 ; then
+ OPTS+=" -DHDF5_LIBRARIES=/usr/lib"
+ fi &&
+
+ OPTS+=" -DEMBEDPLUGINS=OFF -DCMAKE_C_FLAGS=-fPIC" &&
+
+ sedit "35i #include <string.h>" src/libtexture/texturesys.cpp src/libtexture/imagecache.cpp src/testtex/testtex.cpp &&
+
+ cmake $SOURCE_DIRECTORY/src -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX \
+ -DCMAKE_BUILD_TYPE=RELEASE \
+ $OPTS &&
+
+ default_make
--- /dev/null
+++ b/graphics/OpenImageIO-oiio/DEPENDS
@@ -0,0 +1,18 @@
+depends glew
+depends %JPEG
+depends tiff
+depends libpng
+depends openexr
+depends boost
+depends libwebp
+
+optional_depends "Python" "-DUSE_PYTHON=ON" "-DUSE_PYTHON=OFF" "for Python bindings support"
+optional_depends "openssl" "-DUSE_OPENSSL=ON" "-DUSE_OPENSSL=OFF" "for ssl support"
+optional_depends "openjpeg" "-DUSE_OPENJPEG=ON" "-DUSE_OPENJPEG=OFF" "for openjpeg graphics support"
+optional_depends "freetype2" "-DUSE_FREETYPE=ON" "-DUSE_FREETPE=OFF" "for freetype font support"
+optional_depends "tbb" "-DUSE_EXTERNAL_TBB=ON" "-DUSE_EXTERNAL_TBB=OFF" "if yes use system threaded building blocks"
+optional_depends "qt4" "-DUSE_QT=ON" "-DUSE_QT=OFF" "for image viewing tools support"
+optional_depends "opencv" "-DUSE_OPENCV=ON" "-DUSE_OPENCV=OFF" "for open computer vision support"
+
+optional_depends "imageworks-OpenColorIO" "-DUSE_OCIO=ON" "-DUSE_OCIO=OFF" "for OpenColorIO color management support"
+optional_depends "imageworks-Field3D" "-DUSE_FIELD3D=ON" "-DUSE_FIELD3D=OFF" "for voxel data storage support"
--- /dev/null
+++ b/graphics/OpenImageIO-oiio/DETAILS
@@ -0,0 +1,20 @@
+ MODULE=OpenImageIO-oiio
+ VERSION=RB-1.1
+ SOURCE=$VERSION.zip
+ SOURCE_URL=https://github.com/OpenImageIO/oiio/archive/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/oiio-$VERSION
+ SOURCE_VFY=sha1:82c8b3582f5885b84b2775ef7e9b1fc60fac6634
+ WEB_SITE=https://sites.google.com/site/openimageio/
+ ENTERED=20130329
+ UPDATED=20130329
+ SHORT="library for reading and writing images"
+
+cat << EOF
+OpenImageIO is a library for reading and writing images, and a bunch of related
+classes, utilities, and applications. There is a particular emphasis on formats
+and functionality used in professional, large-scale animation and visual effects
+work for film.
+
+OpenImageIO is used extensively in animation and VFX studios all over the world,
+and is also incorporated into several commercial products.
+EOF
More information about the Lunar-commits
mailing list