diff mbox series

[bug#69257,rust-team,v3,74/75] gnu: Add rust-gst-plugin-gtk4-0.11.

Message ID 246130d976140738f49a6968378faf5b52ec8e8c.1714820131.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-gst-plugin-gtk4-0.11): Add variable.

Change-Id: Iecb4b1b9d0f1884e3913259e8589b13511a7d026
---
 gnu/packages/crates-gtk.scm | 38 +++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 4ec6736329..544d8871e0 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2308,6 +2308,44 @@  (define-public rust-gsk4-sys-0.7
     (description "This package provides FFI bindings of GSK 4.")
     (license license:expat)))
 
+(define-public rust-gst-plugin-gtk4-0.11
+  (package
+    (name "rust-gst-plugin-gtk4")
+    (version "0.11.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gst-plugin-gtk4" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1hmky9p16hnhrwm5i63ynlwfl1bpc9fp3as5ibrni1qlfq0vhwdj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-async-channel" ,rust-async-channel-2)
+        ("rust-gdk4-wayland" ,rust-gdk4-wayland-0.7)
+        ("rust-gdk4-win32" ,rust-gdk4-win32-0.7)
+        ("rust-gdk4-x11" ,rust-gdk4-x11-0.7)
+        ("rust-gst-plugin-version-helper"
+         ,rust-gst-plugin-version-helper-0.8)
+        ("rust-gstreamer" ,rust-gstreamer-0.21)
+        ("rust-gstreamer-base" ,rust-gstreamer-base-0.21)
+        ("rust-gstreamer-gl" ,rust-gstreamer-gl-0.21)
+        ("rust-gstreamer-gl-egl" ,rust-gstreamer-gl-egl-0.21)
+        ("rust-gstreamer-gl-wayland" ,rust-gstreamer-gl-wayland-0.21)
+        ("rust-gstreamer-gl-x11" ,rust-gstreamer-gl-x11-0.21)
+        ("rust-gstreamer-video" ,rust-gstreamer-video-0.21)
+        ("rust-gtk4" ,rust-gtk4-0.7)
+        ("rust-windows-sys" ,rust-windows-sys-0.52))))
+    (native-inputs (list pkg-config))
+    (inputs (list gst-plugins-base gtk))
+    (home-page "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs")
+    (synopsis "GStreamer GTK 4 Sink element and Paintable widget")
+    (description
+      "This package provides GStreamer GTK 4 Sink element and Paintable
+widget.")
+    (license license:mpl2.0)))
+
 (define-public rust-gst-plugin-version-helper-0.8
   (package
     (name "rust-gst-plugin-version-helper")