diff mbox series

[bug#69257,rust-team,v3,67/75] gnu: Add rust-gstreamer-gl-x11-sys-0.21.

Message ID b116c8b8587e4c3ce7bf519963ec7ca8c5ce02ce.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-x11-sys-0.21): Add
variable.

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

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 6c4a9c704a..125b2534c0 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2802,6 +2802,35 @@  (define-public rust-gstreamer-gl-wayland-sys-0.21
      "This package provides FFI bindings to libgstgl-1.0 (Wayland support).")
     (license license:expat)))
 
+(define-public rust-gstreamer-gl-x11-sys-0.21
+  (package
+    (name "rust-gstreamer-gl-x11-sys")
+    (version "0.21.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-gl-x11-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1p5wdrn3h55jx15963z1wnk7whwplpjfymy5yjsmkqdrqw1yz6n4"))))
+    (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-gstreamer-gl-sys" ,rust-gstreamer-gl-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-base mesa))
+    (home-page "https://gstreamer.freedesktop.org")
+    (synopsis "FFI bindings to libgstgl-1.0 (X11 support)")
+    (description
+     "This package provides FFI bindings to libgstgl-1.0 (X11 support).")
+    (license license:expat)))
+
 (define-public rust-gstreamer-pbutils-0.21
   (package
     (name "rust-gstreamer-pbutils")