box2d: initial commit, version 2.4.1
This commit is contained in:
parent
b521929dc0
commit
32792c4351
52
box2d/.footprint
Normal file
52
box2d/.footprint
Normal file
@ -0,0 +1,52 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/box2d/
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_api.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_block_allocator.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_body.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_broad_phase.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_chain_shape.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_circle_shape.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_collision.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_common.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_contact.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_contact_manager.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_distance.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_distance_joint.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_draw.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_dynamic_tree.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_edge_shape.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_fixture.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_friction_joint.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_gear_joint.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_growable_stack.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_joint.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_math.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_motor_joint.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_mouse_joint.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_polygon_shape.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_prismatic_joint.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_pulley_joint.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_revolute_joint.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_rope.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_settings.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_shape.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_stack_allocator.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_time_of_impact.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_time_step.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_timer.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_types.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_weld_joint.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_wheel_joint.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_world.h
|
||||
-rw-r--r-- root/root usr/include/box2d/b2_world_callbacks.h
|
||||
-rw-r--r-- root/root usr/include/box2d/box2d.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/cmake/
|
||||
drwxr-xr-x root/root usr/lib/cmake/box2d/
|
||||
-rw-r--r-- root/root usr/lib/cmake/box2d/box2dConfig-release.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/box2d/box2dConfig.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/box2d/box2dConfigVersion.cmake
|
||||
lrwxrwxrwx root/root usr/lib/libbox2d.so -> libbox2d.so.2
|
||||
lrwxrwxrwx root/root usr/lib/libbox2d.so.2 -> libbox2d.so.2.4.1
|
||||
-rwxr-xr-x root/root usr/lib/libbox2d.so.2.4.1
|
5
box2d/.signature
Normal file
5
box2d/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF37hoecm0DNccjaFHng1tIZx61StzqPap2O8kN+2JOqlc3wcU+hrWKiMEYGbN6Nfp8NOD40FPY+JK7/qRVxMDrQw=
|
||||
SHA256 (Pkgfile) = 8c8995b6e7ef600f39b4e7663d0e1fdcc5538ced96513ee3adb7bf6c5d2d5d89
|
||||
SHA256 (.footprint) = 97a73b6449d2d99b502318b34b1ed27d992c3fee818ddc55f67d2548e9c8799f
|
||||
SHA256 (box2d-2.4.1.tar.gz) = d6b4650ff897ee1ead27cf77a5933ea197cbeef6705638dd181adc2e816b23c2
|
24
box2d/Pkgfile
Normal file
24
box2d/Pkgfile
Normal file
@ -0,0 +1,24 @@
|
||||
# Description: A 2D Physics Engine for Games
|
||||
# URL: https://box2d.org/
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: cmake xorg-libxinerama xorg-libxcursor
|
||||
|
||||
name=box2d
|
||||
version=2.4.1
|
||||
release=1
|
||||
source=(https://github.com/erincatto/box2d/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
[[ -e /usr/bin/ninja ]] && PKGMK_BOX2D+=' -G Ninja'
|
||||
cmake -S $name-$version -B build $PKGMK_BOX2D \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -fPIC" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -fPIC" \
|
||||
-D BUILD_SHARED_LIBS=ON \
|
||||
-D BOX2D_BUILD_TESTBED=OFF \
|
||||
-Wno-dev
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user