[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
66/66: gnu: rust-cpal-0.13: Accept any version of jack.
From: |
guix-commits |
Subject: |
66/66: gnu: rust-cpal-0.13: Accept any version of jack. |
Date: |
Tue, 24 Oct 2023 07:55:20 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit f8dfe85a367fe51d34a4985e958b9b16e9761030
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 14:23:55 2023 +0300
gnu: rust-cpal-0.13: Accept any version of jack.
* gnu/packages/crates-io.scm (rust-cpal-0.13)[source]: Add snippet to
force accepting any version of the jack crate.
Change-Id: Ic9bf0ad8434eeb02b3ff8d6373155a40851d3402
---
gnu/packages/crates-io.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6418374594..fc26147157 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16162,7 +16162,18 @@ intrinsics.")
(uri (crate-uri "cpal" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "05j11vz8rw19gqqvpd48i7wvm6j77v8fwx5lwhlkckqjllv7h4bl"))))
+ (base32 "05j11vz8rw19gqqvpd48i7wvm6j77v8fwx5lwhlkckqjllv7h4bl"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ ;; Force cpal-0.13.5 to accept any version of jack, so
+ ;; that other packages like librespot-playback can use
+ ;; the one they want.
+ (substitute* "Cargo.toml.orig"
+ (("(jack = \\{ version = \").*(\", optional.*)" _ jack
optional)
+ (string-append jack "*" optional))
+ ;; Remove path for asio-sys, use packaged crate.
+ ((", path =.*,") ","))
+ (copy-file "Cargo.toml.orig" "Cargo.toml")))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-alsa" ,rust-alsa-0.6)
- 61/66: gnu: Add rust-symphonia-format-ogg-0.4., (continued)
- 61/66: gnu: Add rust-symphonia-format-ogg-0.4., guix-commits, 2023/10/24
- 63/66: gnu: Add rust-symphonia-0.4., guix-commits, 2023/10/24
- 53/66: gnu: Add rust-symphonia-metadata-0.4., guix-commits, 2023/10/24
- 56/66: gnu: Add rust-symphonia-bundle-mp3-0.4., guix-commits, 2023/10/24
- 57/66: gnu: Add rust-symphonia-codec-aac-0.4., guix-commits, 2023/10/24
- 58/66: gnu: Add rust-symphonia-code-pcm-0.4, guix-commits, 2023/10/24
- 60/66: gnu: Add rust-symphonia-format-iosmp4-0.4., guix-commits, 2023/10/24
- 64/66: gnu: Add rust-rodio-0.15., guix-commits, 2023/10/24
- 62/66: gnu: Add rust-symphonia-format-wav-0.4., guix-commits, 2023/10/24
- 45/66: gnu: Add rust-libpulse-simple-binding-2., guix-commits, 2023/10/24
- 66/66: gnu: rust-cpal-0.13: Accept any version of jack.,
guix-commits <=
- 65/66: gnu: Add rust-librespot-playback-0.4., guix-commits, 2023/10/24
- 55/66: gnu: Add rust-symphonia-bundle-flac-0.4., guix-commits, 2023/10/24
- 59/66: gnu: Add rust-symphonia-codec-vorbis-0.4., guix-commits, 2023/10/24