diff mbox series

[bug#69257,rust-team,v3,66/75] gnu: Add rust-gstreamer-gl-wayland-0.21.

Message ID e0196de608e8a6066c0c1d632ad9139556a4349d.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-gl-wayland-0.21): Add
variable.

Change-Id: Ia8a8f00a5d5b245409c7cf12b4a18b7dca4e87d6
---
 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 fdb3c1fda8..6c4a9c704a 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2743,6 +2743,36 @@  (define-public rust-gstreamer-gl-sys-0.21
     (description "This package provides FFI bindings to libgstgl-1.0.")
     (license license:expat)))
 
+(define-public rust-gstreamer-gl-wayland-0.21
+  (package
+    (name "rust-gstreamer-gl-wayland")
+    (version "0.21.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-gl-wayland" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1zz7as2qlf021dvpy1qs4rbahf94p6jb1msmfsgx08nhyai7dhpy"))))
+    (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-gl" ,rust-gstreamer-gl-0.21)
+        ("rust-gstreamer-gl-wayland-sys" ,rust-gstreamer-gl-wayland-sys-0.21)
+        ("rust-libc" ,rust-libc-0.2))))
+    (native-inputs (list pkg-config))
+    (inputs (list gst-plugins-base mesa))
+    (home-page "https://gstreamer.freedesktop.org")
+    (synopsis "Rust bindings for GStreamer GL library (Wayland support)")
+    (description
+     "This package provides Rust bindings for GStreamer GL library
+(Wayland support).")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gstreamer-gl-wayland-sys-0.21
   (package
     (name "rust-gstreamer-gl-wayland-sys")