diff mbox series

[bug#69257,rust-team,v3,56/75] gnu: Add rust-gstreamer-play-0.21.

Message ID ed1ce330b88bc2cc15e32cea46470fa357396a36.1714820130.git.herman@rimm.ee
State New
Headers show
Series Finish packages. | expand

Commit Message

Herman Rimm May 4, 2024, 11:35 a.m. UTC
* gnu/packages/crates-gtk.scm (rust-gstreamer-play-0.21): Add variable.
---
 gnu/packages/crates-gtk.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index c61e0dee1f..a86dfefdac 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2562,6 +2562,35 @@  (define-public rust-gstreamer-base-sys-0.18
        (("rust-shell-words" ,rust-shell-words-1)
         ("rust-tempfile" ,rust-tempfile-3))))))
 
+(define-public rust-gstreamer-play-0.21
+  (package
+    (name "rust-gstreamer-play")
+    (version "0.21.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-play" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0jphhx0k47bjmyz6b2j9wcbavja7p3rq6p79a5g5vylj7x6glbmd"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-gir-format-check" ,rust-gir-format-check-0.1))
+       #:cargo-inputs
+       (("rust-glib" ,rust-glib-0.18)
+        ("rust-gstreamer" ,rust-gstreamer-0.21)
+        ("rust-gstreamer-play-sys" ,rust-gstreamer-play-sys-0.21)
+        ("rust-gstreamer-video" ,rust-gstreamer-video-0.21)
+        ("rust-libc" ,rust-libc-0.2))))
+    (native-inputs (list pkg-config))
+    (inputs (list gst-plugins-bad-minimal gstreamer))
+    (home-page "https://gstreamer.freedesktop.org")
+    (synopsis "Rust bindings for GStreamer Play library")
+    (description
+     "This package provides Rust bindings for GStreamer Play library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gstreamer-play-sys-0.21
   (package
     (name "rust-gstreamer-play-sys")