[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#44492] [PATCH v4 12/47] gnu: Add rust-gstreamer-sys-0.8.
From: |
Leo Prikler |
Subject: |
[bug#44492] [PATCH v4 12/47] gnu: Add rust-gstreamer-sys-0.8. |
Date: |
Thu, 11 Mar 2021 23:07:21 +0100 |
* gnu/packages/crates-gtk.scm (rust-gstreamer-sys-0.8): New variable.
---
gnu/packages/crates-gtk.scm | 41 +++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 5d66ed1c13..41cbe597db 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -27,6 +27,7 @@
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-graphics)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages gstreamer)
#:use-module (gnu packages gtk)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages xorg))
@@ -997,6 +998,46 @@
checking library.")
(license license:gpl3+)))
+(define-public rust-gstreamer-sys-0.8
+ (package
+ (name "rust-gstreamer-sys")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1nsk802vlcyi9p93sg60wv8fzb2mq7j52lfdda4va2kxp40xl60x"))))
+ (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-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 GStreamer")
+ (description "This package provides FFI bindings to libgstreamer-1.0.")
+ (license license:expat)))
+
(define-public rust-gtk-0.8
(package
(name "rust-gtk")
--
2.30.1
- [bug#44492] [PATCH v4 01/47] gnu: Add rust-ruma-identifiers-validation-0.1., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 03/47] gnu: Add rust-ruma-identifiers-0.17., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 02/47] gnu: Add rust-ruma-identifiers-macros-0.17., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 04/47] gnu: Add rust-entities-1., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 05/47] gnu: Add rust-twoway-0.2., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 06/47] gnu: Add rust-comrak-0.7., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 08/47] gnu: rust-either-1: Update to 1.6.1., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 07/47] gnu: Add rust-fragile-1., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 09/47] gnu: Add rust-gspell-sys-0.4., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 12/47] gnu: Add rust-gstreamer-sys-0.8.,
Leo Prikler <=
- [bug#44492] [PATCH v4 11/47] gnu: Add rust-muldiv-0.2., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 16/47] gnu: Add rust-gstreamer-player-sys-0.8., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 28/47] gnu: Add rust-letter-avatar-1., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 26/47] gnu: Add rust-pangocairo-sys-0.11., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 14/47] gnu: Add rust-gstreamer-base-sys-0.8., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 18/47] gnu: Add rust-gstreamer-video-0.15., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 23/47] gnu: Add rust-markup5ever-rcdom-0.1., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 25/47] gnu: Add rust-html2pango-0.3., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 37/47] gnu: Add rust-aes-0.6., Leo Prikler, 2021/03/11
- [bug#44492] [PATCH v4 20/47] gnu: Add rust-gstreamer-audio-sys-0.8., Leo Prikler, 2021/03/11