diff mbox series

[bug#74233,PATCHv2,rust-team,38/40] gnu: Add rust-gst-plugin-gtk4-0.11.

Message ID 0478651d299ca1e7fde473d4a1a5f666fd192fa3.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:22 p.m. UTC
* gnu/packages/crates-gtk.scm (rust-gst-plugin-gtk4-0.11): New variable.

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

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index e74024e775..d819177893 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2937,6 +2937,43 @@  (define-public rust-gsk4-sys-0.7
        #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
                                    ("rust-tempfile" ,rust-tempfile-3))))))
 
+(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-allocators" ,rust-gstreamer-allocators-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-once-cell" ,rust-once-cell-1)
+                       ("rust-windows-sys" ,rust-windows-sys-0.52))))
+    (native-inputs (list pkg-config))
+    (inputs (list gdk-pixbuf glib graphene gstreamer gst-plugins-base
+                  gtk pango))
+    (home-page "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs")
+    (synopsis "GStreamer GTK 4 sink element")
+    (description "This package provides GStreamer GTK 4 sink element.")
+    (license license:mpl2.0)))
+
 (define-public rust-gst-plugin-version-helper-0.8
   (package
     (name "rust-gst-plugin-version-helper")