diff mbox series

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

Message ID e6f78b0fa0d3bb68f9103236cdcb5ac78a733c79.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-sys-0.21): Add
variable.
---
 gnu/packages/crates-gtk.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 33c31cde66..c61e0dee1f 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2562,6 +2562,36 @@  (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-sys-0.21
+  (package
+    (name "rust-gstreamer-play-sys")
+    (version "0.21.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-play-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13q3jv5hg4g0bd77bzd7zv60lsq2zkcap5j68zd4k3mr4jaizi4w"))))
+    (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-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-bad-minimal gstreamer))
+    (home-page "https://gstreamer.freedesktop.org")
+    (synopsis "FFI bindings to libgstplay-1.0")
+    (description "This package provides FFI bindings to libgstplay-1.0.")
+    (license license:expat)))
+
 (define-public rust-gstreamer-sys-0.21
   (package
     (name "rust-gstreamer-sys")