diff mbox series

[bug#74233,PATCHv2,rust-team,07/40] gnu: Add rust-gstreamer-base-sys-0.21.

Message ID 09be455212c33880b953c816c1fb2ed32959ec08.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:21 p.m. UTC
* gnu/packages/crates-gtk.scm (rust-gstreamer-base-sys-0.21): New
variable;
(rust-gstreamer-base-sys-0.18): inherit from rust-gstreamer-base-sys-0.21.

Change-Id: Id614a6e2234fac5ad1ab0ff02ec5879f6e081fec
---
 gnu/packages/crates-gtk.scm | 33 +++++++++++++++++++++++++++------
 1 file changed, 27 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index a2e79276cd..bbee190a02 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3003,22 +3003,22 @@  (define-public rust-gstreamer-base-0.18
     (description "Rust bindings for GStreamer Base library.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-gstreamer-base-sys-0.18
+(define-public rust-gstreamer-base-sys-0.21
   (package
     (name "rust-gstreamer-base-sys")
-    (version "0.18.0")
+    (version "0.21.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "gstreamer-base-sys" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "13h79fcn3b9bkg7h8j0vxc1zryp92shbvvk6gkx723il7hy4k0x0"))))
+        (base32 "0r2bb4rmkpxs1l2jy61rn2srqzsp1f8q0k5j55di3zkqj0gp1jpl"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
-                       ("rust-gobject-sys" ,rust-gobject-sys-0.15)
-                       ("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-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)
@@ -3030,6 +3030,27 @@  (define-public rust-gstreamer-base-sys-0.18
     (description "FFI bindings to libgstbase-1.0, part of GStreamer.")
     (license license:expat)))
 
+(define-public rust-gstreamer-base-sys-0.18
+  (package
+    (inherit rust-gstreamer-base-sys-0.21)
+    (name "rust-gstreamer-base-sys")
+    (version "0.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-base-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13h79fcn3b9bkg7h8j0vxc1zryp92shbvvk6gkx723il7hy4k0x0"))))
+    (arguments
+     `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
+                       ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+                       ("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-sys-0.21
   (package
     (name "rust-gstreamer-sys")