diff mbox series

[bug#74233,PATCHv2,rust-team,15/40] gnu: Add rust-gstreamer-audio-0.21.

Message ID 66f7374ffa7213f188c564f53653a9c17f2218bf.1731018145.git.goodoldpaul@autistici.org
State New
Headers show
Series [bug#74233,PATCHv2,rust-team,01/40] gnu: Add rust-search-provider-0.8. | expand

Commit Message

Giacomo Leidi Nov. 7, 2024, 10:22 p.m. UTC
* gnu/packages/crates-gtk.scm (rust-gstreamer-audio-0.21): New variable;
(rust-gstreamer-audio-0.18): inherit from rust-gstreamer-audio-0.21.

Change-Id: I8c9ca72cb93c50079a8c3ad20dd452dff8a5930d
---
 gnu/packages/crates-gtk.scm | 42 ++++++++++++++++++++++++++++++-------
 1 file changed, 34 insertions(+), 8 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 47d7a95208..fe5282dd48 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2912,31 +2912,31 @@  (define-public rust-gstreamer-app-sys-0.18
     (description "FFI bindings to libgstapp-1.0, part of Gstreamer.")
     (license license:expat)))
 
-(define-public rust-gstreamer-audio-0.18
+(define-public rust-gstreamer-audio-0.21
   (package
     (name "rust-gstreamer-audio")
-    (version "0.18.7")
+    (version "0.21.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "gstreamer-audio" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0zl0bj03rz19qlrm50w7i5sagh0i0p5d8gr7ig1k6k5yd7k47sww"))))
+        (base32 "0b91wjhhq0harwl7kyfv5l0kwp6w1vklpnpynakv92f8x6jci5vs"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f  ; https://github.com/gtk-rs/gtk3-rs/issues/768
        #:cargo-inputs (("rust-array-init" ,rust-array-init-2)
                        ("rust-bitflags" ,rust-bitflags-1)
                        ("rust-cfg-if" ,rust-cfg-if-1)
-                       ("rust-glib" ,rust-glib-0.15)
-                       ("rust-gstreamer" ,rust-gstreamer-0.18)
-                       ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.18)
-                       ("rust-gstreamer-base" ,rust-gstreamer-base-0.18)
+                       ("rust-glib" ,rust-glib-0.18)
+                       ("rust-gstreamer" ,rust-gstreamer-0.21)
+                       ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.21)
+                       ("rust-gstreamer-base" ,rust-gstreamer-base-0.21)
                        ("rust-libc" ,rust-libc-0.2)
                        ("rust-once-cell" ,rust-once-cell-1))
        #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)
-                                   ("rust-itertools" ,rust-itertools-0.10))))
+                                   ("rust-itertools" ,rust-itertools-0.11))))
     (native-inputs (list pkg-config))
     (inputs (list glib gstreamer gst-plugins-base))
     (home-page "https://gstreamer.freedesktop.org")
@@ -2944,6 +2944,32 @@  (define-public rust-gstreamer-audio-0.18
     (description "Rust bindings for the GStreamer Audio library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gstreamer-audio-0.18
+  (package
+    (inherit rust-gstreamer-audio-0.21)
+    (name "rust-gstreamer-audio")
+    (version "0.18.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-audio" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zl0bj03rz19qlrm50w7i5sagh0i0p5d8gr7ig1k6k5yd7k47sww"))))
+    (arguments
+     `(#:tests? #f  ; https://github.com/gtk-rs/gtk3-rs/issues/768
+       #:cargo-inputs (("rust-array-init" ,rust-array-init-2)
+                       ("rust-bitflags" ,rust-bitflags-1)
+                       ("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-glib" ,rust-glib-0.15)
+                       ("rust-gstreamer" ,rust-gstreamer-0.18)
+                       ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.18)
+                       ("rust-gstreamer-base" ,rust-gstreamer-base-0.18)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-once-cell" ,rust-once-cell-1))
+       #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+                                   ("rust-itertools" ,rust-itertools-0.10))))))
+
 (define-public rust-gstreamer-audio-sys-0.21
   (package
     (name "rust-gstreamer-audio-sys")