mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/bullet to 2.85.1-1
This commit is contained in:
parent
284624e1c6
commit
e334bfd70f
1 changed files with 12 additions and 7 deletions
|
@ -7,16 +7,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}
|
||||
|
@ -31,6 +30,9 @@ build() {
|
|||
-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
|
||||
|
@ -41,12 +43,15 @@ build() {
|
|||
}
|
||||
|
||||
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
|
||||
|
||||
|
@ -64,6 +69,6 @@ package_bullet-docs() {
|
|||
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:
|
||||
|
|
Loading…
Reference in a new issue