summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:21:21 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:39:44 +0300
commit29aa50b7c3448470025deaf333a995025581ebad (patch)
tree32f5e3b3d88f0d90cc9c6089b1dd78225f88b064
parent0579cd4e74b8c063d310e140cc98cd0178d798df (diff)
downloadguix-29aa50b7c3448470025deaf333a995025581ebad.tar.gz
gnu: Add rust-gstreamer-audio-0.18.
* gnu/packages/crates-gtk.scm (rust-gstreamer-audio-0.18): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Ib8db2c80c3903b65e489bf0534eb6b9b73fc9c3b
-rw-r--r--gnu/packages/crates-gtk.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 52132c7872..266a513dc2 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1815,6 +1815,38 @@
     (description "FFI bindings to libgstapp-1.0, part of Gstreamer.")
     (license license:expat)))
 
+(define-public rust-gstreamer-audio-0.18
+  (package
+    (name "rust-gstreamer-audio")
+    (version "0.18.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-audio" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zl0bj03rz19qlrm50w7i5sagh0i0p5d8gr7ig1k6k5yd7k47sww"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f  ; https://github.com/gtk-rs/gtk3-rs/issues/768
+       #:cargo-inputs (("rust-array-init" ,rust-array-init-2)
+                       ("rust-bitflags" ,rust-bitflags-1)
+                       ("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-glib" ,rust-glib-0.15)
+                       ("rust-gstreamer" ,rust-gstreamer-0.18)
+                       ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.18)
+                       ("rust-gstreamer-base" ,rust-gstreamer-base-0.18)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-once-cell" ,rust-once-cell-1))
+       #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+                                   ("rust-itertools" ,rust-itertools-0.10))))
+    (native-inputs (list pkg-config))
+    (inputs (list glib gstreamer gst-plugins-base))
+    (home-page "https://gstreamer.freedesktop.org")
+    (synopsis "Rust bindings for the GStreamer Audio library")
+    (description "Rust bindings for the GStreamer Audio library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gstreamer-audio-sys-0.18
   (package
     (name "rust-gstreamer-audio-sys")