summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Julian Ospald <hasufell@posteo.de> 2017-05-28 12:47:32 +0200
committerAvatar Heiko Becker <heirecka@exherbo.org> 2017-08-02 17:55:30 +0200
commit27238b3ac14492276ec7acef112dca6cde951024 (patch)
tree39db321d7ff523cdbb6be0ef1b66d88bffabc243
parent9026ff3dd10c287b4f3621aa6bfcee05fb6ff4ac (diff)
downloadscientific-27238b3ac14492276ec7acef112dca6cde951024.tar.gz
scientific-27238b3ac14492276ec7acef112dca6cde951024.tar.xz
sci-physics/bullet: bump to 2.86.1
Change-Id: I48a9c293719c4e7a111728c7c4c85fe94eb274d7 Reviewed-on: https://galileo.mailstation.de/gerrit/9149 Reviewed-by: Jenkins <wk@mailstation.de> Reviewed-by: Heiko Becker <heirecka@exherbo.org>
-rw-r--r--packages/sci-physics/bullet/bullet-2.83.5.exheres-027
-rw-r--r--packages/sci-physics/bullet/bullet-2.86.1.exheres-039
2 files changed, 39 insertions, 27 deletions
diff --git a/packages/sci-physics/bullet/bullet-2.83.5.exheres-0 b/packages/sci-physics/bullet/bullet-2.83.5.exheres-0
deleted file mode 100644
index c5273d8..0000000
--- a/packages/sci-physics/bullet/bullet-2.83.5.exheres-0
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 2009, 2010 Ingmar Vanhassel
-# Distributed under the terms of the GNU General Public License v2
-
-# 2.83 was a pre-release, the 2.83.4 tarball is the real 2.83 release
-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"
-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
-)
-
diff --git a/packages/sci-physics/bullet/bullet-2.86.1.exheres-0 b/packages/sci-physics/bullet/bullet-2.86.1.exheres-0
new file mode 100644
index 0000000..43d95cd
--- /dev/null
+++ b/packages/sci-physics/bullet/bullet-2.86.1.exheres-0
@@ -0,0 +1,39 @@
+# Copyright 2009, 2010 Ingmar Vanhassel
+# 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"
+MYOPTIONS=""
+
+DEPENDENCIES="
+ build+run:
+ x11-dri/freeglut
+ x11-dri/mesa
+"
+
+CMAKE_SRC_CONFIGURE_PARAMS=(
+ -DBUILD_PYBULLET:BOOL=FALSE
+ -DBUILD_SHARED_LIBS:BOOL=TRUE
+ -DINSTALL_LIBS:BOOL=TRUE
+)
+
+# fails to build with _DEMOS disabled
+# https://github.com/bulletphysics/bullet3/issues/1246
+CMAKE_SRC_CONFIGURE_TESTS=(
+ '-DBUILD_BULLET2_DEMOS:BOOL=TRUE -DBUILD_BULLET2_DEMOS:BOOL=FALSE'
+ '-DBUILD_CPU_DEMOS:BOOL=TRUE -DBUILD_CPU_DEMOS:BOOL=FALSE'
+ '-DBUILD_OPENGL3_DEMOS:BOOL=TRUE -DBUILD_OPENGL3_DEMOS:BOOL=FALSE'
+ '-DBUILD_UNIT_TESTS:BOOL=TRUE -DBUILD_UNIT_TESTS:BOOL=FALSE'
+)
+
+src_install() {
+ cmake_src_install
+ edo rmdir "${IMAGE}"/usr/$(exhost --target)/include/bullet/BulletInverseDynamics/details
+}
+