mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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
|
(arguments
|
||||||
'(#:make-flags '("GUILE_AUTO_COMPILE=0")))
|
'(#:make-flags '("GUILE_AUTO_COMPILE=0")))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("guile" ,guile-2.2)
|
`(("guile" ,guile-3.0)
|
||||||
("pkg-config" ,pkg-config)))
|
("pkg-config" ,pkg-config)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("sdl2" ,sdl2)
|
`(("sdl2" ,sdl2)
|
||||||
|
@ -653,13 +653,16 @@ The bindings are written in pure Scheme using Guile's foreign function
|
||||||
interface.")
|
interface.")
|
||||||
(license lgpl3+)))
|
(license lgpl3+)))
|
||||||
|
|
||||||
(define-public guile3.0-sdl2
|
(define-public guile2.2-sdl2
|
||||||
(package/inherit guile-sdl2
|
(package/inherit guile-sdl2
|
||||||
(name "guile3.0-sdl2")
|
(name "guile2.2-sdl2")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("guile" ,guile-3.0)
|
`(("guile" ,guile-2.2)
|
||||||
("pkg-config" ,pkg-config)))))
|
("pkg-config" ,pkg-config)))))
|
||||||
|
|
||||||
|
(define-public guile3.0-sdl2
|
||||||
|
(deprecated-package "guile3.0-sdl2" guile-sdl2))
|
||||||
|
|
||||||
(define-public sdl2-cs
|
(define-public sdl2-cs
|
||||||
(let ((commit "1a3556441e1394eb0b5d46aeb514b8d1090b93f8"))
|
(let ((commit "1a3556441e1394eb0b5d46aeb514b8d1090b93f8"))
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue