diff mbox series

[bug#74233,PATCHv2,rust-team,32/40] gnu: Add rust-gstreamer-gl-wayland-0.21.

Message ID 357a65d0914e83427c7d8a2b076835ae646cc561.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-gstreamer-gl-wayland-0.21): New variable.

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

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 22e43b1eb3..d93f326037 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3461,6 +3461,33 @@  (define-public rust-gstreamer-gl-egl-sys-0.21
      "This package provides FFI bindings to libgstgl-1.0 (EGL support).")
     (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-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))
+       #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+    (native-inputs (list pkg-config))
+    (inputs (list glib gstreamer 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")