gnu: bullet: Update to 2.85.1.

* gnu/packages/game-development.scm (bullet): Update to 2.85.1.
[source]: Change to new Github url.
[arguments]: Enable tests, build shared libraries.
[inputs]: Add glu, libx11, mesa.
This commit is contained in:
Efraim Flashner 2016-11-06 08:44:21 +02:00
parent 7f4658983a
commit 937bc2d137
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 14 additions and 9 deletions

View File

@ -69,20 +69,25 @@
(define-public bullet
(package
(name "bullet")
(version "2.82-r2704")
(version "2.85.1")
(source (origin
(method url-fetch)
(uri (string-append "https://bullet.googlecode.com/files/bullet-"
version ".tgz"))
(uri (string-append "https://github.com/bulletphysics/bullet3/"
"archive/" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1lnfksxa9b1slyfcxys313ymsllvbsnxh9np06azkbgpfvmwkr37"))))
"0qpd37ws0xlxwy55dg058a5b4yw2jxiz09yyc3lc0frpa05pq5bf"))))
(build-system cmake-build-system)
(arguments '(#:tests? #f ; no 'test' target
#:configure-flags (list
(string-append
"-DCMAKE_CXX_FLAGS=-fPIC "
(or (getenv "CXXFLAGS") "")))))
(arguments
'(#:configure-flags (list (string-append
"-DBUILD_SHARED_LIBS=ON "
"-DCMAKE_CXX_FLAGS=-fPIC "
(or (getenv "CXXFLAGS") "")))))
(inputs
`(("glu" ,glu)
("libx11" ,libx11)
("mesa" ,mesa)))
(home-page "http://bulletphysics.org/")
(synopsis "3D physics engine library")
(description