mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: guile-sdl2: Build with guile-3.0.
* gnu/packages/sdl.scm (guile-sdl2)[native-inputs]: Use guile-3.0 as guile. (guile-2.2): New variable. (guile-3.0): Deprecate in favor of guile-sdl2.
This commit is contained in:
parent
73bb0b6485
commit
fed33f7013
1 changed files with 7 additions and 4 deletions
|
@ -638,7 +638,7 @@ sound and device input (keyboards, joysticks, mice, etc.).")
|
|||
(arguments
|
||||
'(#:make-flags '("GUILE_AUTO_COMPILE=0")))
|
||||
(native-inputs
|
||||
`(("guile" ,guile-2.2)
|
||||
`(("guile" ,guile-3.0)
|
||||
("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("sdl2" ,sdl2)
|
||||
|
@ -653,13 +653,16 @@ The bindings are written in pure Scheme using Guile's foreign function
|
|||
interface.")
|
||||
(license lgpl3+)))
|
||||
|
||||
(define-public guile3.0-sdl2
|
||||
(define-public guile2.2-sdl2
|
||||
(package/inherit guile-sdl2
|
||||
(name "guile3.0-sdl2")
|
||||
(name "guile2.2-sdl2")
|
||||
(native-inputs
|
||||
`(("guile" ,guile-3.0)
|
||||
`(("guile" ,guile-2.2)
|
||||
("pkg-config" ,pkg-config)))))
|
||||
|
||||
(define-public guile3.0-sdl2
|
||||
(deprecated-package "guile3.0-sdl2" guile-sdl2))
|
||||
|
||||
(define-public sdl2-cs
|
||||
(let ((commit "1a3556441e1394eb0b5d46aeb514b8d1090b93f8"))
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue