summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-12-10 21:15:46 +0100
committerMarius Bakke <mbakke@fastmail.com>2019-12-11 01:13:24 +0100
commit69290fd0346b1155720d7fbce0bb6321e0ba36e1 (patch)
tree9309f383ce04299f49a8c9e31e3be3eefa41f2e3
parent818b956b427a9083bdd5fef9c7b57ee6bbe75cd7 (diff)
downloadguix-69290fd0346b1155720d7fbce0bb6321e0ba36e1.tar.gz
gnu: OpenAL: Update to 1.20.0.
* gnu/packages/audio.scm (openal): Update to 1.20.0.
[arguments]: Adjust for renamed files.
[native-inputs]: Remove.
-rw-r--r--gnu/packages/audio.scm15
1 files changed, 4 insertions, 11 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 7b0c540d7a..27693d02b0 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -1966,7 +1966,7 @@ lv2-c++-tools.")
 (define-public openal
   (package
     (name "openal")
-    (version "1.19.1")
+    (version "1.20.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -1974,7 +1974,7 @@ lv2-c++-tools.")
                     version ".tar.bz2"))
               (sha256
                (base32
-                "1sdjhkz2gd6lbnwphi1b6aw3br4wv2lik5vnqh6mxfc8a7zqfbsw"))))
+                "03p6s5gap0lvig2fs0a8nib5rxsc24dbqjsydpwvlm5l49wlk2f0"))))
     (build-system cmake-build-system)
     (arguments
      `(#:tests? #f  ; no check target
@@ -1983,26 +1983,19 @@ lv2-c++-tools.")
          (add-after
           'unpack 'use-full-library-paths
           (lambda* (#:key inputs #:allow-other-keys)
-            (substitute* "Alc/backends/pulseaudio.c"
+            (substitute* "alc/backends/pulseaudio.cpp"
               (("#define PALIB \"libpulse\\.so\\.0\"")
                (string-append "#define PALIB \""
                               (assoc-ref inputs "pulseaudio")
                               "/lib/libpulse.so.0"
                               "\"")))
-            (substitute* "Alc/backends/alsa.c"
+            (substitute* "alc/backends/alsa.cpp"
               (("LoadLib\\(\"libasound\\.so\\.2\"\\)")
                (string-append "LoadLib(\""
                               (assoc-ref inputs "alsa-lib")
                               "/lib/libasound.so.2"
                               "\")")))
             #t)))))
-    (native-inputs
-     `(;; FIXME: On i686-linux, GCC 7 hits an internal compiler error
-       ;; upon building utils/makehrtf.c:3281:
-       ;; "internal compiler error: in gen_rtx_SUBREG, at emit-rtl.c:908"
-       ;; https://ci.guix.gnu.org/log/r2fjx9m75m9rifg2yjbnn853wqy2547n-openal-1.19.1
-       ;; Remove this when the default compiler is GCC 9 or later.
-       ("gcc" ,gcc-9)))
     (inputs
      `(("alsa-lib" ,alsa-lib)
        ("pulseaudio" ,pulseaudio)))