# $NetBSD: Makefile,v 1.3 2018/06/02 19:06:55 joerg Exp $ DISTNAME= OpenColorIO-1.0.9 PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GITHUB:=imageworks/} GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/imageworks/OpenColorIO/ COMMENT= Color management solution LICENSE= modified-bsd AND mit USE_CMAKE= yes USE_TOOLS+= pkg-config USE_LANGUAGES= c c++11 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=OFF 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"