mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add chipmunk.
* gnu/packages/game-development.scm (chipmunk): New variable.
This commit is contained in:
parent
a3143063ae
commit
d6ab5f4fa7
1 changed files with 28 additions and 0 deletions
|
@ -2021,3 +2021,31 @@ (define-public ode
|
|||
computer games, 3D authoring tools and simulation tools.")
|
||||
;; Software is dual-licensed.
|
||||
(license (list license:lgpl2.1+ license:expat))))
|
||||
|
||||
(define-public chipmunk
|
||||
(package
|
||||
(name "chipmunk")
|
||||
(version "7.0.3")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/slembcke/Chipmunk2D.git")
|
||||
(commit (string-append "Chipmunk-" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1qmkn01g06p3rnhmbyffmjns6wj5vhgf9cscigk3wzxcpwv1hyxb"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ;no test
|
||||
#:configure-flags '("-DBUILD_STATIC=OFF"
|
||||
"-DBUILD_DEMOS=OFF")))
|
||||
(inputs
|
||||
`(("freeglut" ,freeglut)
|
||||
("libxmu" ,libxmu)
|
||||
("libxrandr" ,libxrandr)))
|
||||
(home-page "http://chipmunk2d.net/")
|
||||
(synopsis "Fast and lightweight 2D game physics library")
|
||||
(description "Chipmunk is a simple, lightweight, fast and portable 2D
|
||||
rigid body physics library written in C.")
|
||||
(license license:expat)))
|
||||
|
|
Loading…
Reference in a new issue