Subject: [bug#69257] [PATCH rust-team v3 63/75] gnu: Add rust-gstreamer-gl-egl-sys-0.21.

From: Herman Rimm <[email-masked]>
Date: Sat, 4 May 2024 13:35:35 +0200

* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-egl-sys-0.21): Add
variable.

Change-Id: I8a57e8c72bef047ec16337109a1a032965fdac42
---
 gnu/packages/crates-gtk.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index f744afdfdb..549d69ea58 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2653,6 +2653,34 @@ (define-public rust-gstreamer-gl-0.21
      "This package provides Rust bindings for GStreamer GL library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gstreamer-gl-egl-sys-0.21
+  (package
+    (name "rust-gstreamer-gl-egl-sys")
+    (version "0.21.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-gl-egl-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0m79m0lbk2s89cm4vc6ckwkgs9khmh2ri7x3gfgmz2hwy2v8hg7f"))))
+    (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 gst-plugins-base gtk))
+    (home-page "https://gstreamer.freedesktop.org")
+    (synopsis "FFI bindings to libgstgl-1.0 (EGL support)")
+    (description
+     "This package provides FFI bindings to libgstgl-1.0 (EGL support).")
+    (license license:expat)))
+
 (define-public rust-gstreamer-gl-sys-0.21
   (package
     (name "rust-gstreamer-gl-sys")
-- 
2.41.0