diff mbox series

[bug#74233,PATCHv2,rust-team,33/40] gnu: Add rust-gstreamer-gl-x11-sys.

Message ID 85312a1abfcd5924c63f2d7183ce8860d039956b.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-x11-sys): New variable.

Change-Id: I6f3b19f658e24b6bb6a4821823405b089776b827
---
 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 d93f326037..d68471e589 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3515,6 +3515,33 @@  (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-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))
+       #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+                                   ("rust-tempfile" ,rust-tempfile-3))))
+    (native-inputs (list pkg-config))
+    (inputs (list glib gstreamer 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")