efraim pushed a commit to branch rust-team
in repository guix.

commit 6aebd47d9df1976fd02dd150d099a4148feb109a
Author: Giacomo Leidi <[email protected]>
AuthorDate: Thu Nov 7 23:22:19 2024 +0100

    gnu: Add rust-gstreamer-gl-x11-0.21.
    
    * gnu/packages/crates-gtk.scm (rust-gstreamer-gl-x11-0.21): New variable.
    
    Change-Id: I6f7be9de31ece838efa2cfd3dc2a770720a688bb
    Signed-off-by: Efraim Flashner <[email protected]>
---
 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 e1d96ad003..5023d1797e 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3605,6 +3605,34 @@
      "This package provides FFI bindings to libgstgl-1.0 (Wayland support).")
     (license license:expat)))
 
+(define-public rust-gstreamer-gl-x11-0.21
+  (package
+    (name "rust-gstreamer-gl-x11")
+    (version "0.21.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-gl-x11" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zgn5aih3bcz3ci3xkdpc2jzxrxiz1hdpkwq121w5ln96ag1n0np"))))
+    (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-x11-sys" 
,rust-gstreamer-gl-x11-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 (X11 support)")
+    (description
+     "This package provides Rust bindings for GStreamer GL library (X11 
support).")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gstreamer-gl-x11-sys-0.21
   (package
     (name "rust-gstreamer-gl-x11-sys")

Reply via email to