mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Move more bits from opencolorio-tools to opencolorio.
Submitted by: Shane Ambler <FreeBSD@Shaneware.biz> (maintainer)
This commit is contained in:
parent
b382f19a83
commit
8c65b19716
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331415
@ -1,24 +1,13 @@
|
||||
# Created by: Shane Ambler <FreeBSD@Shaneware.biz>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTREVISION= 0
|
||||
PKGNAMESUFFIX= -tools
|
||||
|
||||
COMMENT= Tools to work with OpenColorIO profiles
|
||||
|
||||
LIB_DEPENDS= OpenImageIO:${PORTSDIR}/graphics/openimageio \
|
||||
OpenColorIO:${PORTSDIR}/graphics/opencolorio
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../opencolorio
|
||||
OPTIONS_EXCLUDE=DOCS
|
||||
|
||||
CMAKE_ARGS= -DOCIO_BUILD_APPS:BOOL=ON \
|
||||
-DOCIO_BUILD_JNIGLUE:BOOL=OFF \
|
||||
-DOCIO_BUILD_NUKE:BOOL=OFF \
|
||||
-DOCIO_BUILD_PYGLUE:BOOL=OFF \
|
||||
-DOCIO_BUILD_SHARED:BOOL=OFF \
|
||||
-DOCIO_BUILD_STATIC:BOOL=OFF
|
||||
|
||||
USE_GL= glew glut
|
||||
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-CMakeLists.txt
|
||||
|
@ -17,11 +17,14 @@ GH_PROJECT= OpenColorIO
|
||||
GH_TAGNAME= v${PORTVERSION}
|
||||
GH_COMMIT= 8883824
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
PLIST= ${PKGDIR}/pkg-plist${PKGNAMESUFFIX}
|
||||
USES= cmake:outsource pkgconfig
|
||||
CMAKE_ARGS= -DOCIO_BUILD_JNIGLUE:BOOL=OFF \
|
||||
-DOCIO_BUILD_NUKE:BOOL=OFF \
|
||||
-DOCIO_BUILD_STATIC:BOOL=OFF \
|
||||
-DUSE_EXTERNAL_TINYXML:BOOL=ON \
|
||||
-DUSE_EXTERNAL_YAML:BOOL=ON
|
||||
|
||||
.if ${MACHINE_CPU:Msse2}
|
||||
CMAKE_ARGS+= -DOCIO_USE_SSE:BOOL=ON
|
||||
@ -32,17 +35,19 @@ CMAKE_ARGS+= -DOCIO_USE_SSE:BOOL=OFF
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${SLAVE_PORT} == no
|
||||
LIB_DEPENDS+= libtinyxml.so:${PORTSDIR}/textproc/tinyxml \
|
||||
LIB_DEPENDS= libtinyxml.so:${PORTSDIR}/textproc/tinyxml \
|
||||
libyaml-cpp.so:${PORTSDIR}/devel/yaml-cpp
|
||||
USE_PYTHON= 2.6+
|
||||
USE_LDCONFIG= yes
|
||||
CMAKE_ARGS+= -DOCIO_BUILD_APPS:BOOL=OFF \
|
||||
-DOCIO_BUILD_JNIGLUE:BOOL=OFF \
|
||||
-DOCIO_BUILD_NUKE:BOOL=OFF \
|
||||
-DOCIO_BUILD_STATIC:BOOL=OFF \
|
||||
-DOCIO_BUILD_PYGLUE:BOOL=ON \
|
||||
-DUSE_EXTERNAL_TINYXML:BOOL=ON \
|
||||
-DUSE_EXTERNAL_YAML:BOOL=ON
|
||||
-DOCIO_BUILD_SHARED:BOOL=ON \
|
||||
-DOCIO_BUILD_PYGLUE:BOOL=ON
|
||||
.else
|
||||
LIB_DEPENDS= libOpenImageIO.so:${PORTSDIR}/graphics/openimageio \
|
||||
libOpenColorIO.so:${PORTSDIR}/graphics/opencolorio
|
||||
CMAKE_ARGS+= -DOCIO_BUILD_APPS:BOOL=ON \
|
||||
-DOCIO_BUILD_SHARED:BOOL=OFF \
|
||||
-DOCIO_BUILD_PYGLUE:BOOL=OFF
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
Loading…
Reference in New Issue
Block a user