[arch-commits] Commit in bullet/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Oct 16 03:15:39 UTC 2016


    Date: Sunday, October 16, 2016 @ 03:15:38
  Author: svenstaro
Revision: 278854

upgpkg: bullet 2.85.1-1

upstream release 2.85

Modified:
  bullet/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-16 03:00:36 UTC (rev 278853)
+++ PKGBUILD	2016-10-16 03:15:38 UTC (rev 278854)
@@ -4,16 +4,15 @@
 
 pkgbase=bullet
 pkgname=('bullet' 'bullet-docs')
-pkgver=2.84
+pkgver=2.85.1
 pkgrel=1
 pkgdesc="A 3D Collision Detection and Rigid Body Dynamics Library for games and animation"
 arch=('i686' 'x86_64')
 url="http://www.bulletphysics.com/Bullet/"
 license=('custom:zlib')
-makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'glu')
-optdepends=('glu: for the example browser')
+makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'glu' 'python' 'python-numpy')
 source=("https://github.com/bulletphysics/bullet3/archive/${pkgver}.tar.gz")
-md5sums=('ba7026defc08c666cf4391bbe1f05e1b')
+md5sums=('194cf1ef1eeb7fa9ac7dc580219d3c8b')
 
 build() {
   cd bullet3-${pkgver}
@@ -26,6 +25,9 @@
        -DBUILD_SHARED_LIBS=1 \
        -DINSTALL_LIBS=1 \
        -DINSTALL_EXTRA_LIBS=1 \
+       -DBUILD_PYBULLET=ON \
+       -DBUILD_PYBULLET_NUMPY=ON \
+       -DBUILD_OPENGL3_DEMOS=ON \
        -DCMAKE_BUILD_TYPE=Release
 
   make
@@ -36,12 +38,15 @@
 }
 
 package_bullet() {
-  optdepends=('bullet-docs: documentation')
+  optdepends=('glu: for the example browser'
+              'python: python bindings'
+              'python-numpy: python bindings'
+              'bullet-docs: documentation')
 
   cd bullet3-${pkgver}/build
 
-  # install it
   make DESTDIR=${pkgdir} install
+  install -Dm755 examples/pybullet/libpybullet.so.2.85 ${pkgdir}/usr/lib/libpybullet.so.2.85
 
   install -Dm755 examples/ExampleBrowser/App_ExampleBrowser ${pkgdir}/usr/bin/bullet3_examplebrowser
 
@@ -59,6 +64,6 @@
   install -Dm644 docs/GPU_rigidbody_using_OpenCL.pdf ${pkgdir}/usr/share/doc/bullet/GPU_rigidbody_using_OpenCL.pdf
   install -Dm644 docs/Bullet_User_Manual.pdf ${pkgdir}/usr/share/doc/bullet/Bullet_User_Manual.pdf
   install -Dm644 docs/BulletQuickstart.pdf ${pkgdir}/usr/share/doc/bullet/BulletQuickstart.pdf
-  cp -r html ${pkgdir}/usr/share/doc/bullet/html  
+  cp -r html ${pkgdir}/usr/share/doc/bullet/html
 }
 # vim: sw=2 ts=2 et:



More information about the arch-commits mailing list