pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/box2d



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sat Feb  6 06:41:33 UTC 2021

Added Files:
        pkgsrc/graphics/box2d: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/box2d/DESCR \
    pkgsrc/graphics/box2d/Makefile pkgsrc/graphics/box2d/PLIST \
    pkgsrc/graphics/box2d/buildlink3.mk pkgsrc/graphics/box2d/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/graphics/box2d/DESCR
diff -u /dev/null pkgsrc/graphics/box2d/DESCR:1.1
--- /dev/null   Sat Feb  6 06:41:33 2021
+++ pkgsrc/graphics/box2d/DESCR Sat Feb  6 06:41:33 2021
@@ -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
Index: pkgsrc/graphics/box2d/Makefile
diff -u /dev/null pkgsrc/graphics/box2d/Makefile:1.1
--- /dev/null   Sat Feb  6 06:41:33 2021
+++ pkgsrc/graphics/box2d/Makefile      Sat Feb  6 06:41:33 2021
@@ -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"
Index: pkgsrc/graphics/box2d/PLIST
diff -u /dev/null pkgsrc/graphics/box2d/PLIST:1.1
--- /dev/null   Sat Feb  6 06:41:33 2021
+++ pkgsrc/graphics/box2d/PLIST Sat Feb  6 06:41:33 2021
@@ -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}
Index: pkgsrc/graphics/box2d/buildlink3.mk
diff -u /dev/null pkgsrc/graphics/box2d/buildlink3.mk:1.1
--- /dev/null   Sat Feb  6 06:41:33 2021
+++ pkgsrc/graphics/box2d/buildlink3.mk Sat Feb  6 06:41:33 2021
@@ -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
Index: pkgsrc/graphics/box2d/distinfo
diff -u /dev/null pkgsrc/graphics/box2d/distinfo:1.1
--- /dev/null   Sat Feb  6 06:41:33 2021
+++ pkgsrc/graphics/box2d/distinfo      Sat Feb  6 06:41:33 2021
@@ -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