guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#74233] [PATCH rust-team v3 02/15] gnu: Add rust-gstreamer-gl-0.21.


From: Aaron Covrig
Subject: [bug#74233] [PATCH rust-team v3 02/15] gnu: Add rust-gstreamer-gl-0.21.
Date: Wed, 4 Dec 2024 19:06:01 -0500

From: Giacomo Leidi <goodoldpaul@autistici.org>

* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-0.21): New variable.
---
 gnu/packages/crates-gtk.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 437dccd11a..49bfd87a5b 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3402,6 +3402,37 @@ (define-public rust-gstreamer-check-sys-0.21
     (description "This package provides FFI bindings to libgstcheck-1.0.")
     (license license:expat)))
 
+(define-public rust-gstreamer-gl-0.21
+  (package
+    (name "rust-gstreamer-gl")
+    (version "0.21.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-gl" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "140vnlxnkq12c8qqgc5i2y9wdz8c8dga25d99021cg16508vkkry"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18)
+                       ("rust-gstreamer" ,rust-gstreamer-0.21)
+                       ("rust-gstreamer-base" ,rust-gstreamer-base-0.21)
+                       ("rust-gstreamer-gl-sys" ,rust-gstreamer-gl-sys-0.21)
+                       ("rust-gstreamer-video" ,rust-gstreamer-video-0.21)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-gir-format-check" 
,rust-gir-format-check-0.1)
+                                   ("rust-serde-json" ,rust-serde-json-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")
+    (description
+     "This package provides Rust bindings for GStreamer GL library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gstreamer-gl-sys-0.21
   (package
     (name "rust-gstreamer-gl-sys")
-- 
2.47.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]