pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/box2d graphics/box2d: import box2d-2.4.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/2b809ad84737
branches: trunk
changeset: 446281:2b809ad84737
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sat Feb 06 06:41:33 2021 +0000
description:
graphics/box2d: import box2d-2.4.1
Box2D is a 2D physics engine for games.
Features:
Collision
Continuous collision detection
Contact callbacks: begin, end, pre-solve, post-solve
Convex polygons and circles
Multiple shapes per body
One-shot contact manifolds
Dynamic tree broadphase
Efficient pair management
Fast broadphase AABB queries
Collision groups and categories
Physics
Continuous physics with time of impact solver
Persistent body-joint-contact graph
Island solution and sleep management
Contact, friction, and restitution
Stable stacking with a linear-time solver
Revolute, prismatic, distance, pulley, gear, mouse joint,
and other joint types
Joint limits, motors, and friction
Momentum decoupled position correction
Fairly accurate reaction forces/impulses
System
Small block and stack allocators
Centralized tuning parameters
Highly portable C++ with no use of STL containers
diffstat:
graphics/box2d/DESCR | 30 ++++++++++++++++++++++++++++
graphics/box2d/Makefile | 25 +++++++++++++++++++++++
graphics/box2d/PLIST | 47 ++++++++++++++++++++++++++++++++++++++++++++
graphics/box2d/buildlink3.mk | 13 ++++++++++++
graphics/box2d/distinfo | 6 +++++
5 files changed, 121 insertions(+), 0 deletions(-)
diffs (141 lines):
diff -r 36816b7b8057 -r 2b809ad84737 graphics/box2d/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/box2d/DESCR Sat Feb 06 06:41:33 2021 +0000
@@ -0,0 +1,30 @@
+Box2D is a 2D physics engine for games.
+
+Features:
+Collision
+ Continuous collision detection
+ Contact callbacks: begin, end, pre-solve, post-solve
+ Convex polygons and circles
+ Multiple shapes per body
+ One-shot contact manifolds
+ Dynamic tree broadphase
+ Efficient pair management
+ Fast broadphase AABB queries
+ Collision groups and categories
+
+Physics
+ Continuous physics with time of impact solver
+ Persistent body-joint-contact graph
+ Island solution and sleep management
+ Contact, friction, and restitution
+ Stable stacking with a linear-time solver
+ Revolute, prismatic, distance, pulley, gear, mouse joint,
+ and other joint types
+ Joint limits, motors, and friction
+ Momentum decoupled position correction
+ Fairly accurate reaction forces/impulses
+
+System
+ Small block and stack allocators
+ Centralized tuning parameters
+ Highly portable C++ with no use of STL containers
diff -r 36816b7b8057 -r 2b809ad84737 graphics/box2d/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/box2d/Makefile Sat Feb 06 06:41:33 2021 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2021/02/06 06:41:33 ryoon Exp $
+
+GITHUB_PROJECT= box2d
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= box2d-2.4.1
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=erincatto/}
+
+MAINTAINER= ryoon%NetBSD.org@localhost
+HOMEPAGE= https://github.com/erincatto/box2d/
+COMMENT= 2D physics engine for games
+LICENSE= mit
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS+= -DBOX2D_BUILD_TESTBED=OFF
+CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXcursor/buildlink3.mk"
+.include "../../x11/libXi/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 36816b7b8057 -r 2b809ad84737 graphics/box2d/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/box2d/PLIST Sat Feb 06 06:41:33 2021 +0000
@@ -0,0 +1,47 @@
+@comment $NetBSD: PLIST,v 1.1 2021/02/06 06:41:33 ryoon Exp $
+include/box2d/b2_api.h
+include/box2d/b2_block_allocator.h
+include/box2d/b2_body.h
+include/box2d/b2_broad_phase.h
+include/box2d/b2_chain_shape.h
+include/box2d/b2_circle_shape.h
+include/box2d/b2_collision.h
+include/box2d/b2_common.h
+include/box2d/b2_contact.h
+include/box2d/b2_contact_manager.h
+include/box2d/b2_distance.h
+include/box2d/b2_distance_joint.h
+include/box2d/b2_draw.h
+include/box2d/b2_dynamic_tree.h
+include/box2d/b2_edge_shape.h
+include/box2d/b2_fixture.h
+include/box2d/b2_friction_joint.h
+include/box2d/b2_gear_joint.h
+include/box2d/b2_growable_stack.h
+include/box2d/b2_joint.h
+include/box2d/b2_math.h
+include/box2d/b2_motor_joint.h
+include/box2d/b2_mouse_joint.h
+include/box2d/b2_polygon_shape.h
+include/box2d/b2_prismatic_joint.h
+include/box2d/b2_pulley_joint.h
+include/box2d/b2_revolute_joint.h
+include/box2d/b2_rope.h
+include/box2d/b2_settings.h
+include/box2d/b2_shape.h
+include/box2d/b2_stack_allocator.h
+include/box2d/b2_time_of_impact.h
+include/box2d/b2_time_step.h
+include/box2d/b2_timer.h
+include/box2d/b2_types.h
+include/box2d/b2_weld_joint.h
+include/box2d/b2_wheel_joint.h
+include/box2d/b2_world.h
+include/box2d/b2_world_callbacks.h
+include/box2d/box2d.h
+lib/cmake/box2d/box2dConfig-noconfig.cmake
+lib/cmake/box2d/box2dConfig.cmake
+lib/cmake/box2d/box2dConfigVersion.cmake
+lib/libbox2d.so
+lib/libbox2d.so.2
+lib/libbox2d.so.${PKGVERSION}
diff -r 36816b7b8057 -r 2b809ad84737 graphics/box2d/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/box2d/buildlink3.mk Sat Feb 06 06:41:33 2021 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/02/06 06:41:33 ryoon Exp $
+
+BUILDLINK_TREE+= box2d
+
+.if !defined(BOX2D_BUILDLINK3_MK)
+BOX2D_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.box2d+= box2d>=2.4.1
+BUILDLINK_PKGSRCDIR.box2d?= ../../graphics/box2d
+
+.endif # BOX2D_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -box2d
diff -r 36816b7b8057 -r 2b809ad84737 graphics/box2d/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/box2d/distinfo Sat Feb 06 06:41:33 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/02/06 06:41:33 ryoon Exp $
+
+SHA1 (box2d-2.4.1.tar.gz) = bcf50ce79a21340388894cef522871b14926ad2d
+RMD160 (box2d-2.4.1.tar.gz) = 052f805c1a9c7b788d97f8ca1417f8d2cd4f73ec
+SHA512 (box2d-2.4.1.tar.gz) = d900f925b77906777719c91488bdc5e2df1ad1f4a8ca39a574229f5e57070e3a843bdd7530e817112605fde6d82145c872d8afdfc65b84531a73199098c81162
+Size (box2d-2.4.1.tar.gz) = 1224516 bytes
Home |
Main Index |
Thread Index |
Old Index