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

View file

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