guix-patches
[Top][All Lists]
Advanced

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

[bug#44492] [PATCH v2 22/52] gnu: Add rust-gstreamer-pbutils-sys-0.8.


From: Leo Prikler
Subject: [bug#44492] [PATCH v2 22/52] gnu: Add rust-gstreamer-pbutils-sys-0.8.
Date: Sun, 28 Feb 2021 23:37:42 +0100

* gnu/packages/crates-gtk.scm (rust-gstreamer-pbutils-sys-0.8): New variable.
---
 gnu/packages/crates-gtk.scm | 45 +++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 9f127b3893..3469e4e697 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1171,6 +1171,51 @@ GStreamer.")
     (description "This package provides FFI bindings to libgstbase-1.0.")
     (license license:expat)))
 
+(define-public rust-gstreamer-pbutils-sys-0.8
+  (package
+    (name "rust-gstreamer-pbutils-sys")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-pbutils-sys" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1s4dgmq9ai1jz5w5vllji8087khw7hja97hii4lgl29figkakdsf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+        (("rust-glib-sys" ,rust-glib-sys-0.9)
+         ("rust-gobject-sys" ,rust-gobject-sys-0.9)
+         ("rust-gstreamer-audio-sys"
+          ,rust-gstreamer-audio-sys-0.8)
+         ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8)
+         ("rust-gstreamer-video-sys"
+          ,rust-gstreamer-video-sys-0.8)
+         ("rust-libc" ,rust-libc-0.2)
+         ("rust-pkg-config" ,rust-pkg-config-0.3))
+       #:cargo-development-inputs
+       (("rust-shell-words" ,rust-shell-words-0.1)
+        ("rust-tempfile" ,rust-tempfile-3))
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'pre-check
+           (lambda* (#:key inputs #:allow-other-keys)
+             (setenv "CC" (which "gcc"))
+             #t)))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("glib" ,glib)
+       ("gstreamer" ,gstreamer)
+       ("gst-plugins-base" ,gst-plugins-base)))
+    (home-page "https://gstreamer.freedesktop.org";)
+    (synopsis "FFI bindings to libgstpbutils-1.0")
+    (description "This package provides FFI bindings to libgstpbutils-1.0.")
+    (license license:expat)))
+
 (define-public rust-gstreamer-player-0.15
   (package
     (name "rust-gstreamer-player")
-- 
2.30.1






reply via email to

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