diff mbox series

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

Message ID d53f01bd365379c3ce29016eb5a3e2c1d3101082.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-sys-0.21): New variable.

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

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index b554b9aa4e..109d0a1be8 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3314,6 +3314,38 @@  (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-sys-0.21
+  (package
+    (name "rust-gstreamer-gl-sys")
+    (version "0.21.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-gl-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1kgi8rrlw2qx1p6q9ybk52wxpjn5wscx84lqfg4ng9lr7hdrg06m"))))
+    (build-system cargo-build-system)
+    (arguments
+     ;; error: ?GstGLMixerPadClass? undeclared
+     ;; and others
+     `(#:tests? #f
+       #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+                       ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+                       ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21)
+                       ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+                       ("rust-gstreamer-video-sys" ,rust-gstreamer-video-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")
+    (description "This package provides FFI bindings to libgstgl-1.0.")
+    (license license:expat)))
+
 (define-public rust-gstreamer-pbutils-0.21
   (package
     (name "rust-gstreamer-pbutils")