From 9a3143abdb755c6fcfc51050511daa7cf8cf150f Mon Sep 17 00:00:00 2001 From: hasufell Date: Tue, 16 Feb 2016 01:02:37 +0100 Subject: [PATCH] sci-physics/bullet: initial import of 2.83.5 --- metadata/categories.conf | 1 + .../bullet/bullet-2.83.5.exheres-0 | 32 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 packages/sci-physics/bullet/bullet-2.83.5.exheres-0 diff --git a/metadata/categories.conf b/metadata/categories.conf index 66ef855..22755fd 100644 --- a/metadata/categories.conf +++ b/metadata/categories.conf @@ -10,6 +10,7 @@ media-sound net-misc net-www sci-mathematics +sci-physics sys-apps x11-apps x11-plugins diff --git a/packages/sci-physics/bullet/bullet-2.83.5.exheres-0 b/packages/sci-physics/bullet/bullet-2.83.5.exheres-0 new file mode 100644 index 0000000..f29649e --- /dev/null +++ b/packages/sci-physics/bullet/bullet-2.83.5.exheres-0 @@ -0,0 +1,32 @@ +# Copyright 2009, 2010 Ingmar Vanhassel +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require github [ user=bulletphysics pn=bullet3 tag=${PV} ] cmake [ api=2 ] + +SUMMARY="A professional free 3D game multiphysics library" +HOMEPAGE+=" http://www.bulletphysics.com/" + +LICENCES="ZLIB" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="" + +DEPENDENCIES=" + build+run: + x11-dri/mesa + x11-dri/freeglut +" + +CMAKE_SRC_CONFIGURE_PARAMS=( + -DBUILD_DEMOS:BOOL=FALSE + -DBUILD_EXTRAS:BOOL=FALSE + -DBUILD_SHARED_LIBS:BOOL=TRUE + -DINSTALL_LIBS:BOOL=TRUE + -DINSTALL_EXTRA_LIBS=ON + -DBUILD_BULLET3=TRUE + -DBUILD_CPU_DEMOS=OFF + -DBUILD_OPENGL3_DEMOS=OFF + -DBUILD_BULLET2_DEMOS=OFF + -DUSE_GRAPHICAL_BENCHMARK=OFF +)