fae794bd16
Summary of the included ChangeLog: * Added GPU deformable object solvers to OpenCL and DirectCompute * Create a separate library for MiniCL * Moved vectormath into Bullet/src, and added a SSE implementation * Added a btParallelConstraintSolver * Added Separantix Axis Test and Polyhedral Clipping support * OpenCL and DirectCompute cloth as basic support for capsule collision * Use Hierachical Approximate Convex Decomposition * Add Intel cmake-build support for OpenCL accelerated cloth/particle * preliminary build support for Google NativeClient, using premake4 Ok@ wiz
32 lines
948 B
Makefile
32 lines
948 B
Makefile
# $NetBSD: Makefile,v 1.5 2016/06/15 20:10:50 rumko Exp $
|
|
#
|
|
|
|
PKGNAME= ${DISTNAME:S/-r2704//}
|
|
DISTNAME= bullet-2.82-r2704
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://bullet.googlecode.com/files/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://bullet.googlecode.com/
|
|
COMMENT= Collision detection, soft body and rigid body dynamics library
|
|
LICENSE= mit
|
|
|
|
USE_TOOLS+= pkg-config
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++
|
|
|
|
PKGCONFIG_OVERRIDE+= bullet.pc.in
|
|
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release
|
|
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=on
|
|
# doesn't install anything without this
|
|
CMAKE_ARGS+= -DINSTALL_LIBS:BOOL=on
|
|
|
|
SUBST_CLASSES+= lcompat
|
|
SUBST_STAGE.lcompat= post-patch
|
|
SUBST_FILES.lcompat= Demos/AllBulletDemos/CMakeLists.txt
|
|
SUBST_SED.lcompat= -e "s|{OPENGL_glu_LIBRARY}|{OPENGL_glu_LIBRARY} -lcompat|g"
|
|
SUBST_MESSAGE.lcompat= Adding -lcompat for demos
|
|
|
|
.include "../../graphics/glut/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|