mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 04:37:36 -05:00
gnu: xmoto: Unbundle ODE and libccd.
* gnu/packages/games.scm (xmoto): Unbundle ODE and libccd. [inputs]: Add ode.
This commit is contained in:
parent
fb5296605e
commit
027285691a
1 changed files with 4 additions and 6 deletions
|
@ -10438,14 +10438,11 @@ (define-public xmoto
|
|||
(modules '((guix build utils)
|
||||
(ice-9 ftw)
|
||||
(srfi srfi-1)))
|
||||
;; XXX: Remove some bundled libraries. Guix provides
|
||||
;; Chipmunk, but it appears to be incompatible with the
|
||||
;; (older) one bundled. Likewise, Guix provides ODE, but
|
||||
;; using it induces rendering issues. Eventually, libccd is
|
||||
;; required to compile built-in ODE.
|
||||
;; XXX: Remove some bundled libraries. Guix provides Chipmunk, but
|
||||
;; it appears to be incompatible with the (older) one bundled.
|
||||
(snippet
|
||||
`(begin
|
||||
(let ((keep '("chipmunk" "glad" "libccd" "md5sum" "ode")))
|
||||
(let ((keep '("chipmunk" "glad" "md5sum")))
|
||||
(with-directory-excursion "vendor"
|
||||
(for-each delete-file-recursively
|
||||
(lset-difference string=?
|
||||
|
@ -10510,6 +10507,7 @@ (define-public xmoto
|
|||
("libxdg-basedir" ,libxdg-basedir)
|
||||
("libxml2" ,libxml2)
|
||||
("lua" ,lua-5.1)
|
||||
("ode" ,ode)
|
||||
("sdl" ,(sdl-union (list sdl sdl-mixer sdl-net sdl-ttf)))
|
||||
("sqlite" ,sqlite)
|
||||
("zlib" ,zlib)))
|
||||
|
|
Loading…
Reference in a new issue