diff options
author | Giacomo Leidi <goodoldpaul@autistici.org> | 2024-11-07 23:21:48 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:12 +0200 |
commit | b31c9e0bc7a19aa3d44ef8f392b2547d4ea0a772 (patch) | |
tree | a0e7212221561547f5fc8d0dbb617c9c021c7e48 /gnu/packages/crates-gtk.scm | |
parent | 5d4c985a93137edb920a2094881bcca2ccefb261 (diff) | |
download | guix-b31c9e0bc7a19aa3d44ef8f392b2547d4ea0a772.tar.gz guix-b31c9e0bc7a19aa3d44ef8f392b2547d4ea0a772.zip |
gnu: Add rust-gstreamer-sys-0.21.
* gnu/packages/crates-gtk.scm (rust-gstreamer-sys-0.21): New variable;
(rust-gstreamer-sys-0.18): inherit from rust-gstreamer-sys-0.21.
Change-Id: Id35ab854edc7c7007ad1f92105a8107a2a7b43c6
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index d2c7d12fcd..5174c0689b 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2981,21 +2981,24 @@ (description "FFI bindings to libgstbase-1.0, part of GStreamer.") (license license:expat))) -(define-public rust-gstreamer-sys-0.18 +(define-public rust-gstreamer-sys-0.21 (package (name "rust-gstreamer-sys") - (version "0.18.0") + (version "0.21.2") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1qikgp5m3xj41fbfyfl6ckb5i8dxadfvlvj5bf8girn2sdjpllg3")))) + "1i1vrqs9ys5y0ljl4nxh1x25dnwlcyh9hiybh4dysviy5dwdlk2n")))) (build-system cargo-build-system) (arguments - (list #:cargo-inputs `(("rust-glib-sys" ,rust-glib-sys-0.15) - ("rust-gobject-sys" ,rust-gobject-sys-0.15) + (list #:tests? #f ;; tests/constant.c:193:20: error: + ;; ?GST_ELEMENT_FACTORY_TYPE_TIMESTAMPER? undeclared (first use in this function); + ;; did you mean ?GST_ELEMENT_FACTORY_TYPE_MUXER?? + #:cargo-inputs `(("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gobject-sys" ,rust-gobject-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) @@ -3008,6 +3011,26 @@ "Foreign Function Interface (FFI) bindings to libgstreamer-1.0.") (license license:expat))) +(define-public rust-gstreamer-sys-0.18 + (package + (inherit rust-gstreamer-sys-0.21) + (name "rust-gstreamer-sys") + (version "0.18.0") + (source (origin + (method url-fetch) + (uri (crate-uri "gstreamer-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1qikgp5m3xj41fbfyfl6ckb5i8dxadfvlvj5bf8girn2sdjpllg3")))) + (arguments + (list #:cargo-inputs `(("rust-glib-sys" ,rust-glib-sys-0.15) + ("rust-gobject-sys" ,rust-gobject-sys-0.15) + ("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)))))) + (define-public rust-gtk-0.14 (package (name "rust-gtk") |