Subject: [bug#69257] [PATCH rust-team v3 59/75] gnu: Add rust-gstreamer-pbutils-sys-0.21.

From: Herman Rimm <[email-masked]>
Date: Sat, 4 May 2024 13:35:31 +0200

* gnu/packages/crates-gtk.scm (rust-gstreamer-pbutils-sys-0.21): Add
variable.
---
 gnu/packages/crates-gtk.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 34cda9328c..87f20ab6b1 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2621,6 +2621,38 @@ (define-public rust-gstreamer-base-sys-0.18
        (("rust-shell-words" ,rust-shell-words-1)
         ("rust-tempfile" ,rust-tempfile-3))))))
 
+(define-public rust-gstreamer-pbutils-sys-0.21
+  (package
+    (name "rust-gstreamer-pbutils-sys")
+    (version "0.21.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-pbutils-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0scx3w02wkyvmq76ia2jr6zhkf24zivn9vyphrcwmj2b8piydakg"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-shell-words" ,rust-shell-words-1)
+        ("rust-tempfile" ,rust-tempfile-3))
+       #:cargo-inputs
+       (("rust-glib-sys" ,rust-glib-sys-0.18)
+        ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+        ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.21)
+        ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+        ("rust-gstreamer-video-sys" ,rust-gstreamer-video-sys-0.21)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-system-deps" ,rust-system-deps-6))))
+    (native-inputs (list pkg-config))
+    (inputs (list glib gst-plugins-base gstreamer))
+    (home-page "https://gstreamer.freedesktop.org")
+    (synopsis "FFI bindings to libgstpbutils-1.0")
+    (description
+      "This package provides FFI bindings to libgstpbutils-1.0.")
+    (license license:expat)))
+
 (define-public rust-gstreamer-play-0.21
   (package
     (name "rust-gstreamer-play")
-- 
2.41.0