aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-gtk.scm
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2024-11-07 23:21:55 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:23 +0200
commitc8bfbdf4781b706abab28384c37a5f0b5c363386 (patch)
tree9c441d025f9b1a6d1d7da3e0114cdb15fd8f1fec /gnu/packages/crates-gtk.scm
parenta56d45e3ab5e8dd124256db124b9fecd935807fe (diff)
downloadguix-c8bfbdf4781b706abab28384c37a5f0b5c363386.tar.gz
guix-c8bfbdf4781b706abab28384c37a5f0b5c363386.zip
gnu: Add rust-gstreamer-video-sys-0.21.
* gnu/packages/crates-gtk.scm (rust-gstreamer-video-sys-0.21): New variable. Change-Id: I0b05d82f7cf6e4393104e2a46ebe2bda2e628ef1 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-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 64d3ef5cc1..eac8325497 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3116,6 +3116,38 @@
#:cargo-development-inputs `(("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gstreamer-video-sys-0.21
+ (package
+ (name "rust-gstreamer-video-sys")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-video-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vhn7fiibwc2q5h8cjlg44imh8i0xss6nns83r859c76k26k20h3"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Some symbols are missing, i.e. ?GST_VIDEO_FORMAT_A420_12BE?,
+ ;; ?GST_VIDEO_FORMAT_A420_12LE?, ?GST_VIDEO_FORMAT_A420_16BE?
+ ;; and more.
+ `(#: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-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 libgstvideo-1.0")
+ (description "This package provides FFI bindings to libgstvideo-1.0.")
+ (license license:expat)))
+
(define-public rust-gtk-0.14
(package
(name "rust-gtk")