summary refs log tree commit diff
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2021-10-09 11:12:00 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2021-10-09 11:13:22 +0200
commitfed33f701367cae49cfa1a4c619dade3d735b575 (patch)
treefd41967a4403374993cf51b7732a4022845e2d3c
parent73bb0b64855e07e17e73acbea4616ffa44630250 (diff)
downloadguix-fed33f701367cae49cfa1a4c619dade3d735b575.tar.gz
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.
-rw-r--r--gnu/packages/sdl.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index d8f8c0e731..3e5b928012 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -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