A glue layer between clutter and box2d that provides a special group where the

actors can be set to be static or dynamic in regard to a physics simulation. The
source tree currently contains an embedded version of box2d trunk.

Features:
- Children of the ClutterBox2d group can be simulated as static or dynamic
  rigid bodies. Collision detection.
- Specifying the gravity of the world.
- play/pause control over the box2d physics engine
- Setting linear and angular velocities of simulated children.
- automatic position synchronization between clutter and box2d.
- joints
- prismatic.
- revolute.
- distance (spring)
- mouse (for dragging objects around and manipulating them).

WWW:	http://clutter-project.org/
This commit is contained in:
Martin Wilke 2008-12-26 22:05:40 +00:00
parent 558f6d4197
commit b6aad5a2ca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224818
5 changed files with 75 additions and 0 deletions

View file

@ -66,6 +66,7 @@
SUBDIR += cinepaint
SUBDIR += claraocr
SUBDIR += clutter
SUBDIR += clutter-box2d
SUBDIR += clutter-gtk
SUBDIR += comical
SUBDIR += comix

View file

@ -0,0 +1,28 @@
# New ports collection makefile for: clutter-box2d
# Date created: 2008-12-25
# Whom: Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= clutter-box2d
PORTVERSION= 0.8.0
CATEGORIES= graphics
MASTER_SITES= http://www.clutter-project.org/sources/${PORTNAME}/0.8/
MAINTAINER= gnome@FreeBSD.org
COMMENT= Clutter Box2D integration library
LIB_DEPENDS= clutter-glx-0.8:${PORTSDIR}/graphics/clutter
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
USE_GNOME= gnomehack ltverhack gnomeprefix
USE_XORG= xp x11
USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (clutter-box2d-0.8.0.tar.gz) = 1d56bbea9e91e434037fecc3398c06eb
SHA256 (clutter-box2d-0.8.0.tar.gz) = fd59f24468b89d829a5f13b40d8a95ef572df383bb558b4639bb1178d61fc8ee
SIZE (clutter-box2d-0.8.0.tar.gz) = 479436

View file

@ -0,0 +1,18 @@
A glue layer between clutter and box2d that provides a special group where the
actors can be set to be static or dynamic in regard to a physics simulation. The
source tree currently contains an embedded version of box2d trunk.
Features:
- Children of the ClutterBox2d group can be simulated as static or dynamic
rigid bodies. Collision detection.
- Specifying the gravity of the world.
- play/pause control over the box2d physics engine
- Setting linear and angular velocities of simulated children.
- automatic position synchronization between clutter and box2d.
- joints
- prismatic.
- revolute.
- distance (spring)
- mouse (for dragging objects around and manipulating them).
WWW: http://clutter-project.org/

View file

@ -0,0 +1,25 @@
include/clutter-0.8/clutter-box2d/clutter-box2d-joint.h
include/clutter-0.8/clutter-box2d/clutter-box2d-util.h
include/clutter-0.8/clutter-box2d/clutter-box2d.h
lib/libclutter-box2d-0.8.a
lib/libclutter-box2d-0.8.la
lib/libclutter-box2d-0.8.so
lib/libclutter-box2d-0.8.so.0
libdata/pkgconfig/clutter-box2d-0.8.pc
%%DOCSDIR%%/ch01.html
%%DOCSDIR%%/ch02.html
%%DOCSDIR%%/clutter-box2d-ClutterBox2D-Actor.html
%%DOCSDIR%%/clutter-box2d-ClutterBox2D-Joint.html
%%DOCSDIR%%/clutter-box2d.devhelp
%%DOCSDIR%%/clutter-box2d.devhelp2
%%DOCSDIR%%/home.png
%%DOCSDIR%%/index.html
%%DOCSDIR%%/index.sgml
%%DOCSDIR%%/left.png
%%DOCSDIR%%/license.html
%%DOCSDIR%%/right.png
%%DOCSDIR%%/style.css
%%DOCSDIR%%/up.png
@dirrmtry %%DOCSDIR%%
@dirrm include/clutter-0.8/clutter-box2d
@dirrmtry include/clutter-0.8