aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-gtk.scm
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2024-11-07 23:21:59 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:23 +0200
commit1a6e679efd83df00db3f697497b88368ff817a1b (patch)
treea5cd0b3c1ebe71b97bc8c3f34d1931d7f4126927 /gnu/packages/crates-gtk.scm
parentdf7bad1d1baf64ace7a525ef652eba9cdc5ec251 (diff)
downloadguix-1a6e679efd83df00db3f697497b88368ff817a1b.tar.gz
guix-1a6e679efd83df00db3f697497b88368ff817a1b.zip
gnu: Add rust-gstreamer-audio-sys-0.21.
* gnu/packages/crates-gtk.scm (rust-gstreamer-audio-sys-0.21): New variable. (rust-gstreamer-audio-sys-0.18): Inherit from rust-gstreamer-audio-sys-0.21. Change-Id: I3a06ef41bb5e2e8a26442c83ab48a250dd5bfd43 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r--gnu/packages/crates-gtk.scm43
1 files changed, 35 insertions, 8 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 8f9446082e..bd456e8f88 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2936,26 +2936,28 @@
(description "Rust bindings for the GStreamer Audio library.")
(license (list license:expat license:asl2.0))))
-(define-public rust-gstreamer-audio-sys-0.18
+(define-public rust-gstreamer-audio-sys-0.21
(package
(name "rust-gstreamer-audio-sys")
- (version "0.18.3")
+ (version "0.21.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "gstreamer-audio-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0z3xryblh75xp08xyw3m6jfz9azarcvl06dd3psc0n65agxmhhm3"))))
+ (base32 "1lamp4s9cl0hhpbfcwdprn36fll6qq4xihrqbf2pfwqpifp99gbq"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-test-flags
+ ;; Some symbols are missing, i.e. ?GstDsdFormat? and more.
+ `(#:tests? #f
+ #:cargo-test-flags
(list "--release" "--"
"--skip=cross_validate_constants_with_c")
- #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
- ("rust-gobject-sys" ,rust-gobject-sys-0.15)
- ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18)
- ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
("rust-libc" ,rust-libc-0.2)
("rust-system-deps" ,rust-system-deps-6))
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
@@ -2967,6 +2969,31 @@
(description "FFI bindings to libgstaudio, part of Gstreamer.")
(license license:expat)))
+(define-public rust-gstreamer-audio-sys-0.18
+ (package
+ (inherit rust-gstreamer-audio-sys-0.21)
+ (name "rust-gstreamer-audio-sys")
+ (version "0.18.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-audio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0z3xryblh75xp08xyw3m6jfz9azarcvl06dd3psc0n65agxmhhm3"))))
+ (arguments
+ `(#:cargo-test-flags
+ (list "--release" "--"
+ "--skip=cross_validate_constants_with_c")
+ #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-gstreamer-base-0.21
(package
(name "rust-gstreamer-base")