Archived
1
0
Fork 0

gnu: rtaudio: Update to 5.2.0.

* gnu/packages/audio.scm (rtaudio): Update to 5.2.0.
[#:phases]: Delete argument.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Sughosha 2023-06-16 07:10:42 +00:00 committed by Maxim Cournoyer
parent 87dab3e36b
commit 3c2b892d29
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -2832,7 +2832,7 @@ implementation of the Open Sound Control (@dfn{OSC}) protocol.")
(define-public rtaudio
(package
(name "rtaudio")
(version "5.1.0")
(version "5.2.0")
(source
(origin
(method git-fetch)
@ -2841,20 +2841,8 @@ implementation of the Open Sound Control (@dfn{OSC}) protocol.")
(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