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

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Ie2340788703656be323474b2a94b5763ef6d02d4
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-gtk.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index ab2e781447..52132c7872 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1815,6 +1815,37 @@
     (description "FFI bindings to libgstapp-1.0, part of Gstreamer.")
     (license license:expat)))
 
+(define-public rust-gstreamer-audio-sys-0.18
+  (package
+    (name "rust-gstreamer-audio-sys")
+    (version "0.18.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-audio-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0z3xryblh75xp08xyw3m6jfz9azarcvl06dd3psc0n65agxmhhm3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       (list "--release" "--"
+             "--skip=cross_validate_constants_with_c")
+       #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
+                       ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+                       ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18)
+                       ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+                       ("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))
+    (home-page "https://gstreamer.freedesktop.org")
+    (synopsis "FFI bindings to libgstaudio-1.0")
+    (description "FFI bindings to libgstaudio, part of Gstreamer.")
+    (license license:expat)))
+
 (define-public rust-gstreamer-base-0.18
   (package
     (name "rust-gstreamer-base")