3
5
Fork 0
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:
Liliana Marie Prikler 2021-10-09 11:12:00 +02:00
parent 73bb0b6485
commit fed33f7013
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -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