Subject: [PATCH 1/2] gnu: rtaudio: Update to 5.2.0.

From: Sughosha <[email-masked]>
Date: Fri, 16 Jun 2023 07:10:42 +0000

* gnu/packages/audio.scm (rtaudio): Update to 5.2.0.
[#:phases]: Delete argument.
---
 gnu/packages/audio.scm | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 58a981b..46f8a86 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2809,29 +2809,17 @@ (define-public liblo
 (define-public rtaudio
   (package
     (name "rtaudio")
-    (version "5.1.0")
+    (version "5.2.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/thestk/rtaudio")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "156c2dgh6jrsyfn1y89nslvaxm4yifmxridsb708yvkaym02w2l8"))))
+        (base32 "189xphhf0winf8b60dx1kk2biz811wk6ps44br7l1lyfhymxcjmi"))))
     (build-system cmake-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         ;; The header that pkg-config expects is include/rtaudio/RtAudio.h,
-         ;; but this package installs it as include/RtAudio.h by default.
-         (add-after 'install 'fix-inc-path
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out"))
-                    (inc (string-append out "/include")))
-               (mkdir-p (string-append inc "/rtaudio"))
-               (rename-file (string-append inc "/RtAudio.h")
-                            (string-append inc "/rtaudio/RtAudio.h"))))))))
     (native-inputs
      (list pkg-config))
     (inputs
--
libgit2 1.5.1