gnu: chipmunk: Update to 7.0.3-1.d0239ef.

* gnu/packages/game-development.scm (chipmunk): Update to 7.0.3-1.d0239ef.
[source]<snippet>: Remove fix included upstream.

Change-Id: Iac849fffc1d9cf3528a4197ddf741d588fc866a5
This commit is contained in:
Nicolas Goaziou 2024-04-06 16:26:32 +02:00
parent 664f51509f
commit 8a78352781
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -2857,38 +2857,34 @@ (define-public ode
(license (list license:lgpl2.1+ license:expat)))) (license (list license:lgpl2.1+ license:expat))))
(define-public chipmunk (define-public chipmunk
(package (let ((commit "d0239ef4599b3688a5a336373f7d0a68426414ba")
(name "chipmunk") (revision "1"))
(version "7.0.3") (package
(source (name "chipmunk")
(origin (version (git-version "7.0.3" revision commit))
(method git-fetch) (source
(uri (git-reference (origin
(url "https://github.com/slembcke/Chipmunk2D") (method git-fetch)
(commit (string-append "Chipmunk-" version)))) (uri (git-reference
(file-name (git-file-name name version)) (url "https://github.com/slembcke/Chipmunk2D")
(sha256 (commit commit)))
(base32 "1qmkn01g06p3rnhmbyffmjns6wj5vhgf9cscigk3wzxcpwv1hyxb")) (file-name (git-file-name name version))
(modules '((guix build utils))) (sha256
(snippet (base32 "1910rfnanhna99bhfiyny3ki7aip2i9p4jzmwsfcg16m9gip5fd6"))
#~(begin (modules '((guix build utils)))))
;; This is fixed in the upstream repository but the fix (build-system cmake-build-system)
;; has not been released. (arguments
(substitute* "src/cpHastySpace.c" (list #:tests? #f ;no test
(("#include <sys/sysctl.h>") "")))))) #:configure-flags
(build-system cmake-build-system) #~(list "-DBUILD_STATIC=OFF"
(arguments "-DBUILD_DEMOS=OFF")))
(list #:tests? #f ;no test (inputs
#:configure-flags (list freeglut libxmu libxrandr))
#~(list "-DBUILD_STATIC=OFF" (home-page "https://chipmunk-physics.net/")
"-DBUILD_DEMOS=OFF"))) (synopsis "Fast and lightweight 2D game physics library")
(inputs (description "Chipmunk is a simple, lightweight, fast and portable 2D
(list freeglut libxmu libxrandr))
(home-page "https://chipmunk-physics.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.") rigid body physics library written in C.")
(license license:expat))) (license license:expat))))
(define-public box2d (define-public box2d
(package (package