[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54299] [PATCH 26/27] added rust-wayland-sys@0.29
From: |
Till Robin Zickel |
Subject: |
[bug#54299] [PATCH 26/27] added rust-wayland-sys@0.29 |
Date: |
Tue, 8 Mar 2022 18:31:26 +0100 |
---
gnu/packages/crates-graphics.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 48abc64d62..875435fca9 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -3095,6 +3095,37 @@ (define-public rust-wayland-sys-0.28
crate @code{rust-wayland-client} for usable bindings.")
(license license:expat)))
+(define-public rust-wayland-sys-0.29
+ (package
+ (inherit rust-wayland-sys-0.28)
+ (name "rust-wayland-sys")
+ (version "0.29.4")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1m2jwk5q36jidwbdmdicmi27r9dzi4wanzg3i28nfxc9kbvisd6r"))))
+ (arguments
+ `(#:cargo-inputs (("rust-dlib" ,rust-dlib-0.5) ("rust-lazy-static"
,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-memoffset" ,rust-memoffset-0.6)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-libraries
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((libwayland (assoc-ref inputs "wayland")))
+ (substitute* (find-files "src" "\\.rs$")
+ (("libwayland.*\\.so" shared-lib) (string-append libwayland
+ "/lib/"
+ shared-lib)))
+ #t))))))
+ (inputs (list rust-dlib-0.5 rust-lazy-static-1 rust-libc-0.2
+ rust-pkg-config-0.3 rust-memoffset-0.6))
+ (propagated-inputs (list wayland))))
+
(define-public rust-wayland-sys-0.23
(package
(inherit rust-wayland-sys-0.28)
--
2.34.0
- [bug#54299] [PATCH 13/27] added rust-num-enum@0.5, (continued)
- [bug#54299] [PATCH 15/27] updated rust-glutin-egl-sys@0.1 to 0.1.5, Till Robin Zickel, 2022/03/08
- [bug#54299] [PATCH 17/27] added rust-smithay-client-toolkit@0.15, Till Robin Zickel, 2022/03/08
- [bug#54299] [PATCH 16/27] added rust-raw-window-handle@0.4, Till Robin Zickel, 2022/03/08
- [bug#54299] [PATCH 21/27] added rust-wayland-cursor@0.29, Till Robin Zickel, 2022/03/08
- [bug#54299] [PATCH 25/27] added rust-wayland-server@0.29, Till Robin Zickel, 2022/03/08
- [bug#54299] [PATCH 22/27] added rust-wayland-egl@0.29, Till Robin Zickel, 2022/03/08
- [bug#54299] [PATCH 26/27] added rust-wayland-sys@0.29,
Till Robin Zickel <=
- [bug#54299] [PATCH 27/27] added rust-winit@0.26, Till Robin Zickel, 2022/03/08
- [bug#54299] [PATCH 23/27] added rust-wayland-protocols@0.29, Till Robin Zickel, 2022/03/08
- [bug#54299] [PATCH 24/27] added rust-wayland-scanner@0.29, Till Robin Zickel, 2022/03/08