sthen 80189a1b96 import graphics/opensubdiv, from deserter666 at danwin1210.me, ok rsadowski
OpenSubdiv is a set of open source libraries that implement high performance
subdivision surface (subdiv) evaluation on massively parallel CPU and GPU
architectures. This codepath is optimized for drawing deforming subdivs with
static topology at interactive framerates. The resulting limit surface
matches Pixar's Renderman to numerical precision.
2021-01-26 13:16:46 +00:00

40 lines
769 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2021/01/26 13:16:46 sthen Exp $
COMMENT= open-source subdivision surface library
V= 3.4.3
GH_ACCOUNT= PixarAnimationStudios
GH_PROJECT= OpenSubdiv
GH_TAGNAME= v${V:S/./_/g}
DISTNAME= ${GH_PROJECT:L}-${V}
SHARED_LIBS += osdCPU 0.0 # 3.4.3
SHARED_LIBS += osdGPU 0.0 # 3.4.3
CATEGORIES= graphics
HOMEPAGE= https://graphics.pixar.com/opensubdiv/
MAINTAINER= Dimitri Karamazov <deserter666@danwin1210.me>
# APACHE 2.0
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} GL c m tbb
COMPILER= base-clang ports-gcc base-gcc
MODULES= devel/cmake
BUILD_DEPENDS= graphics/glfw
LIB_DEPENDS= devel/tbb
CONFIGURE_ARGS= -DNO_DOC=ON
post-install:
rm -rf ${PREFIX}/bin/tutorials
rm ${PREFIX}/bin/{far,gl,hbr,osd}*
.include <bsd.port.mk>