summary refs log tree commit diff
path: root/gnu/packages/sdl.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-07-05 23:05:28 +0200
committerLudovic Courtès <ludo@gnu.org>2015-07-06 00:47:09 +0200
commitaf87a551bc8704af887a908235aae8275b4546eb (patch)
tree3852a2c3cfd1003b2c217ea3aabcef54704de4d3 /gnu/packages/sdl.scm
parentd19cf783574835046f7c4a1177e7329337858074 (diff)
downloadguix-af87a551bc8704af887a908235aae8275b4546eb.tar.gz
gnu: guile-sdl: Update to 0.5.2.
* gnu/packages/sdl.scm (guile-sdl): Update to 0.5.2.
  [arguments]: Augment 'fix-env-and-path' phase to modify 'test/Makefile.in'.
Diffstat (limited to 'gnu/packages/sdl.scm')
-rw-r--r--gnu/packages/sdl.scm12
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 4e9ebfb034..50fe01074d 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -299,7 +299,7 @@ directory.")
 (define-public guile-sdl
   (package
     (name "guile-sdl")
-    (version "0.5.1")
+    (version "0.5.2")
     (source (origin
               (method url-fetch)
               (uri
@@ -307,7 +307,7 @@ directory.")
                               version ".tar.xz"))
               (sha256
                (base32
-                "126n4rd0ydh6i2s11ari5k85iivradlf12zq13b34shf9k1wn5am"))))
+                "0cjgs012a9922hn6xqwj66w6qmfs3nycnm56hyykx5n3g5p7ag01"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)
@@ -332,7 +332,13 @@ directory.")
                   (string-append (assoc-ref inputs "libjpeg") "/lib"))
           ;; Change the site directory /site/2.0 like Guile expects.
           (substitute* "build-aux/guile-baux/re-prefixed-site-dirs"
-            (("\"/site\"") "\"/site/2.0\"")))
+            (("\"/site\"") "\"/site/2.0\""))
+
+          ;; Skip tests that rely on sound support, which is unavailable in
+          ;; the build environment.
+          (substitute* "test/Makefile.in"
+            (("HAVE_MIXER = .*$")
+             "HAVE_MIXER = 0\n")))
         (alist-cons-before
          'check 'start-xorg-server
          (lambda* (#:key inputs #:allow-other-keys)