From 93d45b8a0747d247fcb7e5dfef4417d0d5b0a26a Mon Sep 17 00:00:00 2001 From: Steve George Date: Mon, 23 Oct 2023 23:21:17 +0100 Subject: [PATCH] gnu: Add rust-gstreamer-app-sys-0.18. * gnu/packages/crates-gtk.scm (rust-gstreamer-app-sys-0.18): New variable. Signed-off-by: Efraim Flashner Change-Id: I65b08059a273efa35e6e8c5ad9fd7d1e0eaee79b --- gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 41233ab1d5..afa8c33f3d 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1755,6 +1755,33 @@ (define-public rust-gstreamer-0.18 (description "Rust bindings for GStreamer.") (license (list license:expat license:asl2.0)))) +(define-public rust-gstreamer-app-sys-0.18 + (package + (name "rust-gstreamer-app-sys") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-app-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fsgdb3b23s45xc7s06xw96x7avza0jpyj02x1fkw6vk3pr03d63")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-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 libgstapp-1.0") + (description "FFI bindings to libgstapp-1.0, part of Gstreamer.") + (license license:expat))) + (define-public rust-gstreamer-base-0.18 (package (name "rust-gstreamer-base")